cancel
Showing results for 
Search instead for 
Did you mean: 

CREMAS05 - Partner Function

snehanikam
Explorer
0 Kudos

Hi Experts,

We are using inbound IDoc CREMAS05 to create vendor master data. We are first creating it's 'X' partner and then trigger another IDoc for main vendor 'Y' which will have partner information of 'X' partner. So there will be 2 IDocs triggered.

The third party system that is going to trigger a message to create vendor, will send entire data (Data for main vendor and partner) in one payload which then PI divides into 2 different IDocs. And since there is no way to interpret IDoc response in SAP PI, we have a situation where first IDoc fails(No 'X' Partner is created) but PI still triggers second IDoc and creates main vendor 'Y'.

We want to implement a solution where if any of the 2 IDocs fail, whole process should stop. We are going for IDoc option, as there is no BAPI/FM to create vendor data that could be used in ABAP proxy.

Regards,

Sneha C.

Accepted Solutions (0)

Answers (1)

Answers (1)

maulik
Contributor
0 Kudos

There are many ways to deal with this situation.

One way to achieve that is to send the same key on both idocs. The second one looks up the status of the first one based on the key and doesn't attempt a post.