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

Implementing BAdI CTS_REQUEST_CHECK

Former Member
0 Likes
2,679

Hi,
I'm trying to implement the CTS_REQUEST_CHECK BAdI. I'm particularly interested in the CHECK_BEFORE_CREATION and the CHECK_BEFORE_ADD_OBJECTS methods, I want to find a spot were I can check an object before it is added to a request.
My implementation is active but my code is never called!
Is this BAdI working properly or is there another BAdI to achive my goal?

Best Regards

5 REPLIES 5
Read only

Former Member
0 Likes
1,663

Hi Egil,

Have you tried putting BREAK <User ID> in the above two methods and checked if while processing, the processing stops at these break-points?

Read only

0 Likes
1,663

Yes I did. No luck!

Read only

Former Member
0 Likes
1,663

Ok have you triggered update and system debugging? You can click /H and go in, then I thin in the systems option on the menu bar you will find activate debugging, when you click on that you have option to tick system and update debugging.

Read only

0 Likes
1,663

HI A N,

Thanks again for the reply.
I tried what you suggested but still no luck.

It seems weird that SAP created a BAdI that is never called!

Regards

Read only

matt
Active Contributor
0 Likes
1,663

CHECK_BEFORE_ADD_OBJECTS "Checks Before Inserting Table Key" - it's not used for checking objects generally. I haven't checked whether it actually works.

CHECK_BEFORE_RELEASE works fine - I've done development in this area.

CHECK_BEFORE_CREATION works fine as well - I set a breakpoint in one of the implementations of the BADI.

From SE19, go into change mode and edit your implementation. Deactivate and then reactivate, then retest.

fyi, the call for check_before_creation is in function group STR8 form USER_EXIT_BEFORE_CREATION. You could set a breakpoint at this spot to find out what is happening with your implementation.