IDOC Testing
IDOC Testing
I am taking a Purchase order as an example for Outbound IDOC as shown below To Debug an IDOC the basic setting in the PO is Send with periodically option. See screen shots below for the setting
Select the Particular Output type and click on further data and select Send with Periodically schedule job.
Now go to T-Code SE38 and enter program name RSNAST00 and click on Execute. Find the sample data entered in selection parameters as below and click on execute, if a break point is set in the FM the program enters in the debug mode at that point and we can debug the FM to see where the IDOC is failing
Now Click on Inbound Function Module and enter the FM name, in foreground option, it will take you to Debug Mode.