Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADI exit.

former_member182354
Contributor
0 Likes
1,200

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,175

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

9 REPLIES 9
Read only

Former Member
0 Likes
1,176

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

Read only

0 Likes
1,175

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.

Read only

0 Likes
1,175

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

Read only

0 Likes
1,175

Hi,

Write like;

break <your sap username>.

Regards,

Renjith Michael.

Read only

0 Likes
1,175

Add break points before and after the call to ensure it is actually executed.

Read only

0 Likes
1,175

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..

Read only

0 Likes
1,175

Hi,

In debugging mode got to break points->break poit at statement->call customer-function or call badi etc....

Regards,

Renjith Michael.

Read only

0 Likes
1,175

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).

Read only

0 Likes
1,175

Hi,

The answer by Harshan is Good. Pls try that.

Regards,

Renjith Michael