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.
cancel
Showing results for 
Search instead for 
Did you mean: 

Debug the Outbound IDoc

Former Member
0 Kudos

Hi,

I have a outbound IDoc.

I would like to reprocess the same and test the FM.

I am going through the Tcode :WE19.

put the IDOC : XXX in the exisiting IDoc field. Execute.

I get to see the IDoc structure and the data.Then i click on the "standard outbound processing".

I would like to get into the FM and debug it.

But once i press "standard outbound processing".

It is giving a pop up which says "start outbound processing of file immediately"

No of IDoc's to be generated.

Receiver port

Port type

output file

etc.

But i would like to get into the debug mode.

Pls advise.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Rohita..u can also debug it from tcode itself..

goto VA02...

select the output type and press Repeat output type...

In Further Data..select trigger immedialtely..

then type /h and save

then goto Setting->Update Debugging

Check the messge below which says update debugging has been switched on..

then press F8...

then it will start a new session and again press F8..it will stop automatically at the point where u have put a break-point...

Reward if helpful

Thanks.

5 REPLIES 5

former_member588853
Active Contributor
0 Kudos

Hi Rohita..

Put a break point in your Outbound FM and then do the same

Instead of

start outbound processing of file immediately" you can give in back groung process.

rewards if usefull

regards,

nazeer

0 Kudos

I have break point in the FM.

How can i triger this in Back ground

0 Kudos

I am working with the sales orders.

0 Kudos

Set ur Break point at your code

now come to VA02 Transaction and use order number.

click on enter

GOTO->HEADER->OUTPUT

Give the output type and print medium should be 6(EDI) or A( ALE)

Click on Further data and select->select send with periodically scheduled job and save it.

Now Come to SE38 and use RSNAST00

Output Application : V1

Object key - order Number ( 10 digit)

Output type - BA00( SAP Standard)

Transmission medium = 6(EDI) ,A(ALE)

Now it will stop at your code.

Reward Points if it is helpful

Thanks

Seshu

Message was edited by:

Seshu Maramreddy

Message was edited by:

Seshu Maramreddy

Former Member
0 Kudos

Hi Rohita..u can also debug it from tcode itself..

goto VA02...

select the output type and press Repeat output type...

In Further Data..select trigger immedialtely..

then type /h and save

then goto Setting->Update Debugging

Check the messge below which says update debugging has been switched on..

then press F8...

then it will start a new session and again press F8..it will stop automatically at the point where u have put a break-point...

Reward if helpful

Thanks.