cancel
Showing results for 
Search instead for 
Did you mean: 

Grouping IDOCS

Former Member
0 Kudos

this is SRM>XI>R/3 i.e IDOCS>XI>IDOCS

IDOCS sent and received are ACC_GOODS_MOVEMENT02, ACC_GOODS_MOVEMENT03

here SRM System is sending many IDOCS at one shot to XI and XI should Group the incoming Idocs based on same Ref_doc_no (this is the element in one of the segment) and send one IDOC per grouped IDOCS in the target( but the header segment should appear only one time but item level segment should appear as many time as IDOCS grouped)

how can we achive this?

the help is highly appreciated.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

your requiment can only be done using BPM..........so use a BPM........in it, have 2 receive steps for receiving the IDOCs in a loop and have the correlation on Ref_doc_no field........then after the loop have a transformation step in which you will have the mapping in which on source side you will have your 2 idoc interfaces and on the target side you will have a single output interface in which only one header and multiple line-items will be there..............then have a send step to send this IDOC to the target system.

Regards,

Rajeev Gupta

VijayKonam
Active Contributor
0 Kudos

ONly thing you need to worry about is the loop terminating condition..!! Whether you wait for certain time or for certain number of Idocs.

VJ