Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

assign objects to a package

former_member355261
Participant
0 Likes
3,385

Hello,

I want to transport a program from a system to another using saplink.

The problem is that there is many objects used in that program like tables ans classes ...

So I want to know how I can assign all the objects used in that program to a particular package, and then I will transport all the objects of the package using saplink.

Thanks in advance.

9 REPLIES 9
Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
2,559

It depends if the objects are created by you or you are using standard objects(tables) in your program.

If you use standard tables they should already be available in the system, obviously it depends on the system release.

For custom objects you can change the package using SE03 transaction.

Read only

0 Likes
2,558

Hi,

I'm talking about custom objects.

The problem is that I don't know all the objects used in that program, there are many ! I need a way to identify all the objects used in the program and assign them automatically to a package.

Read only

former_member218424
Participant
0 Likes
2,558

go to se80 open your program . it will show you the hierarchy of the objects used in your program..

select object -> right click on it -> select other functions -> and select change package assignment..

This way you can change package ..

Read only

0 Likes
2,558

Hi,

In se80 I can only get the includes and the screens and the local variables ...

I can't get the objects used like DDIC objects or classes ...

Read only

0 Likes
2,558

Hi Occoro,

Can you share your SE80 screenshots.Make sure you are opening the main program in se80.

Regards,

Kannan

Read only

0 Likes
2,558

Hi Kannan,

Here is a screenshot of what I get in se80 :

In "Dictionary Structures" for example, I get only the name of the standard tables not the custom ones, and I don't see the classes, data elements, domains, ...

Read only

0 Likes
2,558

Hi Occoro,

Since it is in Dev system, If the objects are more which need to be re-assigned to different package. You can prefer TADIR Table also.

Change the Package name of all the relevant objects in TADIR-DEVCLASS in single short.

Pass the TR number to E071 table and get all the objects and pass the objects to TADIR table and change the DEVCLASS value using debugging.

Hope it works

Regards

Rajkumar Narasimman

Read only

Former Member
0 Likes
2,558

Hi Occoro,

You can make use of the SE80 features.Click on the Ctlrl+Shift+F5.All the coresponding objects used in the programs will be listed.

Do a right click on the program name and choose other functions and Click on package assignment.

Once all objects are assigned to the package you can make use of nuggets for the import.

http://wiki.scn.sap.com/wiki/display/ABAP/SAPlink+User+Documentation?original_fqdn=wiki.sdn.sap.com

Hope it helps.

Regards,

Kannan

Read only

Former Member
0 Likes
2,558

Hi Occoro,

You should understand that using SAPLINK is not the same as doing a transport.  I don't recommend that you should change package assignments for objects just because you want to include them in a SAPLINK package.  Better to just identify those objects and add them individually to the SAPLINK.

If you search for a document named "ABAP cross system object recursive dependencies check with transport" written by Nuno Morais, he gives the source code for a program that can identify all the objects that your program requires.

Jim