We have an scenario to collect the messages based on delviery number, like customer sends the bulk order and SAP splits that order and create the delivery for each splitted orders .
Sales Order Batch Order
This Batch order is split in to multiple orders as below
Order_1 Order_2 Order_3
1234_A_C 1234_B_C 1234_C_C
Delivery_1 Delivery_2 Delivery_3
1 2 3
These deliveries are sent to PI as DESADV in differnet time frame.
-> DESADV# 1 DESADV# 2 DESADV# 3
inbound time 10:30AM 11:00AM 11:20AM
PO# 1234_A_C 1234_B_C 1234_C_C
Outbound time 11:20AM 11:20AM 11:20AM
Now we need to collect all the DESADV for a single batch order and send it to customer as a single DESADV .
Can anyone help me how to handle this in PI.
Is there any BPM process there to collect the messages based on PO number (1234_A_C,1234_B_C,1234_C_C) for particular partner.
I know correleation id can be used but PO is not constant.