Configuration of outbound order change (ORDCHG) EDI message

In previous blog I explained steps to configure outbound EDI ORDERS message for Purchase Order. This blog extends the configuration to generate order change EDI message ORDCHG.

1. Configuration of outbound order (ORDERS) EDI message

To configure order change EDI message you should have already setup order EDI message. Refer blog Configuration of outbound order (ORDERS) EDI message to see how ORDERS message is setup.

2. Partner Profile Setup

The output type which you have used for order EDI message will be used for order change message. For outbound order change EDI message SAP standard value EDI parameters are as follows

Application EF
Process code ME11
Message type ORDCHG
Basic Idoc type ORDERS05

Go to transaction WE20 and select the partner (typically vendor in purchase order) for which you want to activate order change message ORDCHG. Under outbound parameters table control press Create outbound parameter. Input partner role, message type, receiver port, basic type.

sap edi ordchg

On message control tab add line with application EF, message type NEU process code ME11 and tick change message flag and save.

sap edi ordchg

3. Fine-Tuning

If you are not using standard output type NEU (skip this step if you are using NEU) then there is an extra piece of configuration which required for change EDI message to trigger.

In SPRO under menu Materials Management->Purchasing->Messages->Output control->Message Types->Define message types for Purchase Order-> Fine-Tuned Control: Purchase Order (or open view VV_T161M_EF in SM30) add line with Operation 2. In below screen shot you see line with operation 2 for output type NEU because its standard output type preconfigured but if you are using you own output type for outbound orders then you need to create line for operation 2 manually.

sap edi ordchg

4. Field Relevant for Change Message

Order change message is triggered only for fields changed configured in SPRO under menu path Material Management->Purchasing->Message->Field Relevant to Printout of Change (Maintain table T166C in SM30). If no EDI message is generated or you are getting message ‘No IDoc items belonging to purchasing document found’ (message ME 760) then check the changed field is in this config table.

sap edi ordchg

One Reply to “Configuration of outbound order change (ORDCHG) EDI message

Leave a Reply