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

Custom Workbench object not modifiable

Former Member
0 Likes
622

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

3 REPLIES 3
Read only

former_member195698
Active Contributor
0 Likes
561

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

Read only

0 Likes
561

hi,

I already tried but it seems not to work...

Thanks,

Gianluca

Read only

0 Likes
561

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