This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
This document applies to SAP ECC 6.0, SAP NetWeaver 2004s. For more information, visit the Web Dynpro ABAP homepage.
Summary
This article provides a step by step guide for importing and exporting of a WebDynpro ABAP component with a simple example.
Author : Aisurya Kumar Puhan
Company : Incture Technologies Pvt Ltd.
Created on : 30 August 2011
Author Bio
Aisurya Kumar Puhan is working as SAP NetWeaver Consultant in Incture Technologies Pvt Ltd .He has around 3 years of experience in SAP ABAP, including 1 year in WebDynpro ABAP development.
Step 3. Save , check and activate . ................................................................................................................. 5
Step 4. Execution of installer program. .......................................................................................................... 5
Step 5 . Installation of SAPLINK nugget ......................................................................................................... 6
Step 6. Execution of nugget ............................................................................................................................ 6
Step 7.Activation of the installed classes ....................................................................................................... 7
Step 8. Execution of ZSAPLINK program. ..................................................................................................... 7
Step 9. Installation of DDIC plug-in. ............................................................................................................... 8
Step 10. Installation of WebDynpro plug-in.................................................................................................... 9
Step 11 . Example with demo scenario. ........................................................................................................ 10
Step 12 . Export objects to local system. ...................................................................................................... 11 a) Create new nugget ................................................................................................................................................ 11
b) Add objects to nugget ............................................................................................................................................ 12
c) Download of Adobe form and interface object. ...................................................................................................... 13
Step 13 . Import objects from local system. .................................................................................................. 16 a) Import nugget file ................................................................................................................................................... 16
b) Import form and interface file. ................................................................................................................................ 16
Step 14. Test the WebDynpro component. ................................................................................................... 19
Related Content ................................................................................................................................................ 20
Disclaimer and Liability Notice .......................................................................................................................... 21
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
This article provides a step by step guide for exporting a WebDynpro ABAP component to local system as well as importing from local computer.
We can import/export many things like DDIC objects, programs, classes, interface even if MIME objects also. It can also be send across mail.
Scenario
Exporting and importing of a WebDynpro ABAP component, which takes the input of sales document no from a WD view and displays the corresponding item data in an Adobe form according to our business logic
Prerequisites
Download the following objects.
SAPlink_install-0.1.4.zip or SAPlink_install-0.1.5alpha.zip
Scenario: I am having a WebDynpro component which takes the input of sales document no from a WD view and displays the corresponding item data in an Adobe form according to our business logic
. Objects used
WebDynpro component ZDEMO_ADOBE_INTERACTIVE
Structure ZDEMO_STRUCTURE
Table Type ZDEMO_TABLE_TYPE
Adode form ZDEMO_ADOBE_FORM
Interface ZDEMO_INTERFACE
Testing of WD component
After entering the Sales document no, when we click show we get the item data according to our logic. Here only 4 fields are taken for demo purpose.
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
Run the ZSAPLINK program, create a nugget file and add the required objects(listed above) in it and execute it. Create new nugget , enter a nugget name and execute.
Give the path to save the file, and save.
If SAP GUI security prompts , select “Always allow” from dropdown box.
Now the nugget file is created in the specified path.
The file name is “NUGG_DEMO_NUGG.nugg”. it adds NUGG to the nugget name(DEMO_NUGG).
3
1
2
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
Now we have all the objects in our local system , we can send across mail.
Nugg and XML Objects
NUGG_DEMO_NUGG.nugg
ZDEMO_ADOBE_INTERACTIVE
ZDEMO_STRUCTURE
ZDEMO_TABLE_TYPE
SFPF_ZDEMO_ADOBE_FORM.XML ZDEMO_ADOBE_FORM
SFPI_ZDEMO_INTERFACE.XML ZDEMO_INTERFACE
Now we can import it in any system , with the help of ZSAPLINK program.
Though I don’t have another SAP system to import, we will do it in the same system.Before starting, i have deleted all the above objects from my system..
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BA - boc.sap.com | UAC - uac.sap.com
This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.