cancel
Showing results for 
Search instead for 
Did you mean: 

PO 7.5 Correlation ID for SOAP to SOAP scenario

former_member434498
Participant
0 Kudos

Hi Team,

We are developing an interface with the below scenario.

Process:

1) PO will retrieve a flat file from source FTP server. The file contains multiple order number records.

2) First ICO splits the file and creates multiple messages (each message will contain single order number). Messages are then sent to second ICO via the soap adapter.

3) Second ICO maps each message to an IDOC and sends it to SAP.

Question:

Is it possible to create a correlation ID for the messages from the 1st and 2nd ICO?

If not, we want to show the "filename" and "message id" of the 1st message on the soap header/dynamic configuration of the 2nd message?

Thanks,

Carlo

Accepted Solutions (0)

Answers (1)

Answers (1)

apu_das2
Active Contributor
0 Kudos

Hi Carlo,

What is your requirement actually? Is your requirement is to populate idoc structure taking data from File?

I am in a doubt why did you create 2 ICOs. If your requirement is to create multiple idocs in SAP, then simply make the occurance of the idoc metadata to 0.onbound or else export the metadata as xsd, change the occurrence and import as an external definition.

Thanks,

Apu

former_member434498
Participant
0 Kudos

Hi Apu,

We want to split the orders from the file so if 1 order fails due to data issue the whole batch of orders in the file won't be affected.

For the correlation between the message in the first ICO and second ICO, is there a way we can have the same correlation ID for both?

Thanks a lot,

Carlo

apu_das2
Active Contributor
0 Kudos

Hi Carlo,

How are you ensuring that after splitting of the file data to N records, your SOAP receiver channel is sending one record at a time to the 2nd ICO rather sending all at a go.

And in the 1st ICO if there will be any data error in the file content then will not the whole MM fail to split the records? So ultimately your purpose will not fulfill.

Thanks,
Apu

former_member434498
Participant
0 Kudos

Hi Apu,

We already covered all possible error scenarios for the split map in the 1st ICO so it should not be a problem.

The only problem we have now is that how we can have same correlation ID for the batch message in 1st ICO and N messages in the 2nd ICO.

Ideally what we want to achieve is that when we run the correlation ID in runtime, it should show both the original batch message (1st ICO) and all the split N messages (2nd ICO).

Thanks,

Carlo

former_member434498
Participant
0 Kudos

Hi Apu,

We are able to populate the correlation ID attribute of the batch message (1st ICO) using its own message ID.

We used AF dynamic configuration module to copy the message ID to correlation ID.

Now, how can we copy the same message ID/correlation ID to the split messages (2nd ICO)?

Thanks,

Carlo