Ansicht
Dokumentation

CRM_PROVIDER_SALES_C - BAdI: Manage Application According to Data from Credit Mgmt System

CRM_PROVIDER_SALES_C - BAdI: Manage Application According to Data from Credit Mgmt System

PERFORM Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

The Business Add-In CRM_PROVIDER_SALES_CONTROL_UI (Control of Dealer Application) is used in the component CRM → Basic Functions → Credit Management (CRM-BF-CM).

This BAdI can be used to control contract sales in connection with the credit data from connected credit management systems (SAP Credit Management, for example) and the order as follows:

  • During the sale of telecommunications contracts, the system displays the symbol for the risk category in the interface's header area. You will have defined this symbol in the IMG activity Define Icons for Risk Class Categories. You can define the text connected with this using the method ACTION_INSTRUCTION Execute Instructions.
  • In order to deactivate pushbuttons on the interface if a business partner has a bad risk category, for example, and thereby prevent the further processing of a sales order for this customer, use the method BUTTON_ACTIVE_INACTIVE Deactivate Pushbutton.

The implementationCL_CRM_IMP_PROVID_SALE_CONT_UI works as follows:

  • For the method ACTION_INSTRUCTION Execute Instructions, the instructions are as follows:
  • Risk categories Low riskand Medium risk: 'Customer is creditworthy'

  • Risk category High risk: ' Only pre-paid rate plan possible!'

  • Risk category No risk category available: 'Risk category is being calculated'.

  • For the method BUTTON_ACTIVE_INACTIVE Deactivate Pushbutton, the pushbuttons Continue and Print are grayed out for business partners with the risk category High risk.

You can also read the data for the corresponding order in your implementation and, for example, respond differently for pre-paid items than for post-paid items.

The BAdI is intended for individual use.

If you deactivate this implementation, no instructions are displayed and the pushbuttons Continue and Print are always active.

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

This BAdI uses the interface IF_CRM_PROVIDER_SALES_CONT_UI. For further information, display the interface in the Class Builder.






TXBHW - Original Tax Base Amount in Local Currency   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3857 Date: 20240523 Time: 153001     sap01-206 ( 111 ms )