Skip to Content
Technical Articles

SAP-CRM Loyalty Open Channel Integration

Summary:

Often there is a requirement to transfer the Loyalty relevan data between SAP-CRM to other systems. There is ofcourse an way to Transfer the data alongwith Account (Business Partner) data through PI or CPI to other System. But if it is needed that, the system should triggger a call when some milestone is reached like:

  1. New Member
  2. Member has reached certain Level
  3. Member has certain Points

We can use the standard mechanism “Open Channel”, where you can write logic and call RFC or WebService.

 

Steps:

In the configuration, you need to define Event to trigger the outbound interaction

  1. Loyalty -….-> Outbound Corrsspondence -> Define Event
    1. Define the Event and assign the receiver type for example “New Member” or “Member”
  2. Loyalty -….-> Outbound Corrsspondence -> Define Outbound Profile
    1. Here you need to define the Profile and assign the Event from previous Step
    2. Communication Channel should be “Open”
    3. Status – Active
    4. Exceutionmode – Direct or Background

 

WebUI

After you create a Loyalty Programm or to an existing Loyalty Programm, you need to assign the “Outbound Profile” which you created in previous Step.

BADI:

After the configuration, you need to implement a BADI of Enhancement Spot “CRM_LOY_OUTBOUND_PROCESS_ES”

  1. In method “ADD_EVENTS” -> you need to append the Outbound Profile to the internal table “et_cust_events”. You can also retrict with Objec Type
  2. In method “HANDLE_OPEN_CHANNEL” -> you can extract all data and call the RFC, WebService as required

 

 

Be the first to leave a comment
You must be Logged on to comment or reply to a post.