02-20-2008 11:56 AM
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
02-20-2008 11:59 AM
Go to Tcode: SM30, enter TADIR and maintain
from this screen you can do it.
Thanks,
02-20-2008 11:59 AM
Go to Tcode: SM30, enter TADIR and maintain
from this screen you can do it.
Thanks,
02-20-2008 12:02 PM
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 ??
02-20-2008 12:07 PM
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
02-20-2008 12:20 PM
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 ?
02-20-2008 12:30 PM
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
02-20-2008 12:02 PM
Hi,
You can use object navigator(SE80) for the same.
Regards,
Himanshu
02-20-2008 12:55 PM
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.