Skip to Content

Create interaction record in SAP CRM programmatically

Our SAP Hybris Marketing is integrated with the SAP CRM. Right now we are facing the following problem:

We send emails with qr codes in Hybris Marketing. It encodes the ID of the executing campaign and the interaction contact key of the recipient. The code represents a ticket to an event. In the next step we use a UI5 application with barcode scanner to decode the code. This information should now be used to create an interaction record in the SAP CRM. How can this be achieved?

I'm trying to find out what options are available for creating this interaction record. Is there, for example, an OData service or badi that can help? Or can the functionality for link tracking be used (put together link and call directly to generate interaction)?

Thank you for any hint!


UPDATE: Just found this (not yet checked)

"To create CRM business transactions from SAP Hybris Marketing, you use the enhancement spot CUAN_CRM_CREATE_1O (Trigger Creation of CRM Activity) to implement the BAdI CUAN_CRM_CREATE_ONEORDER_ACT (Create Business Transactions). This BAdI includes a standard implementation."

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 15, 2018 at 04:59 PM

    Hi Ubkcah,

    Firstly, i am happy to see that you managed to get the qr codes into emails(expecting that you did post the solution to your other problem).

    also for creating these business interactions in CRM i think the trigger is required when you read/scan the qr codes. As you will send the email to the customer prior to even and the customer may open and also click on any of the links supplied in the email prior to the even or without turning up at the event so link tracking may not be the best solution. You require something at the QR code scanner end to some how either trigger a response in ymkt as an interaction which can be further used to create CRM transactions or Thank You emails as a trigger based campaigns, but the trigger point in my view has to reside at the UI5 application scanning and reading the bar codes. you could simply call one of the api's for posting an interaction into ymkt.



    Add comment
    10|10000 characters needed characters exceeded