Entering content frame

Process documentation Purchase Order IDoc Mapping Locate the document in its SAP Library structure

Purpose

This describes the process followed by R/3 ORDERS Mapping while transforming an:

·        Inbound Purchase Order or Purchase Order Change, with an R/3 ORDERS IDoc message format, into a CRM IDoc message format. The message type of the inbound message may be ORDERS or ORDCHG, based on whether the message is a Purchase Order or a Purchase Order Change.

·        Outbound Purchase Order Confirmation message, in a Complex Data Type for Business Transaction message format, into an R/3 ORDERS IDoc message. In response to the inbound message, the Vendor system creates a sales order and sends a confirmation message to the Buyer System. The outbound message is of the message type ORDRSP.

This graphic is explained in the accompanying text

The SAP CRM System:

·         Creates a sales order, when it receives a message of type ORDERS

·         Updates an existing sales order when it receives a message of type ORDCHG

In both the cases, the SAP CRM System sends an outbound confirmation message of type ORDRSP.

Process Flow

Inbound and Outbound Scenario for Purchase Order IDoc Mappings

This graphic is explained in the accompanying text

Inbound Message - Purchase Order or Purchase Order Change

In an inbound processing, the Buyersends a purchase order to the Seller.

The Application Link Enabling (ALE) layer receives the inbound R/3 ORDERS IDoc with message types ORDERS or ORDCHG and stores the message in the database. The R/3 ORDERS IDoc Mapping receives the inbound R/3 ORDERS IDoc message via the ALE and transforms it into a CRM IDoc message in sequential steps. During transformation, the R/3 ORDERS IDoc Mapping maps the:

       1.      R/3 ORDERS IDocstructure to the Complex Data Type of the SAP CRM System.

       2.      Complex Data Type to the Messaging BDoc (mBDoc)

       3.      R/3 ORDERS IDoc Mapping then passes the mBDoc to the Structure linkCRM Middleware for validation. The successful processing of an mBDoc triggers the creation of a sales order in the Vendor system.

Outbound Message - Purchase Order Confirmation

In the outbound processing, the Sellersends a sales order confirmation to the Buyer.

The CRM Middleware Structure linkreplicates the sales order confirmation to the external receivers based on the Structure linksite types of the recipients, for further processing. When the recipient site type is the External Interface for IDocs, it transfers the mBDoc to the External Interface Adapter.

R/3 ORDERS IDoc Mapping maps the outbound Complex Data Type for Business Transactionsmessage into a R/3 ORDERS IDocmessage in sequential steps. During transformation, the R/3 ORDERS IDoc Mapping maps the:

...

       1.      mBDoc to the Complex Data Type of the SAP CRM System

       2.      Complex Data Type to the R/3 ORDERS IDocmessage of type ORDERSP

R/3 ORDERS IDoc Mapping sends the transformed outbound message to the Buyer system.

See also:

Request for Quotation IDoc Mapping

 

Leaving content frame