11-13-2007 3:26 PM
Hi all,
I have an issue with the user exit EXIT_SAPLMLSR_001 (enhancement SRVEDIT). I use it to add some action when the user change something in the entry sheet and then the user saves the changes.
The user exit works OK but if the ML81N transaction is called via CALL TRANSACTION the user exit is not called when the user save the data. It is really weird, i put a breakpoint in that UserExit and it stops when the user press the SAVE button. But if the same action is done in the transaction via CALL TRANSACTION it doesn't work!
Anybody knows why the transaction behavior is different depending on the calling method?
What can I do if i need to use that user exit to control something in the moment of saving the data?
Many thanks in advance,
Aaron
11-13-2007 3:29 PM
Hi ,
That user exit will get triggered only when you do some changes and save the transaction.
reward if it helps,
Satish
11-13-2007 3:57 PM
First of all many thanks for you shortly answer.
I have to say that I change data in ML81N but the user exit is not triggered if the transaction is called via CALL TRANSACTION.
Anybody knows something about it?
05-09-2013 7:07 AM
Hi,
I do have the need to use a exit when user clicks on save, I have to open a window for some agreement details. I tried the exit you stated above but it is not working properly. It executes on even creating new Service entry sheet and on every click I do after that.
Please help me.
05-09-2013 7:13 AM
Hi Aaron Fernandez,
Please verify the parameters Passed to the CTU_PARMS in the Call Transaction.
The parameter NO-BATCHINPUT should be passed with 'X'. Try that way, Because it is a Enjoy transaction may be that could be the reason for that. So pass this parameter in the Call transaction report program and test once again.
Passing this should call the exit.
Hope this will solves your problem.