cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound Idocs Sequencing for multiple partners profiles

Former Member

Hi,

We have an interface that picks up information from a file and converts to ORDERS idoc to post to our ECC system. Conversion to Idoc from file is done by SAP PO. In ECC, the partner profiles have been setup as 'Trigger by background program' and program RBDAPP01 is executed every few minutes to process these Idocs. RBDAPP01 report sorts the IDocs that are to be processed according to the following criteria:

1. Partner number of the sender

2. Partner type of the sender

3. Partner function of the sender

4. Message type

5. Logical message variant

6. Logical message function

7. Test indicator

8. Serialization field

Since our file has data for different partner profiles, the above SORT leads to the Idocs with the smallest partner number to be processed first. Our requirement is for these Idocs to process in the same order of records in the file. We tried the approach of populating timestamp value in the EDIDC-SERIAL(OSS note 152239) from SAP PO but this didn’t solve the issue as serial field is considered later in the SORT order. Also the various other serialization options provided in OSS note 752194(Serialization of IDoc processing) wouldn't work either.

Regards,

Accepted Solutions (0)

Answers (1)

Answers (1)

roberto_forti
Contributor
0 Kudos

Hi Absheen Ali,

You can use a queued RFC (qRFC) that is an enhancement of tRFC.

Transaction SMQ2 is the qRFC monitor for inbound queues.

Regards,