Thursday, 19 September 2013

ZSAPLINK Program Usage


ZSAPLINK program facilitates us to import/export object/objects from one server to another server, in the form of file with extension type (.nugg/.slnk)

Suppose you want to move some of the objects (Programs/Class/Data Element /Domain/ Index/ Tables/View…) in one server say DEV1 to another server say DEV2 then you can easily accomplish this task with the help of ZSAPLINK program without wasting your time in copy and pasting each object from source to destination J

You can download the latest version of the SAPlink installer zip file from the saplink website https://www.assembla.com/spaces/saplink/documents and after successful implementation you must have the following classes in Class builder (SE24) along with the main program ZSAPLINK in ABAP editor (SE38).

  • ZSAPLINK
  • ZCX_SAPLINK                     
  • ZSAPLINK_CLASS               
  • ZSAPLINK_DATA_ELEMENTS       
  • ZSAPLINK_DOMAINS
  • ZSAPLINK_FUNCTIONGROUP             
  • ZSAPLINK_INDEX               
  • ZSAPLINK_LOCK_OBJECTS        
  • ZSAPLINK_NUGGET               
  • ZSAPLINK_PROGRAM             
  • ZSAPLINK_SEARCH_HELPS        
  • ZSAPLINK_TABLE_TECH_SETTINGS 
  • ZSAPLINK_TABLE_TYPES         
  • ZSAPLINK_TABLES              
  • ZSAPLINK_VIEW_TECH_SETTINGS  
  • ZSAPLINK_VIEWS               
  • ZSAPLINK_WD_APPLICATION      
  • ZSAPLINK_WD_COMPONENT        
  • ZSAPLINK_WD_CONFIG_APPL      
  • ZSAPLINK_WD_CONFIG_COMP


1. Points to Remember: 
  • In order to export/import both the systems (Source/Destination) must have ZSAPLINK program.
  • By default objects will be in ‘Inactive’ state after importing to destination server.
  • Manually we need to activate the imported objects.
  • By default imported objects will be in $TMP folder.


2. Definitions:

Nuggets: Nuggets enable multiple objects to be imported/exported in one file (.nugg).
Slinkee: A Slinkee enables single objects to be imported or exported in one file (.slnk).  

3. Program Flow:

The below screen appears when you execute the ZSAPLINK program with two tabs Nugget and Slinkee.




3.1 Using Nuggets: 

Consider the scenario wherein we have to export the objects from source and import the same to destination. 

3.1.1 Exporting Objects:

1. First we have to create a nugget file before adding the objects.  Select Create New Nugget and provide the nugget name and execute.


2. Provide the Save location for the file. By default file name will be <NUGG>Given Name.nugg
3. If you want to add single object then select ‘Add Object to Nugget’.
4. If you want to add multiple objects belonging to same package then select ‘Add Objects from a Package’.

3.1.1 (a) Adding Objects From a Transport:

1. Select ‘Add Objects from a Transport’ and provide the Transport Number and Nugget File Name and execute.


2. You will see the below screen click on continue.




3.1.2 Displaying nugget

After adding Objects to Nugget if you want to see what are all the objects added to the Nugget, Click on Display Nugget and provide the file name then execute. All the objects included in the Nugget will be displayed.




3.1.3 Importing Objects:

1. Select Import Nugget and provide the Nugget file Name and execute.


2. Check the Overwrite Originals if u want to replace the existing object with the new object and execute. Below confirmation screens will be displayed.




3.2 Using Slinkee:


Consider the scenario wherein we have to export an object from source and import the same to destination.

3.2.1 Exporting an Object:

1. Click on export object to Slinkee. Select the Object type and provide the Object name that you want to export and execute.


2. Provide the Save location for the file. By default file name will be <Object Type>_Object Name.slnk , Then you will see the below pop up.



3.2.2 Importing an Object:

1. Select import Slinkee and provide the Slinkee file Name.


2. Check the Overwrite Originals if u want to replace the existing object with the new object and execute. You will find the below confirmation screen.






References:




1 comment: