Ansicht
Dokumentation

CRM_CREDIT_BADI2 - BAdI: Implement Checking Rules

CRM_CREDIT_BADI2 - BAdI: Implement Checking Rules

CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

In this activity, you implement rules that control how the system performs credit checks. For example, you can implement rules that allow Credit Management in SAP S/4HANA for customer management to communicate with systems other than SAP Credit Management (FIN-FSCM-CR).

You have defined the rules in the activity Define Checking Rules.

The standard system contains the following implementations:

  • Implementation for rule 01, which accesses the automatic credit check in Credit Management (FI-AR-CR)
  • Implementation for rule 02, which accesses the automatic credit check in SAP Credit Management (FIN-FSCM-CR) (only released for the Telecommunications industry).

Use rule 01 as an example when implementing a new rule. The main steps in rule 01 are as follows:

  • The interface to the external credit check is filled with data from the structure CT_ORDER_DATA. This structure contains the data from customer management that is required for the credit check.
  • As part of this process, the Payer in customer management is mapped to the Customer in SAP ECC, and the organizational data from customer management is mapped to the organizational data in SAP ECC.

  • The external credit check is called.
  • The structure CT_ORDER_DATA is filled with data from the interface to the external credit check. This data includes the result of the check as an error, warning or message.

If you want to use XI to connect to an external credit management system, use rule 02 as an example when implementing a new rule. The main steps in rule 02 are as follows:

  • The interface to the external credit check is filled with data from the structure CT_ORDER_DATA. This structure contains data from customer management required for the credit check.
  • As part of this process, the Payer in customer management is mapped to the SAP Business Partner and the sales organization is mapped to the credit segment in SAP Credit Management (FIN-FSCM-CR).

  • The external credit check is called using XI.
  • The structure CT_ORDER_DATA is filled with data from the interface to the external credit check. This data includes the result of the credit check as an error, warning or message.

When you define and implement a rule, the number and the description are displayed in the activity Maintain Credit Groups, where you assign rules to the groups. In Customizing see Customer Management → Basic Functions → Credit Management → General Settings Maintain Credit Groups.






CL_GUI_FRONTEND_SERVICES - Frontend Services   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3283 Date: 20240523 Time: 152628     sap01-206 ( 55 ms )