Ansicht
Dokumentation

CRMVC_DYNAMIC_ATTR - Define Dynamic Attributes

CRMVC_DYNAMIC_ATTR - Define Dynamic Attributes

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

In this Customizing activity, you define dynamic attributes for your loyalty program. You use dynamic attributes to track member behavior in the context of reward rules or your loyalty program, and to trigger member activities, for example, to change a member's tier. The dynamic attributes that you define are available for use in your loyalty program. You must assign dynamic attributes to your loyalty program for them to be available in rule conditions and actions.

Member activities have the following effects on dynamic attributes:

  • When a member does a member activity that is subject to your rules, and that results in an action to change the dynamic attribute, then the system updates the value for the dynamic attribute in the membership object.
  • If a member has not yet done a relevant member activity to update a dynamic attribute, the system does not create the dynamic attribute in the membership until the member has done the relevant member activity.

You define possible values for the dynamic attributes, and make one of the possible values the default value. The system uses the default value in the rule conditions until the first time it saves the dynamic attribute in a membership object due to a relevant member activity.

We provide a number of dynamic attributes that you can use. The following table shows those that we provide:

Data Type Quantity Example of Use
Number 20 To count the number of member activities done by a member
Date 10 To record the date of the last member activity done by a member
String 10 To record the name of the last product purchased by a member

If you need more dynamic attributes, you create them in this Customizing activity.

10

10 10

In this Customizing activity, do the following steps to define a new dynamic attribute:

  1. In the Dynamic Attributes subdialog, define an ID, data type, and description for your dynamic attribute.
  2. Select your new dynamic attribute and choose the Object Types subdialog.
For loyalty management, select the object type Loyalty Program.
  1. Select your loyalty program and choose the Assigning Attributes subdialog.
For loyalty management, select the context MEMS_DYN_ATTR.
  1. Select your dynamic attribute and choose the Possible Values subdialog. Enter possible values for your dynamic attribute, and select a default value.

You define member activities for tier management in the Customizing activity Define Member Activity Categories and Types.

10

You create a dynamic attribute "NumQualifyingFlightsBasicTierGroup", and assign it to a reward rule. You set up the reward rule for the system to update the dynamic attribute in memberships. You define that members can move to the next tier in the tier group after 20 qualifying flights.

When a member in the regular tier group takes a qualifying flight, the system updates the dynamic attribute in their membership. The tier change reward rule has a rule statement to check if the dynamic attribute reaches the value 20, and move the member to the next tier.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 4353 Date: 20240523 Time: 152352     sap01-206 ( 68 ms )