Quantcast
Channel: SCN : Popular Discussions - SAP CRM: Marketing
Viewing all articles
Browse latest Browse all 2001

In loyality management i want to implement the badi for calculating the rules in loyality management?

$
0
0

Hi Team,

 

My requirement is i want to implement the badi for calculating the rules in  loyality management ? And i want to implement badi as below points.note number - 1222887,so iam new to Loyality management could you please explain in detail.

 

2.2 New Actions

1. Define new actions in SPRO on BBPCRM

2. Implement the BADI LOY_CUSTOM_ACTION ( Enhancement Spot LOY_CUSTOM_ACTIONS ) on CRMLOY

3. For each new action, provide code in method ACTION_EXECUTE using a CASE..WHEN statement for the

parameter IV_METHOD.

Parameters for the method are

IV_METHOD The method name

IV_ACTION_PARAMS Parameters and values for the action

IV_LOG_REQUIRED Are logs to be returned

EV_ERROR Error in execution the action

ET_LOGS Logs in table format

See code in CL_LOY_PROC_ENG_HNDLR::ACCRUE_POINTS for SAP defined action 'Earn Points'. The

parameters for ACCRUE_POINTS is pre-defined, and cannot be changed. Custom actions can have

same/different parameters as applicable and is passed via IV_ACTION_PARAMS parameter. Note that this

BADI is called for all custom defined actions.

 

Thanks

Kalpana


Viewing all articles
Browse latest Browse all 2001

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>