cancel
Showing results for 
Search instead for 
Did you mean: 

Integration Advisor - TPM Agreement: Handle Single Source EDI To Multiple IDocs of Same Structure

Jovee
Product and Topic Expert
Product and Topic Expert
0 Kudos
250

Hi,

Hope someone could help with this scenarion requirement.

I have 1 single UN/EDIFACT ORDERS D.10B and I will need to call 2 separate MAGs to create ORDERS05 IDoc as either Sales Order or Returns Order.

The orders while using the same IDoc structure, has totally different mapping, hence I created 2 MAGs. Once we receive the EDI, we need to call and create corresponding IDoc depending on //S_BGM/C_C002/D_1001 value, if 220 (Sales Order) or if 81 (Returns Order). 

I am receiving an ERROR in my agreement as below:
Unique Constraint Violation: Business Transaction [OrderToCash - Inbound - Returns Order] and [OrderToCash - Inbound - Create Sales Order] have the same properties {SenderAdapterType=AS2, SenderTypeSystem=UNEDIFACT, SenderMessageVersion=D.10B, Senderld=COMPANY, Receiverld=COMPANY, MessageType=ORDERS;

Jovee_1-1721217770277.png

Hope someone has encountered this before that could share some inputs, thanks.

View Entire Topic
Jovee
Product and Topic Expert
Product and Topic Expert
0 Kudos

For this scenario case, we were able to resolve it by requesting the client to create specific IDoc type based on the same message type and used that to upload in Custom Type Systems > Custom Messages.

For the other way around where EDI E.g. UNEDIFACT ORDERS, we cannot ask the external party to do the same. In such case, we implemented custom iFlow to read the EDI and based on specific segment, identified document type and created specific mapping based on that.

JustinCt
Newcomer
0 Kudos

Are you covering this within TPM for the EDI scenario or just in the IFlows? I understand mapping in the iflow, but sending the IDoc via the iflow or via an agreement?