Ansicht
Dokumentation
CRMXIF_PREQCONF_CMAP - BAdI: Purchase Requisition: Process Completion Confirmation
General Material Data CPI1466 during BackupThis documentation is copyright by SAP AG.
Use
External interface CRMXIF_PREQ_CONF_SAVE - Receive confirmation for a purchase requisition from a purchasing system (SAP SRM).
This Business Add-In (BAdI) gives you an opportunity to modify the message after it is received and before it is processed further.
You can use your own implementation of interface method CHANGE_MAPPED_DATA_IN to influence the data
mapping from the proxy structure (source document) to the BDoc structure (proxy structure) after receipt.
Import parameter IS_DATA (proxy structure) provides the data from the source document. Changing parameter
CS_MESSAGE_EXT contains the BDoc structures that are already filled by SAP. You can define your own
rules to change the fields of the BDoc structures. Please note, however, that this can cause errors
during further processing of the BDoc in the system - for example, because required-entry fields were
deleted or field contents have been changed and can no longer be processed. Please also read the documentation for transaction messaging BDoc 'BUS_TRANS_MSG'.
Requirements
You want to generate a purchase order from a lease quotation (object items) in a connected purchasing system (SAP SRM). To do so, a requirement notification is set to the purchasing system, which creates a shopping cart and generates a purchase order from it. To do so, you have activated the corresponding external interface, CRMXIF_PURCH_REQ_SAVE, to send this message to the purchasing system via the exchange server (XI). The purchasing system sends confirmations back as a reply to the requirement notification: one confirmation when the shopping cart is created and another when the purchase order is created. To receive and process confirmations, you have to activate external interface CRMXIF_PREQ_CONF_SAVE .
Default Settings
The BAdI is not active in the standard system.
Activities
Example
ABAP Short Reference RFUMSV00 - Advance Return for Tax on Sales/Purchases
This documentation is copyright by SAP AG.
Length: 2038 Date: 20240523 Time: 180823 sap01-206 ( 60 ms )