03-31-2015 3:14 PM
Hi Experts,
I set a break point as BREAK USERIDXXX inside the include of EXIT_SAPLCSLS_002, but when I excecute the queue in SMQ1 it does not stop.
Any ideas on how to debug it?
Thanks,
Nico.-
03-31-2015 9:40 PM
Hi Nicolas,
the FM will be called ONLY if you create a Exit Project in CMOD transaction.
Did you create a project and activated it?
03-31-2015 10:13 PM
Hi Guilherme,
Yes I did, I created the project, add the enhancement CIFSLS03, implemented FM EXIT_SAPLCSLS_002, create the include ZXCIFU16 and set the break point there.
I also exit completely from sap and log on again, but it does not stop.
Any hint?
04-01-2015 5:15 AM
Hi Nicolas,
The outbound queues will be sent in background task.
Therefore set break-point at FM which is called in background task and follow below steps :-
Thanks
-Learner
04-01-2015 6:25 AM
Hi,
No need to create project for exit to debug it. Just follow these steps:
In the initial screen of SMOD transaction, place the exit name in the enhancement field and click on enhancement menu->Test.
Place the cursor on the exit name and click on select component button.
Create the include and set the break-point.
Activate the include and activate the enhancement and click on Execute test(F8).
Enter the transaction name for which you want to test this enhancement.
After the testing is done, deactivate the enhancement and click on delete test objects(Shift+F2).
Testing an exit is done now.
Regards,
Suresh
04-01-2015 7:29 PM
Hi Learner,
These are my steps:
Am I doing something wrong?
Thanks,
Nico.-
04-02-2015 4:04 AM
Hi Nico,
Follow below steps :-
4. select TRFC (In Background Task):Block Sending and save.
5. Execute your transaction
6.In another session I open SM58
7.Enter Sales order queue and execute
8. select your queue and got to Menu Edit->Debug Logical Unit of Work
Thanks