‎2012 Jun 08 6:26 AM
I have created the new package for ex:ZPACK with properties(software component,transport layer).
my question is:
when assigning this package to newly creating objects for example:Assigning ZPACK to ZREPORT, that new object should be renamed as ZPACK_ZREPORT
is there any possibilities for renaming the object when assigning it to a package?
‎2012 Jun 08 6:35 AM
‎2012 Jun 08 11:37 AM
No, and it does not make sense, in my opinion. You are duplicating information, and much worse, what do you do when you want to re-assign objects to other packages in the future? You cannot possibly rename all objects, because of their usage in other objects (where-used-list).
Thomas
‎2012 Jun 08 12:04 PM
Hi Thomas,
I guess he is talking about new objects and not existing objects.
Thanks,
Shambu
‎2012 Jun 08 12:09 PM
Yes, but these new objects might need to get re-assigned somewhere down the road, and then the naming logic is not consistent any more.
I'm just saying that duplicating the package name into the object name is not a good idea, although I would like to hear about the rationale for doing it in this case here.
Thomas
‎2012 Jun 08 1:09 PM
newly creating objects
Yes, IMHO, He wants some kind of check/automatic rename during creation of new object, a kind of exit/BAdI during creation in object repository directory. And he is ready to manage the exit/BAdI to not cause trouble when importing external transport order or applying patches/SP or such....
Regards,
Raymond
Message was edited by: Raymond Giuseppi
‎2012 Jun 08 12:26 PM
Hi Raghu,
Hope this will help you.
There is one badi definition CTS_CURRENT_PROJECT.
Try with this badi. It will help to get ur requirement done.
There is one Parameter It_objects in that u'l get variables for object name and package.
Try to concatenate and pass it.
Regards,
Ramya Ramasamy
‎2012 Jun 08 1:13 PM
This BADI is for a different purpose and irrelevant to the issue discussed here.
Please do more research before replying (not only before asking).
Thomas