on 07-23-2020 9:37 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.