Ansicht
Dokumentation

RLOY_CARD_ORDERING_EXTERNAL - Loyalty Management: Card Ordering

RLOY_CARD_ORDERING_EXTERNAL - Loyalty Management: Card Ordering

TXBHW - Original Tax Base Amount in Local Currency   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This report is used to order all the cards in the system that are in the status 'Created' for printing . Only the cards that are under 'Active' memberships and 'Released' programs and whose valid to date has still not lapsed, are considered.
This report selects all such cards and changes thier status to 'Ordered' while also transferring related data of the selected cards to csv files. These csv files are sent to the external card service provider to order cards for printing.

This report is run in the background only.

Integration

Prerequisites

Features

During each execution of this report, three new csv files are created as attachments under the respective loyalty program entered, which contain:

1. Data of cards selected during the execution for ordering.

2. Data of memberships to which the selected cards belong.

3. All the data (as maintained in the Customizing activity, Customer Relationship Management -> Marketing -> Loyalty Management -> Memberships -> Membership Cards -> Define Membership Card Types, Layouts, and Status -> Define Card Types) of the card types assigned to the selected cards

The attributes of cards, memberships, or card types transferred to the files as well as the labels of the columns in the files are defined in the Customizing activity, Customer Relationship Management -> Marketing -> Loyalty Management -> Memberships -> Membership Cards -> Define Membership Card Types, Layouts, and Status -> Define Card Ordering Header Labels.

This report changes the status of all selected cards as described above to 'Ordered'.

Also this report implements parallel processing for better performance and the parallel processing parameters used are the values maintained in the Customizing activity, Customer Relationship Management -> Marketing -> Loyalty Management -> Processing Settings -> Define Batch Processing Parameters for the parameters:

1. SERVER_GROUP_BATCH

2. BATCH_CURSOR_SIZE

3. BATCH_RECORDS_PER_WP

BADIs: By default, only the card, membership and card type data is transferred to csv files. The following BADI is used to transfer more data related to these selected cards, Customer Relationship Management -> Marketing -> Loyalty Management -> Business Add-Ins for Loyalty Management -> BAdI: Collection of Extra Cards for Ordering.

The BADI method COLLECT_ORDERING_CARD_DATA is used to collect more data related to each of the selected cards while the method TRANSFER_ORDERING_CARD_DATA is be used to transfer this extra data also to files.

Selection

The inputs to this report are:

1. Loyalty Program: This parameter is mandatory. Only a 'Released' loyalty program ID can be entered here.

2. Card Type: This parameter is optional . Only a card type that is associated with the type of the loyalty program entered in the above parameter can be entered in this field. The association of loyalty program types and card types is maintained in the Customizing activity, Customer Relationship Management -> Marketing -> Loyalty Management -> Loyalty Programs -> Define Profiles for Loyalty Program Types

Standard Variants

Output

The status of all the selected cards, according to the inputs provided during report execution, is changed to 'Ordered' and all relevant data is transferred to csv files .

If any errors occur during the report execution, they are logged in the application log which can be viewed through transaction SLG1 for the object CRMLOY and subobject MSH.

Activities

Example






ROGBILLS - Synchronize billing plans   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3906 Date: 20240531 Time: 075922     sap01-206 ( 81 ms )