Home > SAP Tips > ABAP/Java developer tips > ABAP for newbies: Exporting development objects from SP8
SAP Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ABAP/JAVA DEVELOPER TIPS

ABAP for newbies: Exporting development objects from SP8


Manfred Lutz
07.13.2007
Rating: -5.00- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



The last part of this series was about the CTS (Change and Transport System), where you got a brief overview of the transport mechanism on the ABAP Application Server. This tip explains what you have to do to get a package with your development objects out of a system. For our purposes, exporting a package means to get it out of the ABAP universe to the installation level.

Let's assume that you have created some programs or Web Dynpro components in the old (SP8) Trial Version and you want to upgrade the Trial Version to SP11. You use the transport system to save your programs and components and make them availiable in the new system.

You first need to set up the Transport System for the export.

On the installation level, the 'SAP' directory must be shared to the 'System' user. Open the MS Explorer, select the 'SAP' directory and choose 'Sharing and Security...' from the context menu. Select the 'Share this folder' option, and enter 'sapmnt' as the share name.



Choose 'Permissions'.
Add a new user 'SYSTEM' with full control.



Choose 'Apply' and then 'OK'.

Now the changes on installation level are complete. To set up the transport environment, you need to start the Transport Managment System (Transaction STMS).



Choose 'System Overview' (red rectangle) and select 'CL5' from the table. Open the context menu, and choose 'Extras'. Then, choose 'Distribute and Activate Configuration'.





Leave the distribution options as the default. Choose 'Enter'.

After you have successfully distributed the transport environment, there are two files in the 'bin' directory of the 'trans' tree on the installation level. These files are required by the RFC (Remote Function Call) to retrieve information about the receiver side.



The tree should look like this. Now the setup of transport system is complete.

In our example, we assume that there is a development object 'Z_MY_QUIZ' in an old Trial Version (SP8) that you need to migrate to the new Trial Version (SP11), since you can have only one ABAP Trial Version on your PC. This object is a copy of the 'WDT_QUIZ' Web Dynpro ABAP component in the Trial Version.

To export an object, it must belong to a package.
How to create a package is shown in the previous tip in this series. The package for migration in this tip is 'Z_MY_PACKAGE'.

Let's assume that the object you want to migrate is created as a local object. (new users do not normally concern themselves with packages and workbench orders.)
You first need to reassign the object to a package. Go to the ABAP workbench (SE80) and select the component you want to reassign.



This would be the right way to reassign the object, but be careful: there is a bug in the current version. Mime objects will not be written to the export. For that you need to copy the component to a new object that is related to a package.



Choose ENTER.



The system prompts you with the workbench request to create the package. This request will comprise all the objects from the package, and will be the basis of the transport.

Choose ENTER.



SAVE.
There may be another dialog step - confirm this in the same way.

Now the package Z_MY_PACKAGE which contains all the objects in the Web Dynpro Component/Application Z_MY_QUIZ is linked to the workbench order NSPK900044. In the following steps, this order and the related tasks will be released.
Open the transport organizer (transaction SE09). You will find the virtual system 'CL5' as the destination of our transport.



Select the correction (NSPK900045) for our workbench order, and click the truck icon in the menu bar. This releases the correction. A released correction cannot be changed. To release a workbench order, all the related corrections must be released first. After releasing the correction, an OK icon appears right to the correction.



You process the workbench order in the same way. Place the cursor on the workbench order and click the truck icon in the menu bar. This starts the physical transport.



To find out when the transport is finished, you will have to refresh a couple of times.



Now the transport is complete. On the level of the intallation, there is data written to two files.
The 'cofiles' directory contains the header information in a file beginning with 'K' followed by the workbench order number and ended with the system ID.



The transport data can be found in the 'data' directory beginning with 'R' followed by the workbench order number and ended with the system ID.



These two files can be copied to the corresponding directories in any other SAP system in order to be imported. This will be the topic of the next tip.

Manfred Lutz is in Netweaver Product Management with focus on Application Servers.


This content is reposted from the SAP Developer Network.
Copyright 2007, SAP Developer Network


SAP Developer Network (SDN) is an active online community where ABAP, Java, .NET, and other cutting-edge technologies converge to form a resource and collaboration channel for SAP developers, consultants, integrators, and business analysts. SDN hosts a technical library, expert blogs, exclusive downloads and code samples, an extensive eLearning catalog, and active, moderated discussion forums. SDN membership is free.

Want to read more from this author? Click here to read Manfred Lutz's Weblog. Click here to read more about ABAP on the SDN.



Rate this Tip
To rate tips, you must be a member of SearchSAP.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
ABAP/Java developer tips
Select Text fields: Case-insensitive
Finding BADIs you can use
Is this the quickest way to find a BADI?
ABAP Objects in SAP Workflow to provide improved performance
Easily debug error messages in SAP processes
Accessing private attributes in ABAP Objects
Find a BADI in a minute
Top 10 SAP tips of 2007
How to transport an SAP query in R/3 4.6x
How to switch off message determination in BAPI_PO_CREATE1

SAP ABAP
Is SAP BI knowledge advantageous to an ABAP user?
An ABAP user wants to learn XI
Select Text fields: Case-insensitive
Finding BADIs you can use
Is ABAP knowledge necessary for SAP BI?
Quiz: SAP ABAP development
Is this the quickest way to find a BADI?
ABAP Objects in SAP Workflow to provide improved performance
Easily debug error messages in SAP processes
Accessing private attributes in ABAP Objects
SAP ABAP Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
ABAP  (SearchSAP.com)
ABAP Objects  (SearchSAP.com)
ABAP Workbench  (SearchSAP.com)
BAPI  (SearchSAP.com)
CATT  (SearchSAP.com)
R/3 Repository  (SearchSAP.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsBlogsTipsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts