Skip to Content

From SAP Hybris Marketing On Premise release 1508 onwards, it is technically possible to connect custom service providers (e.g. for email, text messages, messengers etc.) by implementing a custom provider adapter.

We created a series of documents that describe how this can be achieved in detail using a concrete example for developers. We use SendGrid as an example as it offers the possibility to request a test account for free. Thus, everyone should be able to repeat the described steps here and learn by doing.

We have splitted this example into three different documents that deal with different aspects of the connection and an appendix that contains the complete coding:

  1. Sending Emails
  2. Collecting Bounces/Feedback
  3. Specific Integration related topics
  4. Appendix: Complete Example Adapter Implementation

Looking forward to your feedback in order to improve the documents and make it easier to for you to connect your Email Service Provider to SAP Hybris Marketing.

To report this post you need to login first.

12 Comments

You must be Logged on to comment or reply to a post.

  1. Christian Steinert

    Dear Frank

    Thank you for this very clear and very helpful description.

    As you write this approach cannot be used for the cloud version of hybris marketing because as far as I understood there is no way to add custom classes on the hybris server in that case.

    Is there any alternative extension interface that could be used in the cloud version for such example? For example, could offer a standardized rest-based interface to the cloud version of hybris marketing and in that way offer an interface to other external email providers?

    Thanks a lot

    Christian

    (0) 
    1. Frank Wittig Post author

      Hello Christian,

      As of SAP S/4HANA Marketing Cloud 1608 we deliver an integration with AMAZON Simple Email Services and SAP Mobile Services for sending emails.

      Depending on your concrete scenario and requirements there are additional interfaces that may be used:

      • Open Channel Interface
      • External Campaigns Interface
      • CSV based file export

      You can find the details on the Help portal

      https://uacp.hana.ondemand.com/http.svc/rc/PRODUCTION/6e5cad3a964d429194c436c18a184f6f/1608%20500/en-US/frameset.htm

      In case we add additional options, we will immediatly update this blog and the referenced documents.

      Best regards,

      Frank

      (1) 
  2. Ahmad Alwadi

    Dear Frank,

    First, Can you please explain in more details how to add the Certificate Authority for the API endpoint api.sendgrid.com in PSE system using STRUST. I used the certificate provided by GoDaddy https://certs.godaddy.com/repository, where it is the only document I found referring to this issue.

    Second, would you please explain how to redefine the Constructor method. I am trying to redefine. however, it always asks for an access key to edit in the superclass CL_CUAN_MKT_EXEC_EMAIL.

    Thanks in advanced,

    Ahmad

    (0) 
    1. Frank Wittig Post author

      Hi,

      At least for testing purposes, I typically download the SSL certificate using a browser for endpoint https://api.sendgrid.com/v3/mail/send. You have to upload that in STRUST for the PSE that is referred to in the RFC destination in transaction SM59 under ‘Security Options’.

      Not sure, what piece of information is missing regarding he constructor here. In the appendix, the complete coding that I used is available https://archive.sap.com/documents/docs/DOC-75159.
      Could you please provide more details?

      Best regards,

      Frank

      (0) 
  3. Jerin Mathew

    Hi Frank,

    Thank you for the well written blog. I have a question, regarding interface method

    IF_CUAN_MKT_EXEC_EXECUTE_ACTN~PROCESS.

    Do we have to manually override the method to send email packages from the target groups?

    Thanks

    (0) 
    1. Frank Wittig Post author

      Hi,

      If you only want to use another ESP, then you don not need to override this method. You just have to follow the steps described in this blog.

      If you would like to change/enhance additional logic during the campaign email execution then you can override this method and introduce for example additional checks or changes to the personalization.

      How to do this is described in the extensibility guide, chapter 7.4

      Best regards,

      Frank

      (0) 
    1. Frank Wittig Post author

      Hi,

      As mentioned in the introduction, this blog is only about the on premise deployment.

      In the 1705 cloud version there is no integration of external ESPs beside AMAZON SES and SAP Mobile Services Intelligent Notifications supported. As soon as there is an integration of external email services also for the cloud version, we will add a dedicated blog.

      Best regards,

      Frank

       

      (0) 
  4. Michael DiLillo

    Frank:

    Quick question doing some follow up for a client, does SAP integrate officially with any ESP or do all integrations require custom development work to connect API’s between the two in order to populate an ESPs database?

    Thanks,

    Mike

    (0) 

Leave a Reply