cancel
Showing results for 
Search instead for 
Did you mean: 

Order Create and Order change interface

former_member474221
Participant
0 Kudos

Hi All,


We have an inbound interface where an external system is sending a txt file and we are using an ORDERS.ORDERS05 idoc to create a sales order in SAP

My question is will the same interface work for CHANGE scnearios OR we will need to create a separate interface with ORDCHG.ORDERS05 Idoc

Does this mean I will need 2 separate PI interfaces - 1 for Create and 1 for Change.

Should I go for Proxy instead but I want to go with Idocs as the standard Idoc has all the fields I need.

Thanks

Hema

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186851
Active Contributor
0 Kudos

Hello Hema,

Pick the file and there should some qualifier to identify whether it is Order change or orderCreate,Based on complete the below scenarios.

1.OrderCreate:

Map the file data(XML) to the ORDERS.ORDERS05

2.OrderChange:

Map the file data(XML) to the ORDCHG.ORDERS05 Idoc

you can do Condtion based interface determination as below screenshot and link

sahithi_moparthi
Contributor
0 Kudos

Hi,

Same interface will not work. You have to create 2 different interfaces.One for Create(Inbound) and one for Change(Outbound).

It is better to go with IDOC's.

former_member474221
Participant
0 Kudos

Both the Order create and Order change are coming from external system so both will be inbound

sahithi_moparthi
Contributor
0 Kudos

ok...As the mapping rules and IDOC structure changes,It is suggestable to create 2 different interfaces.