Ansicht
Dokumentation

CRM_MKTPL_OFRCODE - BAdI: Define Coupon Code Handling

CRM_MKTPL_OFRCODE - BAdI: Define Coupon Code Handling

rdisp/max_wprun_time - Maximum work process run time   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

This BAdI provides methods for handling coupon codes in the system. The rules are normally defined by the clearing house which must accept the codes.

The method CALCULATE_CHECK_DIGIT allows for a calculation of a check digit.

The method FORMAT_OFFER_CODE can be used to define the length of the coupon codes in the system (e.g. 5 digits, 7 digits) by adding leading zeros to the code.

The BAdI provides the following methods and parameters:

CALCULATE_CHECK_DIGIT

  • IV_MANUCODE:

,,,,Specify the manufacturer code (optional).

  • IV_CLEARING_HOUSE:

,,,,Specifiy the GUID of the clearing house (optional).

  • IV_OFFER_CODE:

,,,,Specify the coupon code.

  • EV_CHECK_DIGIT:

,,,,Return the check digit.

FORMAT_OFFER_CODE

  • IV_CLEARING_HOUSE:

,,,,Specify the GUID of the clearing house.

  • CH_OFFER_CODE:

,,,,This parameter holds the coupon code before and after the change.






CPI1466 during Backup   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1630 Date: 20240523 Time: 165141     sap01-206 ( 20 ms )