Skip to Content
author's profile photo Former Member
Former Member

Need BADI when distributing sales document to ERP

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Apr 26, 2012 at 06:12 AM

    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.
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.