Ansicht
Dokumentation

RLOY_CARD_ORDER_STATUS_UPDATES - Status Update Batch process

RLOY_CARD_ORDER_STATUS_UPDATES - Status Update Batch process

General Data in Customer Master   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This report is used to perform status updates on the cards that have been ordered for printing through the external service provider. These status updates are based on the inputs provided by the external service provider. The status updates can be:

1. Change of status from Ordered to Active

2. Change of status from Active to Returned

3. Entering of fields Ordered At, Printed At, Shipped At or Order Reference Number.

Integration

Prerequisites

A file must be prepared as input to this report which consists of data of all the cards for status updates in the following format:

  • The file should consist of rows for each card
  • In each row the columns should be sequenced as: Card ID, Membership ID, Card Order Reference Number, Ordered At, Printed At, Shipped At.

This report must not be run in the background.

Features

This report accepts as input a file in the format as described above. Only cards which are currently in the status Ordered or Active are allowed. Other cards if any, are ignored.

The other input of this report is the status to which all the cards entered in the file need to be changed. This status can be entered as either Active or Returned only (since only status changes Ordered to Active or Active to Returned are allowed).

The fields Ordered At, Printed At, Shipped At or Order Reference Number are entered only when the card status is being changed from Ordered to Active. However these fields cannot be changed if already entered. Also, the card status is changed from Ordered to Active only for those cards for which the 'Shipped At' date is provided.

While changing card status from Ordered to Active, the membership:
Must be 'Active'
The corresponding loyalty program must be 'Released' .
The validity of the card must not have lapsed.

BADI: The logic of reading of the file entered in the input parameter 'File' can be changed using the BADI, Customer Relationship Management -> Marketing -> Loyalty Management -> Business Add-Ins for Loyalty Management -> BAdI: Collection of Extra Cards for Ordering and the BADI method STATUS_UPDATE_EXTERNAL.

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

Selection

The inputs to this report are:

1. File: This is the location of the input file in which the card data (for which status updates are necessary) is entered. This is a mandatory parameter.

2. Status: This is the status to which all the cards entered in the file is to be changed. This is also a mandatory parameter. Only the status 'Active' or 'Returned' can be entered here.

Standard Variants

Output

This report changes the status of the cards and also populates the fields Ordered At, Printed At, Shipped At or Order Reference Number, as defined in the input file.

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

Activities

Example






CPI1466 during Backup   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 3763 Date: 20240520 Time: 065109     sap01-206 ( 65 ms )