‎2008 Jun 11 11:38 AM
‎2008 Jun 11 11:43 AM
hi sridhar,
We19 is Testing Inbound IDOC and you can debugging from we19 Transaction
Outbound IDOC Debugging :
Example of Invoice :
Set ur Break point at your code
now come to VF02 Transaction and use invoice 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 : V3
Object key - Invoice Number ( 10 digit)
Output type - RD00( SAP Standard)
Transmission medium = 6(EDI) ,A(ALE)
Now it will stop at your code.
i think this will help u
reagards
sindhu.
‎2008 Jun 11 11:40 AM
This would of already been asked I am sure.
Oh and it may of helped if you would of said what direction the IDoc was going.
‎2008 Jun 11 11:41 AM
Use tcode WE19. You can test IDOCs using this transaction. Here you can debug the FM which creates the IDOC or Posts the IDOC.
Regards,
Lakshmi.
‎2008 Jun 11 11:43 AM
hi sridhar,
We19 is Testing Inbound IDOC and you can debugging from we19 Transaction
Outbound IDOC Debugging :
Example of Invoice :
Set ur Break point at your code
now come to VF02 Transaction and use invoice 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 : V3
Object key - Invoice Number ( 10 digit)
Output type - RD00( SAP Standard)
Transmission medium = 6(EDI) ,A(ALE)
Now it will stop at your code.
i think this will help u
reagards
sindhu.
‎2008 Jun 11 12:29 PM
hi Srikar,
Initially, you need to put a break point at the Outbound Idoc Processing Routine. Then, while performing the operation on that Tcode or Screen, for which the Idoc is going to get triggered, go into the Debugging Mode and then set as following:
Settings --> Update Debugging --> Save. Automatically, while running that operation the control will come to the break point area and you can debug the Idoc.
Pls get back to me in case of any queries on the same.
Reward points if usefull,
Thanks,
Kalyan.
‎2008 Jun 11 12:48 PM
Hi Srikar,
You can debug inbound IDOC by -
WE19-> idoc
use inbound function module -foreground.
else you can debug outbound IDOC by -
you cannot debug directly. First set a breakpoint wherever you want.
while attaching the output type in standard transaction goto 'Further data' and select 'send with periodically scheduled job' for dispatch time.
the run report RSNAST00 and give the details.
now when u run, theoutput is issued and the system stops at the breakpoint you have set. This is the only way you can debug the outbound idoc.
Reward points if found useful.
Regards
Megha