Ansicht
Dokumentation

BADI_CRM_ODN_DCLASS - BAdI: Get Document Class Based on Sales Org, Billing Type and Net Amount

BADI_CRM_ODN_DCLASS - BAdI: Get Document Class Based on Sales Org, Billing Type and Net Amount

Fill RESBD Structure from EBP Component Structure   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (Add-In) is used in the Official Document Numbering component. This Add-In enables you to define customer specific logic to get the document class.

In the standard system, you get the document class based on the Billing Organization. In case you want to get the document class based on Sales Organization or Billing Type or Net Amount, you can do so using this BAdI.

Note

In case, you do not want to generate Official document number (ODN) for a specific billing type, you should send the document class parameter as null.

You should only carry out this step if both of the following points apply:

  1. The SAP standard processes do not suit your needs
  2. You are a competent ABAP/4 programmer

In the standard system, the Business Add-In is not activated.

After calling up the IMG activity, a dialog box appears, in which the existing implementations are displayed. Choose Change, and proceed as follows:

  1. From the tab index, choose Interface.
  2. Save your entries, and assign the implementation to a development class.
  3. Place the cursor on the method, and double-click to enter method processing.
  4. Enter the coding for the implementation between the statements method ~ and end method.
  5. Save and implement your coding. Return to the Edit Implementationscreen.
  6. Save the entries on the Edit Implementation screen.

Note

You can also change an implementation, and then activate it at a later time. In such a case, end the processing stage at this point.

  1. Choose Activate.
  2. The coding you stored






rdisp/max_wprun_time - Maximum work process run time   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2244 Date: 20240523 Time: 221539     sap01-206 ( 36 ms )