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

How to Debug IDOC posting

Former Member
0 Likes
3,805

Hi,

Could anyone please advise how to debug an IDOC posting. I am new to ABAP.

regards,

Munavar Basha A.K.

3 REPLIES 3
Read only

Former Member
0 Likes
813

HI....

YOU CAN DO IT BY....

1. SETTING STATIC BREAKPOINT IN SOURCE CODE AND EXECUTE

2. WRITE /H IN COMMAND WINDOW AND EXECUTE.

REGARDS

Read only

Former Member
0 Likes
813

Hi,

IDocs are processed by a function module, which are mapped

against in table EDIFCT. When you process an IDoc with BD87

you can have a breakpoint in the function and it will stop.

For outbound processing it depends on which program is

sending the IDoc. For transactional data like purchase

orders, the IDoc is created via RSNAST00 which in turn calls

a function module assigned to the processing code (BD41).

Thanks,

Neelima.

Read only

Former Member
0 Likes
813

Hi,

1)Use tcode we19 , enter your idoc no and click on the inbound function module push button then check call in debugging mode to debug.

or

1. Go to BD87

2. make a right click at the IDoc and choose restrict and process.

3. delete the check at the bottom(Background Processing)

4. Go ahead

5. edit -> process -> Foreground at Error

Thanks Hope this will be Helpful

Thanks

Kalyan