Ansicht
Dokumentation

CRM_ISX_PRP_NOTIFICA - BAdI: Get Messages from SAP CC

CRM_ISX_PRP_NOTIFICA - BAdI: Get Messages from SAP CC

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

In the prepaid scenario you can send a message to the customer if an amount limit is reached or an account status is changed, for example when an account has expired. There are two limits, one for the amount and one for the expiration. There are defined alert amounts in SAP CC. When the customer's balance amount is the same as the alert amount, the customer gets a message by e-mail, fax, or SMS. You can define the relevant communication channel in SAP CRM. The second alert is triggered if the status of the prepaid account has changed.

This BAdI is only performed in provider order documents.

There is no default implementation.

For the alert, the RFC function module CRM_ISX_PPACC_ALERT_HANDLER is provided. With this function module, SAP CC can send the alert messages to the customer. The RFC function module CRM_ISX_PRP_NOTIFICATION_MSG is created in SAP CRM. This function module will be called from the event handler function module CRM_ISX_PPACC_ALERT_HANDLER.

The customer can define the alert code and alert amount in SAP CC. Afterwards he or she can implement their own logic to trigger the notification. This BAdI has two methods which have to be implemented by the customer:

  • SEND_CUSTOMER_MESSAGE_SINGLE
    Only a single data set is handled.
  • SEND_CUSTOMER_MESSAGE
    All data is handled.

The filter for the BAdI, the alert code, has to be defined in SAP CC. Depending on this filter, the customer can use different implementation, for example the customer can define the alert code TEST_MAIL in SAP CC and define this as the filter in SAP CRM. If the alert TEST_MAIL is triggered in SAP CC, only the implementation for this filter is called in SAP CRM. The communication channel has to be defined in SAP CRM.

There is an example to show how the customer can use the implementation. In this example class CL_CRM_ISX_NOTIF_MSG_EXAMPLE, the customer gets notified via e-mail. The master data of the business partner is displayed first. The e-mail address of the business partner has to be maintained as communication channel in the partner maintenance.






rdisp/max_wprun_time - Maximum work process run time   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2264 Date: 20240523 Time: 165517     sap01-206 ( 56 ms )