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

How to debug an Outbound IDoc

Former Member
0 Kudos


I have a custom IDoc that uses message control for the outbound service.

I have set a breakpoint in my ABAP function module and am using WE19 (IDoc Test tool) to Process the outbound IDoc.

It doesn't stop at my breakpoint. It works fine for inbound processing stopping at my breakpoints no problem.

Is there a "trick" to this ?


Active Contributor
0 Kudos

Hi ,

I think WE19 transaction for outbound IDOC's is useful to create the copy of the generated IDOC's. so it won't execute the ABAP function module code

if you execute from the application , Outbound IDOC will be created with the status 01 30 03

if it is from WE19 Outbound IDOC will be created with the status 42 01 30 03

42 : IDOC generated from the test transaction


Former Member
0 Kudos

hi ,

like try this option ,

if it is a message control then goto program RSNAST00 AND Debug the same .

Former Member
0 Kudos

Hi Simon,

I have had the same problem with own outbound developed message type in HR. When testing from WE19 it didn't stop at the breakpoint in the userexit. But when I tested from transaction PFAL it stopped. Br Benita

0 Kudos


Go into debug mode and single step the code until you reach a program (not screen module). Go into Settings and click update debugging. Single step again for a few goes and then press F8.

You might have to try it for a few goes