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

command to debug the IDOC

Former Member
0 Likes
440

Hi,

Do we have any command like JDBG( Which is used for debugging finished job) to debug the idoc which is in status 53.

Regards,

Gaurav

1 REPLY 1
Read only

Former Member
0 Likes
316

Hi,

Try

Set a break-point in your exit.

Use transaction WE19 and execute it for one of your existing idocs (by number).

Select either "Inbound function module" or "Standard outbound processing",

depending on the direction of your idoc. This will create a new idoc as a copy

of the selected one, and execute the standard function module and your exit, in

the foreground.

Or

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

Regards,

Aditya