2008 Jan 08 8:16 AM
Hi Folks,
I have a requirement where I have to debug a badi exit code when an Idoc is being posted. How can I do this??
This code gets executed before the Idoc is posted.
This is urgent...
Regards,
Raghav
2008 Jan 08 8:21 AM
Hi,
First check whether the BADI is Active or not. Keep the break point in BADI Implementation Code and execute the IDOC, which will stops at the break point and from there you can debug.
Regards,
Satish
Hi Folks,
I have a requirement where I have to debug a badi exit code when an Idoc is being posted. How can I do this??
This code gets executed before the Idoc is posted.
This is urgent...
Regards,
Raghav
2008 Jan 08 8:21 AM
Hi,
First check whether the BADI is Active or not. Keep the break point in BADI Implementation Code and execute the IDOC, which will stops at the break point and from there you can debug.
Regards,
Satish
2008 Jan 08 8:42 AM
Hi Satish,
I did the same thing but it did not stop. Can anyone tell me how to reprocess an Idoc and debug the BADI EXIT code.
2008 Jan 08 9:14 AM
hi satish,
put an hard code break-point.
and execute, it will stop if it cannot stop at that moment may be it is not triggering at that moment.
regards,
sirisha reddy
2008 Jan 08 11:56 AM
Hi,
Write like;
break <your sap username>.
Regards,
Renjith Michael.
2008 Jan 08 2:25 PM
Add break points before and after the call to ensure it is actually executed.
2008 Jan 11 8:59 AM
Hi Guys,
I am trying to debug in the quality system and there we cannot add hard coded break points...
Any other suggestions are most welcome..
2008 Jan 11 9:06 AM
Hi,
In debugging mode got to break points->break poit at statement->call customer-function or call badi etc....
Regards,
Renjith Michael.
2008 Jan 27 8:17 AM
Since your BADI is called before posting, may be it is in update task so do an update debugging(Check the Update debugging option in the Debug Settings).
2008 Jan 28 4:37 AM
Hi,
The answer by Harshan is Good. Pls try that.
Regards,
Renjith Michael