Entering content frame

Function documentation Enhancements for R/3 ORDERS IDoc Mapping Locate the document in its SAP Library structure

Use

You have been provided with Business Add-Ins (BAdI) to facilitate your specific business scenarios for processing of Sales ORDER IDoc Mappings.

Features

You have been provided with the following enhancements:

·         CRMXIF_ORDER_R3_MAP

This BAdI allows you to carry out enhancements at every segment of the ORDERS IDoc Mapping. You can use this BAdI to enable the following scenarios:

¡        Enhancement to data record of ORDERS IDoc

For example, you require a Partner Function other than that provided by the R/3 ORDERS IDoc Mapping. To do so, you can implement this BAdI, which is available at the end of the Partner segment mapping.

This scenario is relevant for both, Inbound and Outbound mappings.

¡        Enhancement for customer specific processing

This scenario is relevant for both, Inbound and Outbound mappings.

¡        Enhancement for additional data

You can use this BAdI to map data apart from transactional data. For example, you require data that can only be populated to IDoc segment by reading master data.

This scenario is relevant for both, Inbound and Outbound mappings.

¡        Enhancement of additional data for the Sales ORDER Business Transaction (CRM Transaction - CRMD_BUS2000115) screen

There can be two scenarios:

§         The field exists on the User Interface but not in the Complex Data Structure. Easy Enhancement Workbench (EEW) tool extends the Complex Data Structure with the new field.

§         The field does not exist either on the User Interface, or in the Complex Data Structure. The EEW tool extends both, the Complex Data Structure and the User Interface, with the new field.

You can use this BAdI to support mappings between the extended Complex Data Structure field and the existing or extended User Interface field.

This scenario is relevant only for Inbound mappings.

This BAdI has two Methods:

¡        BADI_IN_ORDER_IDOC_001

This method is called at every segment of the Inbound ORDERS IDoc Mapping.

¡        BADI_OUT_ORDER_IDOC_001

This method is called at every segment of the Outbound ORDERS IDoc Mapping.

·        CRMXIF_ORDER_R3_ALL (Method - BADI_AFTER_MAPPING_ALL_SEG)

This BAdI allows you to carry out enhancements after mapping all the segments of the ORDERS IDoc Mapping. You can use this BAdI to enable the following scenarios:

¡        Enhancement to add new segment to ORDERS IDoc

You can implement this BAdI to add customized segments to ORDERS IDoc.

This scenario is relevant for both, Inbound and Outbound mappings.

¡        Enhancement for customer specific error handling

You can use this BAdI to check the correctness of the incoming data.

This scenario is relevant only for Inbound mappings.

¡        Enhancement to change the Status Record

You can use this BAdI to add specific status messages to the Status Record. You may be required to implement this enhancement after processing customer specific error handling in an inbound direction. For example, you want to track the status of a processed IDoc with specific status messages.

This scenario is relevant only for Inbound mappings.

·        CRMXIF_ORDER_R3_DTCR (Method - BADI_AFTER_MAPPING_CONTROL)

This BAdI allows you to carry out enhancements after the system populates the control record data. You can use this BAdI to enable the following scenarios:

¡        Enhancement for new Message Types

For example, you may want to reduce the standard IDoc by filtering the specific segments and fields. This will result in assigning new Message Type to the IDoc Type. This BAdI supports you to process the document with new Message Type.

¡        Enhancement for Extended IDoc Type

For example, you may want to extend the standard IDoc for business specific requirement. This will result in defining new extended IDoc Type. This BAdI supports the processing of the document containing new IDoc Type.

This BAdI is relevant only for Outbound mappings.

·        CRMXIF_ORDER_R3_FINL (Method - BADI_FINAL_CHANGES)

This enhancement allows you to enhance ORDERS IDoc Mapping after mapping the data and the control record. You can use this BAdI to make final adjustments to the data that is sent out in the Outbound direction.

This graphic is explained in the accompanying text

For information on configuring the BAdIs mentioned above, see the documentation in the SAP CRM System through Transaction SE18.

 

Leaving content frame