Application Development and Automation 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: 
Read only

how does subroutine EDI_PROCESSING sending idoc

Aiolos
Active Participant
0 Likes
3,733

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.

3 REPLIES 3
Read only

JackGraus
Active Contributor
0 Likes
1,565

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

Read only

Aiolos
Active Participant
0 Likes
1,565

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.

Read only

Former Member
0 Likes
1,565

FM COMM_IDOC_CREATE creates comminication IDOC incase of ALE