2008 Aug 26 7:56 PM
Hi Experts,
When the method CHECK_BEFORE_ADD_OBJECTS of BADi CTS_REQUEST_CHECK is triggered?
I implemented it (just put a balnk if..endif condition) and put a break point in it, I created a new transport request by changing a object it was not triggered and again
I changed some other object and included that object in the same transport request then also it was not triggered.
Thanks
Yogesh Gupta
Hi Experts,
When the method CHECK_BEFORE_ADD_OBJECTS of BADi CTS_REQUEST_CHECK is triggered?
I implemented it (just put a balnk if..endif condition) and put a break point in it, I created a new transport request by changing a object it was not triggered and again
I changed some other object and included that object in the same transport request then also it was not triggered.
Thanks
Yogesh Gupta
2008 Aug 26 8:09 PM
In ECC 5 this is what the documentation says.
You can use the following methods:
* CHECK_BEFORE_CREATION
This method is called before a request is created and after the creation dialog box. It gives you the option to:
o make your own checks
o change the short text and attributes.
* CHECK_BEFORE_RELEASE
This method is called before a request is released. It gives you the option to:
o make your own checks (for example, on the objects in the request)
o change the short text and attributes.
* CHECK_BEFORE_CHANGING_OWNER
This method is called before the owner of the request is changed, and after the confirmation dialog box. It gives you the option to make checks.If you are on a higher or lower version of SAP. please read the documentation of the BADI via SE18.
Amandeep
2008 Aug 26 8:28 PM
Hi,
Or Do this thing, check whether this BADI is at all hit when you run the transaction.
Go to SE24 -> Provide class name as CL_EXITHANDLER
Go to GET_INSTANCE method, put a break point on
CALL METHOD cl_exithandler=>get_class_name_by_interface
Run your transaction now, and check for all the exit names using the field exit_name.
(Use F8 to come to the breakpoint every next time)
If you get your BADI name in thre, then your should be called in else you are using a wrong BADI.
Thanks,
Kartavya
2008 Dec 17 11:30 PM
2010 Nov 30 7:33 PM
Hi Yogesh I am also trying to use this method to do some checks when someone is trying to add an object to an existent transport request or when someone is creating a ñew task for an object who is already in an open transport request, but in either of this cases the method is triggered
Do you know why is this?
Regards.
Mariano,
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |