Skip to Content
0

PO 7.5 Correlation ID for SOAP to SOAP scenario

May 03, 2017 at 07:31 PM

67

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member May 04, 2017 at 12:05 PM
0

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

Show 4 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

0
Former Member
Former Member

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

0
Former Member

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

0
Former Member

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

0