‎2008 Jul 21 8:30 PM
Hi,
I need your help for a new challange. I have to declare some workbench objects as not modifiable or at least not trasportable.
I listed them in a custom table and now I'm looking for BAdIs, user exit or similar to reach the target.
I'm working on an ECC 6.0 and in SPRO I found something interesting under
SAP NetWeaver => Application Server => SystemAdministration => Change & Transport System => Business Add-Ins...
The "Business Add-In when editing request" sounds really good to make some check while releasing a CR (and the documentation confirms it).
There are four method in BAdI definition :
CHECK_BEFORE_CREATION
CHECK_BEFORE_RELEASE
CHECK_BEFORE_CHANGING_OWNER
CHECK_BEFORE_ADD_OBJECTS
The last one is listed but not explained. No documentation, no implementation.
Does anyone have an idea about how it works or if it works ?
Otherwise is there any suggestions about declaring some workbench objects as not modifiable or at least not trasportable ?
(I'm not talking only of reports or dictionary...)
Thanks in advance,
Gianluca
‎2008 Jul 21 11:04 PM
What you can do is create a temp implemenation for this method and put a break point?
From the name it seems to be triggered
when you modify some object , popup comes up to specify the Transport and you add that object to the TR.
CHECK_BEFORE_ADD_OBJECTS
‎2008 Jul 22 8:22 AM
hi,
I already tried but it seems not to work...
Thanks,
Gianluca
‎2008 Jul 22 8:35 AM
I can confirm that CHECK_BEFORE_RELEASE works just fine if you want to prevent transports with certain objects to be released/transported.
You could also move the objects in question to a new package without a transport layer.
Thomas