Configuration of outbound order (ORDERS) EDI message

Steps to configure outbound EDI ORDERS message for Purchase Orders

Output type and Determination Procedure

You can use standard output type NEU for outbound ORDERS message in Purchase Orders. In case you decide not to use NEU for some reason you can copy NEU and create your own output type. Just make sure once you create your own output type it’s added to Message Determination Procedure. In standard system Purchase order uses determination procedure RMBEF1. You can find out the right determination procedure in IMG menu path Material Management->Purchasing->Messages->Output Control->Message Determination Schemas->Define Message Schema for Purchase order-> Assign Schema to Purchase Order. In order to use your own output type it should be included in this determination procedure.

Configuration outbound orders EDI message MN04 SPRO WE20 outbound edi

To look at determination procedure and assigned your output type go to transaction NACE, select line EF-Purchase Order and select Procedure button from toolbar. Then select the determination procedure and double click on Control

Configuration outbound orders EDI message MN04 SPRO WE20 outbound edi

Requirement are routines (basically ABAP form) which decides whether output can be generated or not based on certain condition. It sets SY-SUBRC value to 0 if output type can be issued.
Access sequence and Condition record

Access sequence is group of tables which stores the condition(s) on which output type should automatically trigger with document. For purchase order to automatically process output type, condition record should exist in one of the Access table defined under Access sequence. For example you may want create ORDER message for a particular vendor or for a particular purchase order document type. You can change access sequence of output type NEU in SPRO at path Materials Management -> Purchasing -> Messages-> Output Control -> Message Types -> Define Message Types for Purchase Order ->Maintain Message Types for PO. Double click on output type NEU. Access Sequence is specified under General Data tab.

Configuration outbound orders EDI message MN04 SPRO WE20 outbound edi

In standard system, Access sequence assigned to NEU condition record is 0001 which is group of 3 access tables.

Configuration outbound orders EDI message MN04 SPRO WE20 outbound edi

To define condition record go to transaction MN04 input output type NEU (or your own configured output type) press enter and system will prompt you to select access table. Access table you select depends on your business requirement. Assuming you want to activate ORDERS message per vendor select first access.

Configuration outbound orders EDI message MN04 SPRO WE20

Then create condition record specifying your vendor, function as VN, transmission medium as 6 (EDI) and Despatch time as 4 (Immediately) then save.

Configuration outbound orders EDI message MN04 SPRO WE20

EDI Partner Profile Setup

EDI partner profile define various parameters using for transmission of EDI message to partner. Typically partner in case of purchase order is Vendor. Create new partner under node Partner type LI in transaction WE20. Specify vendor number partner and ‘recipient of error notifications’ which can be user organisation unit. After that press save.

Configuration outbound orders EDI message MN04 SPRO WE20

Under outbound parameters table press ‘Add’ button. This is the place where we will specify EDI Message type, IDoc type and Outbound Process Code and link this EDI message with output type NEU. Unless you have developed your own custom functionality SAP standard values are

Process code ME10
Basic Idoc type ORDERS05
Message type ORDERS

Configuration outbound orders EDI message MN04 SPRO WE20

Move on to Message control tab and add line as per screen shot below.

Configuration outbound orders EDI message MN04 SPRO WE20

Save and exit transaction.

If you now raise purchase order under purchase organisation and vendor we create condition records in above steps you should see condition type NEU with Medium EDI.

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

Leave a Reply