Application Development 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: 

Package Copy - URGENT

Former Member
0 Kudos

Hi.

Can anyone please guide me of how to copy the ALL THE CONTENTS OF Package A to Package B.

i dont want to ASSIGN. But to copy ALL CONTENTS so that both Package have the same object.

Eg: Package A.

Table

Program

Package B

Table

Program

Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Go to Tcode: SM30, enter TADIR and maintain

from this screen you can do it.

Thanks,

7 REPLIES 7

Former Member
0 Kudos

Go to Tcode: SM30, enter TADIR and maintain

from this screen you can do it.

Thanks,

0 Kudos

I know this transaction.

In this one, as you have mentioned, you can only ASSIGN to object to other package.

You cannot COPY so that BOTH the packages are same ?? Can you ??

0 Kudos

Hi AMC,

You cannot have the SAME object under two different packages.

Now, when you try to copy a package (from SE21), it will only copy the attributes or header of the package into the new package.

Now, since the same object (with same name) cannot exist under two packages, SAP does not give facility for copying packages with content.

Cheers,

Aditya

0 Kudos

r u sure about this that there is no way i can copy object from package to package and make both the package with same contents ?

0 Kudos

Hi AMC,

I am basing my statement above on the fact that a report has only one field for package (in its attributes). Hence it is a 1:1 relationship.

Now you have a package ZPACK1 and report ZREP1 under it. Now if you copy ZPACK1 to ZPACK2, then go to report ZREP1 in SE38 and check the attribute, you can only have ZPACK1 or ZPACK2, not both !

Hence the statement.

Cheers,

Aditya

Former Member
0 Kudos

Hi,

You can use object navigator(SE80) for the same.

Regards,

Himanshu

Former Member
0 Kudos

SAP does not provide the facility for copying entire package along with its contents(objects) as it does not allow for the creation of two objects with same name.

Instead what you can do is copy the attributes of package from se21 and for the objects you can copy them individually in the same manner.

Points if helpfu.