Documente Academic
Documente Profesional
Documente Cultură
Applies to:
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 Company : : Aisurya Kumar Puhan Incture Technologies Pvt Ltd. 30 August 2011
Created on :
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 by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
Table of Contents
Introduction ......................................................................................................................................................... 3 Scenario .............................................................................................................................................................. 3 Prerequisites ....................................................................................................................................................... 3 Step by Step Guide ............................................................................................................................................. 4 Step 1 . Create a report program for installing the main Saplink file. ............................................................ 4 Step 2. Install zsaplink_installer ............................................................................................................... 5 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 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
Introduction
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 Plug-in list.
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
Step 2. Install zsaplink_installer Open the zsaplink_installer.txt which is downloaded , copy all using ctrl+A and paste in the program.
Step 3. Save , check and activate . Save , check and activate it which we all know better.. Step 4. Execution of installer program. Execute the program.
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
Step 5 . Installation of SAPLINK nugget Now locate the file NUGG_SAPLINK-0.1.4.nugg or NUGG_SAPLINK.nuggin F4 help for installation Nugget which u have already downloaded from SAPlink.
Note : Check the file name,be sure for the full file name as shown below..
Step 6. Execution of nugget Execute it. If it asks for package give the package which u have created or else save it in Local package. Hint : It will be easier to find the installed objects if it is saved in some package .
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
Step 7.Activation of the installed classes Activate all the class and the program.
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
Step 9. Installation of DDIC plug-in. Locate the DDIC plug-in file NUGG_SAPLINK_DDIC-0.1.0.nugg and execute the program.
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
Step 10. Installation of WebDynpro plug-in. Locate the WD plug-in file NUGG_ABAP_WEB_DYNPRO-0.1.0.nugg and execute the program.
Now we are to import / export our WD component. Lets start with a simple example with some scenario.
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
Step 11 . Example with demo scenario. 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
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
Step 12 . Export objects to local system. a) Create new nugget 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.
3 1
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).
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
b) Add objects to nugget WebDynpro component First add the WD component to the nugget file.
2 3
Object type : WDYN , it is the object type for WebDynpro component. Object name : ZDEMO_ADOBE_INTERACTIVE , WD component name Nugget file name : Locate the NUGG_DEMO_NUGG.nugg which we have created in previous step. After filling all the fields , execute it.
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
c) Download of Adobe form and interface object. For Adobe form and interface we have to download the objects from SFP transaction.
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
Interface
Save it.
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
Now we have all the objects in our local system , we can send across mail.
Objects ZDEMO_ADOBE_INTERACTIVE
NUGG_DEMO_NUGG.nugg
ZDEMO_STRUCTURE ZDEMO_TABLE_TYPE
SFPF_ZDEMO_ADOBE_FORM.XML SFPI_ZDEMO_INTERFACE.XML
ZDEMO_ADOBE_FORM ZDEMO_INTERFACE
Now we can import it in any system , with the help of ZSAPLINK program. Though I dont 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
Step 13 . Import objects from local system. Run ZSAPLINK program, first import the nugget file i.e NUGG_DEMO_NUGG.nugg. a) Import nugget file
3 1
Activate all the installed objects. b) Import form and interface file.
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
Interface Enter the interface name: ZDEMO_INTERFACE , and click uploading from object.
2 1
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
Form Enter the form name: ZDEMO_ADOBE_FORM , and click uploading from object.
2 1
Activate the interface first and then form. Now all the objects are installed and activated, and here we go.
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
Step 14. Test the WebDynpro component. Create an WD application for the component , because we have not exported the application. Save and test. Working fine.. Output
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager
Related Content
Saplink Adobe Forms: The First Step Creating a Print Form in ABAP For more information Visit Web Dynpro ABAP homepage.
Step by Step Guide for Import and Export of a WebDynpro ABAP Component without Transport Manager