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: 

collective inbound idocs into R/3 system using master_idoc_distribute FM

Former Member
0 Kudos

Hi All,

I want to process inbound idocs (4 idocs collectively) in R/3 using master_idoc_distribute function module. The idoc is coming into system as one idoc having 4 segments (each segment for each idoc and contains sub segments too). I want to call master_idoc_distribute for each idoc for sending it to external system. I am using a custom FM for calling the master_idoc_distribute and assigning it into process code inbound for processing the incoming idoc.

The FM is working for one idoc perfectly but throwing error for more than idocs coming in collectively. Any help is appreciated.

Thanks

1 REPLY 1

Former Member
0 Kudos

use commit work saparately after each function module call