‎2012 Aug 23 1:48 AM
Hi Expert,
as we know:
1.we can use FM master_idoc_distribute to send idoc.
2.we also can use output type to configurate sending idoc automatically. we will use program RSNASTED and routine EDI_PROCESSING.
my question is: i want to know in way 2, how does system send idoc? i debug the program, but can't find the exact statement for sending idoc.
please help.
‎2012 Aug 23 9:30 AM
Hi
When you use output determination (way 2) then be sure the dispatch time is set to 1 (Send with batch job) and not to 4 (Send wen saving application). When set to 4 the output is processed in update mode and a little bit more complicated to debug. When set to 1 you can procees the output by executing program RSNAST00.
The IDOC processing function that will be called can be found in the partner profile transaction WE20. In outbound parameters for your communication partner and message type. Then go to tab message control. Double click the outbound process code and you find the IDOC processing function module that will be called. You can set a breakpoint in here before executing RSNAST00.
Regards Jack
‎2012 Aug 23 9:48 AM
thanks.
1. i am using 4 (Send wen saving application).
2.IDOC processing function module is only used to prepare data, i want to know the exact statement which generates idoc.
‎2012 Aug 23 12:58 PM
FM COMM_IDOC_CREATE creates comminication IDOC incase of ALE