Professional Documents
Culture Documents
How To Do ABAP Nugget Based Code Migration
How To Do ABAP Nugget Based Code Migration
Applies to:
SAP ABAP Netweaver, Transport and Migration.
Summary
SAPlink is a project that aims to make it easier to share ABAP developments between programmers. It
provides the ability to easily distribute and package custom objects
More details can be found on the original wiki maintained by Edward Hermann and Gregor Wolf.
Author:
Ravi Sharma
Author Bio
Ravi Sharma is a Development Architect and solution Architect working for C2C
consulting in Germany. His current Tasks: Duet Enterprise For Microsoft SharePoint and
SAP, SAP NetWeaver Gateway and iPhone / Android Apps, SAP ESOA Tools & Utilities
SAP IDM & GRC Integration. Knowledge of SAP ABAP, Cross Applications, ALE/IDOC,
RFC's qRFC, tRFC, BADI, OOP's Concepts, CCMS and Solution Manager, SAP RFID,
SAP Dynpro, SAP ABAP Webdynpro, SAP Net weaver, DUET 1.5, ABAP and Java Web
services.
Table of Contents
Original updated information can be found at following wiki .............................................................................. 3
ABAP basis versions compatible with SAPlink:-................................................................................................. 3
How to install latest version of SAPlink .............................................................................................................. 3
Plugins............................................................................................................................................................. 4
Upgrade .............................................................................................................................................................. 4
Usage ............................................................................................................................................................... 4
Slinkee ............................................................................................................................................................... 4
Import Object................................................................................................................................................... 4
Export Object .................................................................................................................................................. 5
Nuggets............................................................................................................................................................... 5
Importing Nugget ............................................................................................................................................. 5
Create New Nugget ............................................................................................................................................ 5
Exporting/Adding Objects to Existing Nugget ................................................................................................. 5
Display Objects in Nugget ............................................................................................................................... 6
Related Content .................................................................................................................................................. 7
Copyright............................................................................................................................................................. 8
ABAP basis versions compatible with SAPlink:ABAP basis versions compatible with SAPlink include:
6.20
6.40(Net weaver 2004)
7.0(Net weaver 2004s)
Plugins
To see a list of installed Plugins, use the F4 value help in the selection parameter field for "Object
Type" from ZSAPLINK->Object Tab->Export Object->Object Type. Additional Plugins can be
downloaded from the SAPlink Project page and imported/installed using SAPlink. A Plugin can be
delivered via a Slinkee or a Nugget. Follow normal usage instructions below for the Plugin file
accordingly.
If no Plugin is available for the object type needed, we need your help. If you are a gracious soul and
willing to give back to the community as a Plugin developer, go to the SAPlink Group and let us
know. Developer documentation is available on the SAPlink documentation page.
Upgrade
1. Download the latest version of SAPlink or any of the SAPlink Plugins from the SAPlink Project page
2. Unless otherwise stated, you can use your existing version of SAPlink to upgrade itself or any of its
Plugins. Use the downloaded Slinkee or nugget file according to the normal usage instructions below
Usage
To execute SAPlink, use program ZSAPLINK. If you do not know which SAP transaction to use to
run this program from, you don't need to be running SAPlink anyway. Please go find and bribe a
developer to help you before proceeding.
There are two types of files that can be imported or exported using SAPlink, either a Slinkee file
(.slnk) or a Nugget file (.nugg). Both filetypes contain XML representation of the objects to be
installed. They can be read using any XML reader, a text editor, or some compatible browsers
(confirmed using Firefox).
Slinkee
A Slinkee file(.slnk) is used for single objects to be imported or exported. Slinkee are very quick and easy to
use and recommended for single object collaboration. They can be imported and exported from the "Object"
tab
Import Object
1. Select radio button "Import Object"
2. Use the Slinkee file containing the object to be imported in the selection parameter "SAPlink File
Name"
3. WARNING: Using checkbox "Overwrite Originals", will overwrite any existing object with the same
type and name on the target system. Be sure you know
4. Execute
5. Newly installed objects need to be activated manually, as all objects are installed as local and
inactive
Export Object
1. Select radio button "Export Object"
2. Enter the name of the object to be exported for the selection parameter "Object Name". Your object
name should be somewhat unique. Remember that you will be sharing your objects with other
developers and they probably already have a program called ZFoo, ZMyTest, or ZINeedARaise. An
object that is not unique for that object type, will have to be overwritten in order to be installed on the
target system
3. In the "Object Type" selection parameter, use the F4 value help selection to
1. See a list of installed Plugins and their compatible object types
2. Enter the R3TR type of the object to be exported for the selection parameter "Object Type"
4. Execute and save file to local machine when prompted. To meet standards for object collaboration, it
is recommended, yet not technically required to use the suggested default file name
Nuggets
SAPlink nuggets is the SAPlink packaging system that enables multiple objects to be imported/exported in
one handy dandy file(.nugg). Nuggets can be imported, created, and displayed from the "Nugget" tab
Importing Nugget
1. Select radio button "Import Nugget"
2. Use the Nugget file containing the objects to be imported in the selection parameter "Nugget File
Name"
3. WARNING: Using checkbox "Overwrite Originals", will overwrite any existing object with the same
type and name on the target system. Be sure you know
4. Execute
5. Newly installed objects need to be activated manually, as all objects are installed as local and
inactive
6. To see a list of all objects in a nugget, use the option to "Display Objects in Nugget"
Use this while building or before installing a Nugget to see what you've got in there, simply point it at
the File Name of a Nugget on your local machine to see the list
Related Content
https://cw.sdn.sap.com/cw/groups/saplink
http://wiki.sdn.sap.com/wiki/display/ABAP/SAPlink+User+Documentation
Copyright
Copyright 2012 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG.
The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9,
iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server,
PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes,
BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX,
Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems
Incorporated in the United States and/or other countries.
Oracle is a registered trademark of Oracle Corporation.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of
Citrix Systems, Inc.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts
Institute of Technology.
Java is a registered trademark of Oracle Corporation.
JavaScript is a registered trademark of Oracle Corporation, used under license for technology invented and implemented by Netscape.
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned
herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.
Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and
other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered
trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company.
All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document
serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP
Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or
omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the
express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an
additional warranty.