2014 Aug 04 9:43 AM
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
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
2014 Aug 04 9:51 AM
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?
2014 Aug 04 9:55 AM
2014 Aug 04 10:10 AM
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.
2014 Aug 05 9:24 AM
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
2014 Aug 05 9:45 AM
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.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |