2016 Jan 21 1:15 PM
Hi experts,
I have requirment that when developer activating a certain FM in SE37, meanwhile need execute a z program in background job(In this z program, importing the FM name and TR name).
Then i need do a implicit enhancement(Or other enhancement) under 'ACTIVATE' button.
This is make sence? where to do this implicit enhancement?
And how to capture the TR name of that developer using change the FM.
Thanks for sharing your opinion, which point i need pay more attention.
Regards,
Archer
2016 Jan 21 1:35 PM
Hi Archer,
I think you could look to making an enhancement at the end of function FUNC_OBJECT_ACTIVATE.
Jim
Hi experts,
I have requirment that when developer activating a certain FM in SE37, meanwhile need execute a z program in background job(In this z program, importing the FM name and TR name).
Then i need do a implicit enhancement(Or other enhancement) under 'ACTIVATE' button.
This is make sence? where to do this implicit enhancement?
And how to capture the TR name of that developer using change the FM.
Thanks for sharing your opinion, which point i need pay more attention.
Regards,
Archer
2016 Jan 21 1:35 PM
Hi Archer,
I think you could look to making an enhancement at the end of function FUNC_OBJECT_ACTIVATE.
Jim
2016 Jan 21 2:37 PM
Quickly tested it. looks cool. At the end of function, i can do my implicit enhancement.
And it will still works after system upgrade, right?
2016 Jan 27 2:26 PM
Hi Archer, sorry for slow response - I've been away.... Yes, implicit enhancement will still be fine after upgrade.
Jim
2016 Jan 21 2:41 PM
Hello
You can use BADI CTS_CURRENT_PROJECT and implement your checks.
thanks
Nabheet
2016 Jan 21 4:17 PM
I have not try this BADI, Maybe tomorrow, i`ll try it.
thank you, Nabheet. Long time no see you.
2016 Jan 21 3:37 PM
Usually I don't check those events (a developper can activate multiple times a single object, or wait a long time during development) I prefer to detect transport events with BAdI CTS_REQUEST_CHECK in methods CHECK_BEFORE_ADD_OBJECTS and CHECK_BEFORE_RELEASE and BAdI CTS_EXPORT_FEEDBACK method FEEDBACK_AFTER_EXPORT, so catching the whole duration of the development.
What's your purpose in tracking activation of some objects?
Regards,
Raymond
2016 Jan 21 4:14 PM
Hi Raymond,
What i wanted is, when developer activate FM, in z program will generate a flat structure according paramters in 'IMPORT' of FM and including the generated structure to the same transport request.
If developer activate FM again, then update the structure.
The z program i mostly done.
Regards,
Archer
2016 Jan 21 4:19 PM
So, in my case, BADI CTS_REQUEST_CHECK in methods CHECK_BEFORE_ADD_OBJECTS and CHECK_BEFORE_RELEASE. This two methods seems not works.
Regards,
Archer
2016 Jan 27 3:03 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |