cancel
Showing results for 
Search instead for 
Did you mean: 

Need BADI when distributing sales document to ERP

former_member381146
Participant
0 Kudos

Hi Experts,

Could you please let me know the list of BADIs called when a sales document is created in SAP CRM and distributed to SAP R/3.

The sales document will created in non-SAP system and sent to SAP CRM system.

I tried to place a breakpoint in exithandler class and debugged the outbound queue to R/3, but could not find any BADI getting called.

Please help me find the needful.

Regards,

Santosh

Accepted Solutions (0)

Answers (1)

Answers (1)

robert_kunstelj
Active Contributor
0 Kudos

Look at badi CRM_DATAEXCHG_BADI.

Methods:

    1. CRM_BDOC_SEND
  • This method is called when you save the document in the CRM system before the mBDOC is created and the sending is triggered (CRM --> R/3). In this method, you can suppress the sending of the BDOC.
    2. CRM_DATAEXCH_AFTER_MBDOC_FILL
  • This method is called when you save the document in the CRM system directly before starting the middleware flow for sending the mBDOC (CRM --> R/3). In the method, you can manipulate the data in the  BDOC.
    3. CRM_DATAEXCH_AFTER_BAPI_FILL
  • This method is called from the R/3 adapter (function module CRM_R3_SALESDOCUMENT_UPLOAD). The method is called after the mapping of the MBDOC to the R/3 BAPI data immediately before calling the R/3 BAPI  (CRM --> R/3). In this method, you can manipulate the data for the R/3 BAPI.
    4. CRM_DATAEXCH_R3D_MBDOC_FILL
  • This method is called from the mapping of the R/3 data to the mBDOC during the R/3 --> CRM data exchange. Here, you can manipulate the data directly in the mBDOC.