Identification of Outbound Messages
Purpose
In this process, RosettaNet Mappings identifies the outbound CRM IDoc message and selects the corresponding XSL Template for transforming the message to a RosettaNet message.
For a sales transaction, the SAP CRM System generates only one type of outbound message, which is the CRMXIF_ORDER_SAVE_M01 . From this CRMXIF_ORDER_SAVE_M01 message type, RosettaNet Mappings generates the corresponding RosettaNet Message .
RosettaNet Mappings supports the transformation of the following outbound messages:
PIP3A8 Request Purchase Order Change
PIP3A7 Notify of Purchase Order Update
The Identification of an outbound message is depends on the:
OBJECT_TASK
PO_NUMBER_SHIP (in SALES segment of CRMXIF_ORDER_SAVE_M01)
Remote Users List
Remote Users List
Remote users are the users of an external system, with authorizations to remotely use the functionalities of the CRM System.
RosettaNet Mappings maintains a list of the Remote users of the CRM System, in a list called the Remote user list . It maintains this list as a value template. Users in the Remote user list must be unique within the list and you must not use the same User Names as the CRM Online user names .
Process Flow
While processing an outbound message, RosettaNet Mappings :
Checks for the value of OBJECT_TASK flag at the Header of an outbound CRMXIF_ORDER_SAVE_M01 message.
PIP3A4 Request Purchase Order
When the value of the OBJECT_TASK flag at the Header is I (Insert), it indicates that the SAP CRM System generated the CRMXIF_ORDER_SAVE_M01 message because of an inbound PIP3A4 Request Purchase Order message. RosettaNet Mappings identifies that it needs to generate a PIP3A4 Purchase Order Confirmation message.
PIP3A8 Request Purchase Order Change
When the value of the OBJECT_TASK flag at the Header is U (Update), it indicates that the SAP CRM System generated the CRMXIF_ORDER_SAVE_M01 message because of an inbound PIP3A8 Request Purchase Order Change message or a PIP3A7 Notify of Purchase Order Update message.
To identify whether the SAP CRM System generated the CRMXIF_ORDER_SAVE_M01 message because of an inbound PIP3A8 Request Purchase Order Change message, RosettaNet Mappings checks for the CHANGED_BY user in the Remote Users List .
If the CHANGED_BY user exists in the Remote Users List , RosettaNet Mappings identifies that it needs to generate a PIP3A8 Purchase Order Change Confirmation message.
RosettaNet Mappings also identifies whether it should generate a PIP3A8 Purchase Order Change Confirmation Message with the GlobalPurchaseOrderChangeCode as Change or Resend .
It identifies a Resend or Change message based on SALES.PO_NUMBER_SHIP . If the first ten characters are:
3A8 Change - RosettaNet Mappings generates a PIP3A8 Change message
3A8 Resend - RosettaNet Mappings generates a PIP3A8 Resend message
PIP3A7 Notify of Purchase Order Update
When the value of the OBJECT_TASK flag at the Header is U (Update), it indicates that the CRM System generated the CRMXIF_ORDER_SAVE_M01 message because of an inbound PIP3A8 Request Purchase Order Change message or a PIP3A7 Notify of Purchase Order Update message.
To identify whether the CRM System generated the CRMXIF_ORDER_SAVE_M01 message because of a seller-driven change in the SAP CRM Online System, RosettaNet Mappings checks for the CHANGED_BY user in the Remote Users List .
If the CHANGED_BY user does not exist in the list, RosettaNet Mappings identifies that it needs to generate a PIP3A7 Notify of Purchase Order Update message.
Selects the Master Style Sheet corresponding to the message identified. There are individual Master Style Sheets for every RosettaNet Message .
The Master Style Sheet uploads all style sheets required to transform a CRM IDoc message in XML format, to the equivalent RosettaNet message format.