help.sap.com 500...Content 1...

632
Integration Guide CUSTOMER SAP Hybris Marketing Cloud Document Version: 1.0 – 2018-02-05 Integration Guide SAP Hybris Marketing Cloud 1802

Transcript of help.sap.com 500...Content 1...

  • Integration Guide CUSTOMERSAP Hybris Marketing CloudDocument Version: 1.0 2018-02-05

    Integration Guide SAP Hybris Marketing Cloud 1802

  • Content

    1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

    2 Integration Scenarios. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82.1 Inbound. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

    Loyalty Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Sales and Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Financial Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Commerce, Social Media, Web, and IoT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28Customer Web Sites and Landing Pages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59

    2.2 Outbound. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70Sending Emails and Text Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70Interaction Center. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101Sales Automation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101Setting Up External Campaign Execution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113Open Channel Integration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150Personalized Commerce. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .181Mobile, Social, and Digital Channel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190

    2.3 Application-Enabling Integrations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198Integration with SAP Analytics Cloud (SAC). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200Integration with SAP Consumer Insight 365. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205Integrate with Content Management Systems or Digital Asset Management Systems. . . . . . . . . . . 209Enabling Geospatial Segmentation with here.com. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .214Integration with Baidu Maps for Geospatial Segmentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214SAP Jam Integration for Collaboration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .216Verifying Email Addresses Using Neverbounce. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216Integration with SAP Hybris Commerce Product Content Management. . . . . . . . . . . . . . . . . . . . . 216Overview of Scope Items for Data Load and Integration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .218

    3 Integration Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2193.1 Integrate with Public APIs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226

    Define Communication User. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228Set Up the Communication System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228Set Up Communication Arrangement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229

    3.2 Contacts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231Payload Examples for Contacts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243Function Import Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251Field Extensibility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253

    2 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Content

  • 3.3 Interaction Contacts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253Payload Examples for Interaction Contacts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265Function Import Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272

    3.4 Corporate Accounts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275Payload Examples for Corporate Accounts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286Function Import Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293Field Extensibility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296

    3.5 Import Business Partners From SAP ERP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296Technical Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296Basic Concepts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .297Structure of OData Service CUAN_BUSINESS_PARTNER_IMPORT_SRV. . . . . . . . . . . . . . . . . . . . 298Field Extensibility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303

    3.6 Import Products. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303Basic Concepts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304Structure of OData Service API_MKT_PRODUCT_SRV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305Payload Examples for Products. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310

    3.7 Import Product Hierarchies and Categories. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316Basic Concepts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317Structure of OData Service API_MKT_PRODCAT_HIERARCHY_SRV. . . . . . . . . . . . . . . . . . . . . . . .318Payload Example for Product Hierarchies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .321

    3.8 Agreements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324Payload Examples for Agreements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330

    3.9 Scores. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3333.10 Import Offers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3393.11 Read Offers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3553.12 Discover Offers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3603.13 Coupons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3733.14 Import External Recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3763.15 Import Recommendations Interaction Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3843.16 Target Groups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3873.17 Export Target Groups and Target Group Member Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3903.18 Compound Import Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390

    Structure of OData Service CUAN_IMPORT_SRV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391Contacts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420Corporate Accounts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433Interactions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436Marketing Permissions and Subscription Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475Products and Product Categories. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .480

    3.19 Use Cases for Importing Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485Import Contacts with Marketing Permissions from an External Source System . . . . . . . . . . . . . . . 486

    Integration Guide SAP Hybris Marketing Cloud 1802Content C U S T O M E R 3

  • Import Interactions for Newsletter Subscriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .488Import Interactions for Marketing Permissions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 490

    3.20 Interactions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4913.21 Import Business Documents from SAP Hybris Cloud for Customer. . . . . . . . . . . . . . . . . . . . . . . . . . .498

    Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498Technical Prerequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499Structure of OData Service CUAN_BUSINESS_DOCUMENT_IMP_SRV. . . . . . . . . . . . . . . . . . . . . 500Basic Concepts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .510Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511Specifics for SAP Hybris Cloud for Customer Integration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .514

    3.22 Import Business Partners from SAP Hybris Cloud for Customer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517Technical Prerequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517Basic Concepts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 518Structure of OData Service CUAN_BUSINESS_PARTNER_IMP_SRV. . . . . . . . . . . . . . . . . . . . . . . 520Importing Business Partners with OData Service CUAN_BUSINESS_PARTNER_IMP_SRV. . . . . . . . 527

    3.23 Import Campaign and Target Group Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5343.24 Import Campaign Execution Plans. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5363.25 Campaigns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5393.26 Campaign Message Content. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5453.27 Personalized Email Content. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5483.28 Import Campaign Success. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5513.29 Read Content of Export Files in Campaigns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5523.30 Import Campaign Success Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5543.31 Import Actual and Committed Spend Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5573.32 Marketing Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5623.33 Marketing Location. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5673.34 Marketing Locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5703.35 Marketing Beacons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5863.36 Integrating Survey. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 594

    Survey OData API. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5973.37 Import of Data into Custom Business Object. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5993.38 Import Analytical Data Using a Web Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6003.39 Import Data (CSV). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 607

    Brands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 615Competitors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 616Audiences. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 616Import Data for Analytics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617

    3.40 Import CSV using SAP Cloud Platform Integration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6183.41 Best Practices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 619

    Import Monitor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 619

    4 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Content

  • Optimizing Performance During OData Service Calls. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 622Recommended Package Sizes and Upload Sequence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 625

    4 Integration Technologies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .629

    Integration Guide SAP Hybris Marketing Cloud 1802Content C U S T O M E R 5

  • 1 Overview

    This guide is the central starting point for the integrations with SAP Hybris Marketing Cloud.

    NoteIn the PDF version of the guide, some links to topics may be missing. All links are available in the HTML version of the guide.

    Document History

    The table lists the major changes in the guide.

    Change Date Changes

    February 5, 2018 (Release to Customer) Initial setup of the guide.

    February 14, 2018 Inserted topic "Payload Examples for Agreements".

    Valid for and reused in releases 1709 SP01 and 1805.

    February 27, 2018 Compound Import Service: Added Interaction Types, Reasons, and Directions to tables in Interactions topic.

    Best Practices: Added info about parallel import sessions to Recommended Package Sizes and Upload Sequence topic.

    February 20, 2018 Added a note on tenant handling in "Integration with SAP Analytics Cloud (SAC)".

    March 27, 2018 Inserted new sections under Contacts, Interaction Contacts, and Corporate Accounts:

    Payload Examples (removed from main topic) Function Import Examples Extensibility Fields (not in Interaction Contacts)

    March 28, 2018 Corrections made to Creating Custom OData Fields for Campaign Success Data [page 146] to reflect new extensible fields as of 1802.

    6 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Overview

  • Change Date Changes

    April 06, 2018 Landing Page Integration document updated to remove details on identification of a contact based on contact origin and ID. Feature disabled for security reasons.

    The Contacts, Interaction Contacts, and Corporate Accounts API service documentation is updated for the MarketingPermission entity to explain that it can be used in batch mode to allow the import of multiple permissions.

    April 23, 2018 Removed topic "Import External Recommendations" under "Integration Services".

    The feature is not supported.

    May 7, 2018 Updated the topic "Integration with Google AdWords" and included new hyperlinks to the recently updated guides in .html.

    We'd really like to know what you think of the quality, structure or content of this guide. Please send your feedback to us at mailto:[email protected].

    Overview

    Integration Scenarios [page 8]Get an overview of the available integrations with SAP Hybris Marketing Cloud. It should guide you through all the required steps for a successful integration with an external system.You can find the most current information about the integrations and also the seperate guides for larger integrations on the SAP Help Portal under https://help.sap.com/mkt Integration . We strongly recommend that you use the documents available here. The guides are regularly updated.

    Integration Services [page 219]Find all services available for importing data into SAP Hybris Marketing Cloud. The overview table lists the integration services available for each entity type. The Recommended Service column indicates which service we recommend you use, including links to detailed information.

    Integration Technologies [page 629]Find a list of technologies that are used to integrate with SAP Hybris Marketing Cloud.

    Integration Guide SAP Hybris Marketing Cloud 1802Overview C U S T O M E R 7

    mailto:[email protected]://help.sap.com/mkt

  • 2 Integration Scenarios

    See the section for information about the integration of SAP Hybris Marketing Cloud with external systems.

    Overview

    The following graphic shows the typical data exchange options. You use the inbound options (on the left) to provide the data you want to process. On the right hand side you find typical outbound integration options you use, for example, to run paid search campaigns, or to use external service providers for the campaign execution.

    Sales and Service [page 13] Financial Data [page 24] Commerce, Social Media, Web, and IoT [page 28] Sending Emails and Text Messages [page 70] Personalized Commerce [page 181] Interaction Center [page 101] Mobile, Social, and Digital Channel [page 190] Application-Enabling Integrations [page 198] Application-Enabling Integrations [page 198] Application-Enabling Integrations [page 198] Inbound [page 9]

    8 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

  • Outbound [page 70] Sales Automation [page 101]

    Integration Setup

    You enable the data exchange with an external system in the cloud by setting up the communication with the system. See the following overview of the typical steps: .

    See the following topics for information about how to perform the steps in general:

    Prerequisites and DetailsFor prerequisites and details you specify to enable specific integration options, see the topics in this section.

    Scope Items

    In the Manage Your Solution app you can find all scope items under View Solution Scope. Each scope item contains predefined content for the implementation of the marketing processes described in the scenarios.

    NoteYou can only use a scenario if its corresponding scope item has a green flag and is active in your system.

    Integration scope items that have a green flag will only work if the integration to the corresponding application is realized and additional licenses might be needed for the same.

    The grey sign shows that the scope item is not available in your system. If you want to use an integration scenario or a greyed-out process, contact SAP

    For a list of integration scope items, see Overview of Scope Items for Data Load and Integration [page 218].

    2.1 Inbound

    Loyalty Data [page 10]

    Sales and Service [page 13]

    Financial Data [page 24]

    Commerce, Social Media, Web, and IoT [page 28]

    Integration Guide SAP Hybris Marketing Cloud 1802Integration Scenarios C U S T O M E R 9

  • Customer Web Sites and Landing Pages [page 59]With this integration you can get marketing permissions and contact data from your web hosting service and the used content management system (CMS).

    2.1.1 Loyalty Data

    You can receive loyalty data from SAP Hybris Loyalty, such as interactions, contact scores, and offers for further processing in SAP Hybris Marketing Cloud. To enable the data transfer, you implement an integration with SAP Hybris Loyalty.

    For information about how to setup the integration, see Integration with SAP Hybris Loyalty [page 10].

    2.1.1.1 Integration with SAP Hybris Loyalty

    This section describes how you can integrate SAP Hybris Marketing Cloud with SAP Hybris Loyalty. The integration scenario enables you to launch SAP Hybris Loyalty from SAP Hybris Marketing Cloud.

    SAP Hybris Loyalty enables organizations to create loyalty programs that deliver a premium customer experience to drive true brand loyalty. It is a loyalty solution that is tightly aligned with your business. It helps you enhance customer retention in a more meaningful way, while encouraging long-term advocacy and referrals.

    SAP Hybris Loyalty is a cloud solution that is built on SAP Hybris as a Service (YaaS) platform. SAP Hybris Loyalty allows you to:

    Deliver a complete loyalty experience. Deliver an integrated loyalty program with tightly coupled core marketing and commerce capabilities.

    Create personalized experiences. Give your customers meaningful, personalized loyalty rewards. Go beyond loyalty. Convert customers to lifetime brand advocates.

    Note SAP Hybris Loyalty is generally available only in the United States. There is no accessibility support in SAP Hybris Loyalty.

    You can subscribe to Loyalty package from YaaS Marketplace from Standard - US Only tab if you are in United States. If you are outside United States, you can subscribe to the Loyalty package from Beta - Worldwide tab. For more information about SAP Hybris Loyalty microservices, launch the Dev Portal page and choose API Docs. Select Loyalty from the drop-down list box.

    10 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

    http://help.sap.com/disclaimer?site=https%3A%2F%2Fmarket.yaas.io%2Fhttp://help.sap.com/disclaimer?site=https%3A%2F%2Fdevportal.yaas.io%2F

  • 2.1.1.1.1 Importing hybris-as-a-Service (YaaS) Certificate

    Import the hybris-as-a-Service (YaaS) certificate into the SAP Hybris Marketing Cloud backend system to make secure REST service call to hybris-as-a-Service.

    Procedure

    1. Download the YaaS certificate from the same into the local computer by performing the following steps:a. Launch the SAP Hybris as a Service Builder website https://builder.yaas.io/.b. Choose the View site information (green lock) icon.c. From the Security Overview section, choose View certificate.d. Choose the Details tab.e. Choose Copy to File. The Certificate Export Wizard is displayed.f. Choose Next. The Export File Format dialog is displayed.g. Choose Next.h. Enter the name of the file you want to export.i. Choose Finish.

    2. Access the Fiori launchpad of SAP Hybris Marketing Cloud.3. Login as an Administrator.4. Access the Maintain Certificate Trust List app under the Security area.5. In the Maintain Certificate Trust List, choose the + icon to upload the certificate.6. In the upload certificate, browse the certificate which was downloaded in step 1.7. Choose Upload.

    2.1.1.1.2 Setting up Communication System and Communication Arrangement

    To integrate SAP Hybris Loyalty with SAP Hybris Marketing Cloud, you have to set up the communication system and communication arrangement.

    Setting up the Communication System

    SAP Hybris Loyalty supports multi-tenancy. If there are many SAP Hybris Loyalty tenants, you have to create a communication system for each loyalty tenant. To set up the communication system, perform the following steps:

    1. Log on to SAP Hybris Marketing Cloud with a user that has administrator authorizations.

    2. From the SAP Fiori launchpad, choose Communication Management Communication Systems .3. Choose New.4. Enter an ID and a system name for your communication system.

    Integration Guide SAP Hybris Marketing Cloud 1802Integration Scenarios C U S T O M E R 11

  • 5. Choose Create.6. In the Communication System Draft screen, enter the host name as api.us.yaas.io if you are based in U.S.

    region or if you are using the Loyalty Core Services beta package. Enter the host name as api.eu.yaas.io if you are based in EU region, or you can enter another host name, if applicable.

    7. Choose the + button in the User for Outbound Communication section.8. In the New Outbound Communication User dialog, choose the Authentication Method as User Name and

    Password.9. Enter the user name and password. The user name and password must be the Client ID and Client Secret of

    the SAP Hybris Loyalty tenant respectively. For more information on how to obtain the client ID, refer to the section Obtain the Client Credentials in the YaaS Getting Started guide.

    10. Choose Create and choose Save.

    Setting up the Communication Arrangement

    Once you have set up the communication system for each SAP Hybris Loyalty tenant, you must set up the communication arrangement for each SAP Hybris Loyalty tenant. To set up the communication arrangement, perform the following steps:

    1. Log on to SAP Hybris Marketing Cloud with a user that has administrator authorizations.2. From the SAP Fiori launchpad, choose the Communication Arrangements app.3. Create a new communication arrangement.4. Choose the scenario SAP_COM_0043 (Marketing - Loyalty Integration)5. Enter the arrangement name SAP_COM_0043.6. Choose Create.7. In the Communication Arrangement screen for Loyalty Integration, fill out the following:

    1. Choose the communication system that you created previously.2. In the Additional Properties section, enter the following information:

    Loyalty Program - You can get the loyalty program name from SAP Hybris Loyalty application. In SAP Hybris Loyalty application, choose Configuration General Configuration menu and then choose Program Setup to view the loyalty program name.

    ID Origin - Enter the ID origin created for contacts and interactions in SAP Hybris Marketing Cloud by the end user. By default, the pre-delivered ID origin is SAP_LOY_PROGRAM. You can assign this pre-delivered ID origin to a tenant. If you want to configure a new tenant, a new ID origin needs to be added from SAP S/4 HANA Marketing Cloud UI first.

    Tenant ID - Enter the Identifier that is displayed by choosing the Administration Details menu in SAP Hybris as a Service (YaaS) Builder .

    3. Update the outbound service URLs.

    NoteAll the outbound service URLs get populated in the Path field automatically. For loyalty integration, the complete URL in the Path field is relevant. In case the URLs need to be updated, the individual path fields for each service must be updated manually. For example, the Path field for Member service is https://api.yaas.io/hybris/loy-member/v1/members by default.

    12 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

    http://help.sap.com/disclaimer?site=https%3A%2F%2Fdevportal.yaas.io%2Fgettingstarted%2Fcreateaclient%2Findex.htmlhttp://help.sap.com/disclaimer?site=http%3A%2F%2Fbuilder.yaas.io

  • If the URL in the Path field has to be changed to https://api.xxx.yaas.io/hybris/loy-member/v1/members (for example), then the URL has to be changed manually. Also, update URLs for all the other services.

    4. In the UI Integration via Logon section, enter the path builder.yaas.io.

    NoteThe path is already pre-populated. If the path field is blank, enter the path mentioned above.

    8. Choose Save.Once the above set up is complete, you can use the Loyalty tile under the Loyalty Management catalog. Once you click on this tile, it will redirect you to SAP Hybris as a Service (YaaS) Builder application. If you have subscribed to the SAP Hybris Loyalty Core Services package from YaaS Marketplace, SAP Hybris Loyalty application can be accessed.

    2.1.2 Sales and Service

    The integrations below enable you to integrate sales and service data with your system:

    SAP ERPFor more information, seeIntegration with SAP ERP [page 13].

    SAP Customer Relationship Management (CRM) and SAP Hybris Cloud for CustomerEnables you, for example, to replicate CRM business partners and business documents, or to retrieve contacts, corporate accounts, leads, opportunities, call activities, appointments, sales tasks, phone calls, appointments, and visits from SAP Hybris Cloud for Customer.

    NoteYou can set up the integration with SAP CRM, and SAP Hybris Cloud for Customer simultaneously, but only with one system of a target system type at a time. That is, you can integrate one system for SAP CRM, and one for SAP Hybris Cloud for Customer

    For information about how to set up the integration, see Integration with SAP CRM - Inbound Channel [page 16] and Integration with SAP Hybris Cloud for Customer - Inbound Channel [page 19].

    SAP Customer Activity Repository retail applications bundleFor more information, see SAP Customer Activity Repository retail applications bundle [page 23].

    2.1.2.1 Integration with SAP ERP

    Integration of SAP ERP with SAP Hybris Marketing Cloud using SAP Cloud Platform Integration.

    By integrating SAP Hybris Marketing Cloud and SAP ERP customers can use valuable data from the on premise SAP ERP system in Business-To-Business (B2B) and Business-To-Customer (B2C) business scenarios. This includes customer and contact data, as well as sales volume data like quotes, orders and returns. Customers can, for example, launch campaigns for the customers and contacts, or use information on sales volume to determine the best customers for campaigns.

    Integration Guide SAP Hybris Marketing Cloud 1802Integration Scenarios C U S T O M E R 13

  • Integration is done using SAP Cloud Platform Integration middleware and the OData service CUAN_BUSINESS_PARTNER_IMPORT_SRVImport Business Partners From SAP ERP [page 296].

    Extensibility enables customers to transfer additional data of customers, contacts, and sales orders from SAP ERP to SAP Hybris Marketing Cloud. Additional fields for this purpose must be enabled in the Custom Fields and Logic app for the service CUAN_BUSINESS_PARTNER_IMPORT_SRV.

    You can find a full description of how to set up this integration in: SAP ERP Order and Business Partner Integration.

    2.1.2.2 Integration with SAP S/4HANA Enterprise

    Integration with SAP S/4HANA Enterprise Cloud and SAP S/4HANA Enterprise On Premise

    By integrating SAP Hybris Marketing Cloud and SAP SAP S/4HANA Enterprise customers can use customer and contact data, as well as their relations and address data for Marketing campaigns.

    Using the SAP HANA Cloud Platform (HCP) as standard middleware content, customers benefit from SAP cloud integration standards for security, performance, data integrity and robustness.

    On SAP S/4 HANA side the exchange is done via Business Partner SOA services MDGK_BP_RPLCTRQ and MDG_BP_RELATIONSHIP_OUT.

    On Marketing side the interface CUAN_BUSINESS_PARTNER_IMPORT is used, see Import Business Partners From SAP ERP [page 296].

    14 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

    http://help.sap.com/disclaimer?site=https%3A%2F%2Fapi.sap.com%2Fshell%2Fdiscover%2Fcontentpackage%2FSAPHybrisMarketingCloudSAPERPOrderandBusinessPartnerIntegration%3Fsection%3DDOCUMENTShttp://help.sap.com/disclaimer?site=https%3A%2F%2Fapi.sap.com%2Fshell%2Fdiscover%2Fcontentpackage%2FSAPHybrisMarketingCloudSAPERPOrderandBusinessPartnerIntegration%3Fsection%3DDOCUMENTS

  • NoteIf you have an integration of SAP S/4HANA Enterprise with SAP Hybris Marketing Cloud in place, deletion or the end of purpose of a customer or corporate contact on the SAP S/4HANA Enterprise side is not automatically replicated to SAP Hybris Marketing Cloud. To ensure deletion in SAP Hybris Marketing Cloud, you have to do the following:

    1. Run the application job Flag Contact IDs for Deletion with the following parameters: specify the Origin of Contact and the ID of Contact, and select the parameter Origin IDs with Dep. IDs Too.

    2. Finally, you also have to run the application job Delete Flagged Contact IDs.

    You can find a full description of how to set up this integration for S/4 HANA Enterprise Cloud in: SAP S/4HANA Cloud for Enterprise Management Integration/> .

    You can find a full description of how to set up this integration for S/4 HANA Enterprise On-Premise in: SAP S/4HANA Enterprise Management On-Premise Integration with SAP Hybris Marketing Cloud .

    2.1.2.3 Presales / Sales

    Set up the integration of a sales system with SAP Hybris Marketing Cloud

    SAP Hybris Marketing Cloud can be integrated with SAP CRM, SAP Hybris Cloud for Customer or an external sales system via SAP Cloud Platform Integration, formerly known as SAP HANA Cloud Integration (SAP HCI).

    Integration Guide SAP Hybris Marketing Cloud 1802Integration Scenarios C U S T O M E R 15

    http://help.sap.com/disclaimer?site=https%3A%2F%2Fapi.sap.com%2Fshell%2Fdiscover%2Fcontentpackage%2FSAPHybrisMarketingCloudSAPS4HANAEnterpriseCloudIntegration%3Fsection%3DDOCUMENTShttp://help.sap.com/disclaimer?site=https%3A%2F%2Fapi.sap.com%2Fshell%2Fdiscover%2Fcontentpackage%2FSAPHybrisMarketingCloudSAPS4HANAEnterpriseCloudIntegration%3Fsection%3DDOCUMENTShttp://help.sap.com/disclaimer?site=https%3A%2F%2Fapi.sap.com%2Fshell%2Fdiscover%2Fcontentpackage%2FSAPS4HANAEnterpriseManagementOnPremiseIntegrationwithSAPHybrisMarketingCloud%3Fsection%3DDOCUMENTShttp://help.sap.com/disclaimer?site=https%3A%2F%2Fapi.sap.com%2Fshell%2Fdiscover%2Fcontentpackage%2FSAPS4HANAEnterpriseManagementOnPremiseIntegrationwithSAPHybrisMarketingCloud%3Fsection%3DDOCUMENTS

  • NoteYou can set up the integration with SAP CRM, SAP Hybris Cloud for Customer, and an external sales system simultaneously, but only with one system of a target system type at a time. That is, you can integrate one system for SAP CRM, one for SAP Hybris Cloud for Customer, and one external sales system.

    Integration takes place in two directions:

    Inbound Outbound

    For more information, see: Integration with SAP CRM - Inbound Channel [page 16] Integration with SAP Hybris Cloud for Customer - Inbound Channel [page 19] Integration with SAP CRM - Outbound Channel [page 102] Integration with SAP Hybris Cloud for Customer - Outbound Channel [page 107].

    For more information about the integration setup of SAP Hybris Cloud for Customer with SAP Hybris Marketing Cloud, see Integration Guide on SAP API Hub at SAP Hybris Cloud for Customer Integration with SAP Hybris Marketing .

    For more information about the integration setup of SAP Hybris Marketing Cloud and SAP CRM, see Set-Up Instruction on SAP API Hub at SAP CRM Integration .

    2.1.2.3.1 Integration with SAP CRM - Inbound Channel

    Data transfer from sales to marketing.

    By integrating SAP Hybris Marketing Cloud with SAP CRM, you can trigger the creation of leads and activities in SAP CRM via a marketing campaign. Furthermore this integration enables the replication of business partner, and business document data from SAP CRM to SAP Hybris Marketing Cloud.

    You can set up the integration of SAP CRM with SAP Hybris Marketing Cloud via SAP Cloud Platform Integration, formerly known as SAP HANA Cloud Integration (SAP HCI).

    The integration between SAP Hybris Marketing Cloud, and SAP CRM supports the following business scenarios:

    Lead Transfer Marketing-Driven Sales Enablement

    Data Replication from Sales to Marketing (Inbound)

    From SAP CRM, the system replicates the following data to SAP Hybris Marketing Cloud via initial and delta load:

    Business Partners Contacts Accounts Individual Accounts

    16 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

    http://help.sap.com/disclaimer?site=https%3A%2F%2Fapi.sap.com%2Fshell%2Fdiscover%2Fcontentpackage%2FSAPHybrisCloudforCustomerIntegrationwithSAPHybrisMarketing%3Fsection%3DDOCUMENTShttp://help.sap.com/disclaimer?site=https%3A%2F%2Fapi.sap.com%2Fshell%2Fdiscover%2Fcontentpackage%2FSAPHybrisCloudforCustomerIntegrationwithSAPHybrisMarketing%3Fsection%3DDOCUMENTShttp://help.sap.com/disclaimer?site=https%3A%2F%2Fapi.sap.com%2Fshell%2Fdiscover%2Fcontentpackage%2FSAPHybrisMarketingCloudSAPCRMIntegration%3Fsection%3DDOCUMENTS

  • Business Documents Leads Opportunities Activities of type Planned Call, Appointment, and Task (marketing-driven tasks only)

    Leads, and activities created in SAP CRM via marketing campaign are created as business documents in SAP CRM.

    NoteIn SAP Hybris Marketing Cloud, interactions are stored for tasks. So, from SAP CRM, the replication of marketing tasks is enabled. Tasks created in the sales system, are not replicated.

    Custom fieldsCustom fields created in SAP CRM can also be transferred to marketing. For more information about how to create custom fields in SAP CRM, see How to Extend SAP CRM for Marketing Purposes . For more information on how to extend SAP Hybris Marketing Cloud, see the extensibility guide, .

    In marketing, you can analyze data imports by the Import Monitor [page 619].

    Integration

    The following figure shows an overall integration overview:

    Integration of SAP CRM with SAP Hybris Marketing Cloud

    For a full description of the integration setup of SAP Hybris Marketing Cloud and SAP CRM, see Set-Up Instruction on SAP API Hub at SAP CRM Integration .

    Navigation, and Display OptionsIn SAP Hybris Marketing Cloud, information about leads, and activities created in SAP CRM via marketing campaigns, and replicated data from SAP CRM is displayed in Marketing on the corresponding contact, or account in Interactions.

    Leads and opportunities, both marketing-driven and sales-created, are additionally visible on contact, and account level under Leads Sales Pipeline . The system provides you with navigation links to SAP CRM for the corresponding objects.

    On the related campaign, the system displays the marketing-driven objects created in SAP CRM under Performance.

    In the Lead Dashboard, KPIs for marketing-driven, and sales-created objects are displayed.

    Integration Guide SAP Hybris Marketing Cloud 1802Integration Scenarios C U S T O M E R 17

    http://help.sap.com/disclaimer?site=https%3A%2F%2Fwww.sap.com%2Fdocuments%2F2017%2F08%2F848de570-ca7c-0010-82c7-eda71af511fa.htmlhttp://help.sap.com/disclaimer?site=https%3A%2F%2Fapi.sap.com%2Fshell%2Fdiscover%2Fcontentpackage%2FSAPHybrisMarketingCloudSAPCRMIntegration%3Fsection%3DDOCUMENTS

  • Mapping of Data of SAP CRM to Data of SAP Hybris Marketing Cloud

    SAP CRM Mapped Interaction of SAP Hybris Marketing Cloud

    Account Interaction contact of type Company (that is, corporate account)

    Individual Account Interaction contact of type Consumer (that is, individual customer)

    Contact Interaction contact of type Contact

    Lead Interaction of type MARKETING_LEAD, including product and interest information

    Opportunity Interaction of type OPPPORTUNITY, including product and interest information

    Activity with type Phone Call Interaction of type

    TELEPHONE_OUTBOUND TELEPHONE_INBOUND TELEPHONE_UNSUCCESSFL

    Activity with type Appointment Interaction of type APPOINTMENT

    Activity with type Task Interaction of type TASK

    NoteThe replicated information, which is stored in interactions for business documents, and in interaction contacts for business partners in SAP Hybris Marketing Cloud, can be used as attributes in segmentation within SAP Hybris Marketing Cloud.

    In SAP Hybris Marketing Cloud, the replicated business partner information is displayed on contact, and/or account profile.

    Business Partner Replication

    The replication of business partners and relations from SAP CRM to SAP Hybris Marketing Cloud is processed by the following principle:

    Initial load of all SAP CRM accounts, contacts, individual accounts person to SAP Hybris Marketing Cloud according to your selection with the initial setup of the integration.

    Delta load of new SAP CRM accounts, contacts, individual accounts to SAP Hybris Marketing Cloud as soon as those objects are created.

    Delta load of changed SAP CRM accounts, contacts, individual accounts to SAP Hybris Marketing Cloud as soon as those objects are changed.

    18 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

  • Related Information

    Import Business Documents from SAP Hybris Cloud for Customer [page 498]

    2.1.2.3.2 Integration with SAP Hybris Cloud for Customer - Inbound Channel

    Data transfer form sales to marketing.

    By integrating SAP Hybris Marketing Cloud, and SAP Hybris Cloud for Customer, the bridge between marketing and sales is built so that processes can be harmonized across marketing and sales channels. With sharing the same business partner, and business document data, Marketing is able to deeper support sales in the process of converting potential buyers, and interested persons to real buyers. The integration between SAP Hybris Marketing Cloud, and SAP Hybris Cloud for Customer supports the following business scenarios:

    Lead Transfer Call Qualification Marketing-Driven Sales Enablement

    In addition, the transfer of campaign data is possible for started campaigns.

    Data Replication from Sales to Marketing (Inbound)

    From SAP Hybris Cloud for Customer, the system replicates the following data to SAP Hybris Marketing Cloud via initial and delta load:

    Business Partners Contacts Accounts Individual Customers

    Business Documents Leads including product items Opportunities including product items, and product categories Activities of type Phone Call, Appointment, Task, and Visit

    NoteIn SAP Hybris Marketing Cloud, interactions are stored for tasks. So, from SAP Hybris Cloud for Customer, the replication of marketing-driven tasks is enabled. Tasks created in the sales system, cannot be replicated.

    Marketing Attribute Categories Master data (marketing attribute sets and marketing attributes) Assignments of marketing attribute sets including attribute values and attribute value descriptions to

    business partners

    Integration Guide SAP Hybris Marketing Cloud 1802Integration Scenarios C U S T O M E R 19

  • For more information about the transfer of marketing attributes from SAP Hybris Cloud for Customer to marketing, see Transferring Marketing Attributes [page 22].

    Marketing PermissionsIn marketing, the permissions are stored on contact and account level. The replication takes place once via initial load. For more information about the processing of marketing permissions, see .

    Custom fieldsCustom fields created in SAP Hybris Cloud for Customer can also be transferred to marketing. For more information about how to create custom fields in SAP Hybris Cloud for Customer, see How to Extend SAP Hybris Cloud for Customer for Marketing Purposes . For more information on how to extend SAP Hybris Marketing Cloud, see the extensibility guide, .

    In marketing, you can analyze data imports via the Import Monitor [page 619].

    Integration

    You can set up the integration between SAP Hybris Marketing Cloud with SAP Hybris Cloud for Customer via SAP Cloud Platform Integration, formerly known as SAP HANA Cloud Integration (SAP HCI).

    For more information about the integration setup of SAP Hybris Cloud for Customer with SAP Hybris Marketing Cloud, see Integration Guide on SAP API Hub at SAP Hybris Cloud for Customer Integration with SAP Hybris Marketing .

    The following figure shows an overall integration overview:

    Integration of SAP Hybris Marketing Cloud with Presales or Sales for Marketing-Driven Leads, Call Center Campaigns, and Activities

    You can find a full description of the integration setup of SAP Hybris Marketing Cloud and SAP Hybris Cloud for Customer in the Integration Guide on SAP API Hub at SAP Hybris Cloud for Customer Integration with SAP Hybris Marketing .

    For more information about the campaign-based lead creation process, see .

    For more information about the process of lead creation via a call center campaign, see .

    20 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

    http://help.sap.com/disclaimer?site=https%3A%2F%2Fcustomer-office-files.demo.hybris.com%2Fmedias%2FSCN%2FHow%2520To%2520Guide_Extensibility_LeadMgmt_Cloud-C4C_2018_NEW.pdfhttp://help.sap.com/disclaimer?site=https%3A%2F%2Fcustomer-office-files.demo.hybris.com%2Fmedias%2FSCN%2FHow%2520To%2520Guide_Extensibility_LeadMgmt_Cloud-C4C_2018_NEW.pdfhttp://help.sap.com/disclaimer?site=https%3A%2F%2Fapi.sap.com%2Fshell%2Fdiscover%2Fcontentpackage%2FSAPHybrisCloudforCustomerIntegrationwithSAPHybrisMarketing%3Fsection%3DDOCUMENTShttp://help.sap.com/disclaimer?site=https%3A%2F%2Fapi.sap.com%2Fshell%2Fdiscover%2Fcontentpackage%2FSAPHybrisCloudforCustomerIntegrationwithSAPHybrisMarketing%3Fsection%3DDOCUMENTShttp://help.sap.com/disclaimer?site=https%3A%2F%2Fapi.sap.com%2Fshell%2Fdiscover%2Fcontentpackage%2FSAPHybrisCloudforCustomerIntegrationwithSAPHybrisMarketing%3Fsection%3DDOCUMENTShttp://help.sap.com/disclaimer?site=https%3A%2F%2Fapi.sap.com%2Fshell%2Fdiscover%2Fcontentpackage%2FSAPHybrisCloudforCustomerIntegrationwithSAPHybrisMarketing%3Fsection%3DDOCUMENTS

  • For more information about the process of campaign-based activity creation, see .

    Navigation, and Display Options

    In SAP Hybris Marketing CloudInformation about leads, activities, and phone calls created in SAP Hybris Cloud for Customer via marketing campaigns, and replicated data from SAP Hybris Cloud for Customer is displayed in marketing on the corresponding contact, or account in Interactions.Leads and opportunities, both marketing-driven and sales-created, are additionally visible on contact, and account level under Leads Sales Pipeline . The system provides you with navigation links to SAP Hybris Cloud for Customer for the corresponding objects.On the related campaign, the system displays the marketing-driven objects created in SAP Hybris Cloud for Customer under Performance.In the Lead Dashboard, KPIs for marketing-driven, and sales-created objects are displayed.

    In SAP Hybris Cloud for CustomerIn SAP Hybris Cloud for Customer, you can display campaign data. For more information, see Sales Insights on Marketing Campaigns [page 109]

    Mapping of Data of SAP Hybris Cloud for Customer to Data of SAP Hybris Marketing Cloud

    The following table provides you with a mapping overview: Correlated objects in SAP Hybris Cloud for Customer, and SAP Hybris Marketing Cloud.

    SAP Hybris Cloud for Customer Mapped Interaction of SAP Hybris Marketing Cloud

    Account Interaction contact of type Corporate Account

    Individual Customer Interaction contact of type Consumer (B2C)

    Contact Interaction contact of type Contact (B2B)

    Lead Interaction of type MARKETING_LEAD, including product and interest information

    Opportunity Interaction of type OPPORTUNITY, including product and interest information

    Activity with type Phone Call Interaction of type

    TELEPHONE_OUTBOUND TELEPHONE_INBOUND TELEPHONE_UNSUCCESSFL

    Activity with type Appointment APPOINTMENT

    Activity with type Visit APPOINTMENT

    Integration Guide SAP Hybris Marketing Cloud 1802Integration Scenarios C U S T O M E R 21

  • Activity with type Task TASK

    Attribute Set with Marketing Attributes Marketing Attribute Category

    NoteThe replicated information, which is stored in the interactions, and interaction contacts can be used as attributes in segmentation within SAP Hybris Marketing Cloud.

    In SAP Hybris Marketing Cloud, the replicated business partner information is displayed on contact, and/or account profile.

    Business Partner Replication

    The replication of business partners from SAP Hybris Cloud for Customer to SAP Hybris Marketing Cloud is processed by the following principle:

    Initial load of all SAP Hybris Cloud for Customer accounts, contacts and individual customers to SAP Hybris Marketing Cloud with initial setup of the integration.

    Delta load of new SAP Hybris Cloud for Customer accounts, contacts and individual customers to SAP Hybris Marketing Cloud as soon as those objects are created.

    Delta load of changed SAP Hybris Cloud for Customer accounts, contacts and individual customers to SAP Hybris Marketing Cloud as soon as those objects are changed.

    Related Information

    Transferring Marketing Attributes [page 22]Import Business Documents from SAP Hybris Cloud for Customer [page 498]

    2.1.2.3.2.1 Transferring Marketing Attributes

    Transfer marketing attributes and business partner assignments from Sales to Marketing

    Marketing attributes and their assignments to business partners are transferred from SAP Hybris Cloud for Customer to SAP Hybris Marketing Cloud in two steps, as described in the following table:

    Transfer of Marketing Attributes

    Transfer of From SAP Hybris Cloud for Customer To SAP Hybris Marketing Cloud

    Master Data Marketing Attribute Sets Marketing Attributes

    Marketing Attribute Categories

    22 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

  • Transfer of From SAP Hybris Cloud for Customer To SAP Hybris Marketing Cloud

    Business Partner Assignments Marketing Attributes Sets, including:

    Marketing Attribute Values Marketing Attribute Value Descrip

    tions

    Marketing Attribute Values

    Integration

    In Marketing, marketing attributes categories and marketing attribute values are visible in Personal Data of contacts, accounts, or individual customers. Marketing attribute categories, and marketing attribute values can be used in segmentation.

    Note Marketing attribute categories always have a text in the system language. If no text is transferred from SAP

    Hybris Cloud for Customer the system automatically creates a text in the system language from the ID. Ensure that all attributes in SAP Hybris Cloud for Customer are named differently. Attributes with the same

    name cause an error that can be monitored in the Import Monitor [page 619]. To prevent from overwriting attribute values, do not use the same attribute in different attribute sets in SAP

    Hybris Cloud for Customer.

    Changes of master data and business partner assignments in Sales are automatically transferred to Marketing.

    2.1.2.4 SAP Customer Activity Repository retail applications bundle

    The integration of SAP Customer Activity Repository enables you to import of POS transactions, such as sales order and sales returns as interactions.

    You can use then this data in various process steps like segmentation, customer fact sheet, product recommendation, and trigger based campaigns.

    As a prerequisite you have uploaded the relevant master data to SAP Hybris Marketing Cloud, such as contacts, products, and marketing locations.

    NoteKeep in mind that this integration works only with SAP Customer Activity Repository retail applications bundle (CARAB) 2.0 FP1.

    For more information about

    the integration, see Integration with SAP Hybris Commerce [page 29] and Integration with SAP ERP [page 13].

    Integration Guide SAP Hybris Marketing Cloud 1802Integration Scenarios C U S T O M E R 23

  • the relevant OData services, see: Import Products [page 303] Import Product Hierarchies and Categories [page 316] Contacts [page 231] Compound Import Service [page 390] Import Business Partners From SAP ERP [page 296]

    2.1.3 Financial Data

    Integration with SAP ERP for Spend Planning [page 24]With the following instructions you are able to export the spend data from your system to SAP ERP. A campaign is represented by a project and a spend item as a WBS element. You use these WBS elements as account reference for further processing within SAP ERP.

    2.1.3.1 Integration with SAP ERP for Spend Planning

    With the following instructions you are able to export the spend data from your system to SAP ERP. A campaign is represented by a project and a spend item as a WBS element. You use these WBS elements as account reference for further processing within SAP ERP.

    Prerequisites

    You have SAP ERP 6.0 EHP 4 or higher. You have set up the SAP Hybris Marketing Cloud - SAP ERP Actual and Committed Spend integration package.

    For more information, search for the SAP ERP Actual and Committed Spend Integration integration package on SAP API Hub at https://api.sap.com/shell/integration .

    Setting Up the Communication with SAP ERP

    To set up the communication between SAP Hybris Marketing Cloud and SAP ERP, perform the following steps:

    1. Create the system for outbound communication using the Communication Systems self-service configuration application. Enter the following data:

    System Name Name of the SAP ERP system, for example, ABC.

    24 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

    http://help.sap.com/disclaimer?site=https%3A%2F%2Fapi.sap.com%2Fshell%2Fintegration

  • Host Name Host address of the SAP ERP system, for example, ldiabc.corp.com.

    Authentication Method Select an authentication method.

    2. Create a communication arrangement with a certificate-based authentication for the outbound scenario.3. Create a communication arrangement for the Marketing - Planning Spend Integration (SAP_COM_0018)

    scenario using the Communication Arrangements self-service configuration application. Enter the following data:

    Common Data Arrangement Name SAP_COM_0018

    Common Data Communication System The SAP ERP system created in the Communication Systems self-service configuration application in the previous step.

    Outbound Communication User Name/Certificate Select certificate-based authentication for the outbound scenario. Download the certificate. It will be used later while setting up SAP ERP and configuring the security.

    Outbound Services Port Port for the communication.

    Integration Guide SAP Hybris Marketing Cloud 1802Integration Scenarios C U S T O M E R 25

  • Outbound Services Path You must set up the following SOAP services in the order defined below and specify the path for each of them:1. Create service, for example, /sap/bc/srt/xip/sap/

    ecc_projecterpcrtrc1///

    2. Update service, for example, /sap/bc/srt/xip/sap/ecc_projectupdrc///

    3. Get service, for example, /sap/bc/srt/xip/sap/ecc_projecterpidqr1///

    The path for each service is defined during the SAP ERP setup.

    For example, could be 100, could be cuan_msm. The name you define in this step must be the same as the name defined during the SAP ERP setup.

    For more information, search for Maintain Communication Arrangements and Maintain Communication Systems on SAP Help Portal at http://help.sap.com under the SAP S/4HANA Cloud product.

    Setting Up SAP ERP

    1. Configure the Web service runtime as target system connection. For more information, search for Configuring the Web Service Runtime on SAP Help Portal at http://help.sap.com under the SAP NetWeaver product.

    2. Configure your security settings for the service provider and service consumer using the SOA Manager. For more information, search for Runtime Configuration with the SOA Manager on SAP Help Portal at http://help.sap.com under the SAP NetWeaver product.

    3. Configure service definitions in the Web service configuration transaction (SOAMANAGER) for the following: ProjectERPCreateRequestConfirmation_In_V1 (ECC_PROJECTERPCRTRC1) ProjectERPUpdateRequestConfirmation_In (ECC_PROJECTUPDRC) ProjectERPByIDQueryResponse_In_V1 (ECC_PROJECTERPIDQR1)

    26 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

    http://help.sap.comhttp://help.sap.com/disclaimer?site=http%3A%2F%2Fhelp.sap.comhttp://help.sap.com/disclaimer?site=http%3A%2F%2Fhelp.sap.comhttp://help.sap.com/disclaimer?site=http%3A%2F%2Fhelp.sap.com

  • Configure the services as follows:1. In the Service and Binding Name step, enter the same name in the Service Name and New Binding Name

    fields. This must be the same name as the one defined in step 3 of the communication setup with SAP ERP under Outbound Services Path .

    2. In the Provider Security step, under Transport Level Security, select the SSL (https) radio button, and under Transport Channel Authentication, select X.509 SSL Client Certificate.

    3. Go through the other steps without specifying any values and complete the configuration.You will find the WSDL URL for Binding in the WSDL Generation for Binding of each service.For more information, search for Configuring a Service Provider on SAP Help Portal at http://help.sap.comunder the SAP NetWeaver product.

    As in SAP Hybris Marketing Cloud, prefix 1_CUAN_MSM_ is given for creation of projects and 1/ for WBS elements in SAP ERP, no predefined coding mask is required for project coding key 1.

    Project profile CUAN01 has to be configured in SAP ERP.

    Checking for Errors

    You can use the Application Log application to check if there are errors with the integration. To check if any errors occurred during the export, you can use the CUAN category and the Marketing Spend Integration in External System (CUAN_MSM_SPEND_DISTR) subcategory.

    2.1.3.1.1 Importing Actual and Committed Spend from SAP ERP

    You can import actual and committed spend associated to campaigns from SAP ERP and make it available in the Spend area of the Campaigns application.

    Prerequisites

    You have enabled the export of spend data to SAP ERP. For more information, see Integration with SAP ERP for Spend Planning [page 24].

    You have set up the SAP Hybris Marketing Cloud - SAP ERP Actual and Committed Spend integration package. For more information, search for the SAP ERP Actual and Committed Spend Integration integration package on SAP API Hub at https://api.sap.com/shell/integration .

    You have configured the communication scenario Marketing - Business Data Integration in SAP Hybris Marketing Cloud.

    You have installed the latest version of the SAP CLOUD CUST ERP INTEGR 2.0 product in SAP ERP that contains the COD_ERP_INT 600 component. For information about this product and the CODERINT 600 add-on, see the corresponding documentation on SAP Service Marketplace at https://support.sap.com/software/patches/a-z-index.html C SAP CLOUD CUST ERP INTEGR 2.0 and https://rapid.sap.com/bp/#/

    Integration Guide SAP Hybris Marketing Cloud 1802Integration Scenarios C U S T O M E R 27

    http://help.sap.com/disclaimer?site=http%3A%2F%2Fhelp.sap.comhttp://help.sap.com/disclaimer?site=https%3A%2F%2Fapi.sap.com%2Fshell%2Fintegrationhttp://help.sap.com/disclaimer?site=https%3A%2F%2Fsupport.sap.com%2Fsoftware%2Fpatches%2Fa-z-index.htmlhttp://help.sap.com/disclaimer?site=https%3A%2F%2Fsupport.sap.com%2Fsoftware%2Fpatches%2Fa-z-index.htmlhttp://help.sap.com/disclaimer?site=https%3A%2F%2Frapid.sap.com%2Fbp%2F%23%2Fbrowse%2Fcategories%2Flines_of_business%2Fareas%2Fmarketing%2Fpackageversions%2FBP_CLD_MKT

  • browse/categories/lines_of_business/areas/marketing/packageversions/BP_CLD_MKT Solution ScopeIntegration SAP ERP Actual and Committed Spend Integration (19Y) .

    You have the authorization to run the CUAN_ERP_MSM_EXTRACT_ACTUAL report in SAP ERP.

    Context

    You can import actual and committed spend data from SAP ERP using this integration.

    Procedure

    To import the actual and committed spend, run the CUAN_ERP_MSM_EXTRACT_ACTUAL report.

    Results

    The actual and committed spend associated to campaigns are shown in the Spend area of the Campaigns application.

    2.1.4 Commerce, Social Media, Web, and IoT

    Integration with SAP Hybris Commerce [page 29]Support omnichannel activities by integrating SAP Hybris Marketing Cloud with SAP Hybris Commerce.

    SAP Jam Communities [page 31]Provides user profiles and product reviews.

    Facebook Pages and Twitter [page 31]With this integration you can retrieve and analyze social posts with Facebook Pages and Twitter using sentiment engagement.

    Gigya solutions, now part of SAP [page 32]Gigya is the market leading provider of customer identity management and now part of SAP. The Gigya solutions SAP Hybris Identity, SAP Hybris Consent, and SAP Hybris Profile can collect and then replicate contact profiles toSAP Hybris Marketing Cloud.

    WeChat Integration [page 32]With this integration, you can synchronize the followers of your WeChat official accounts as well as the follower interactions to SAP Hybris Marketing Cloud. What's more, you can create and carry out WeChat campaigns through SAP Hybris Marketing Cloud. Analytical reports about WeChat followers and interactions are available as well.

    LINE Integration [page 44]With this integration, you can synchronize the followers of your LINE accounts as well as the follower interactions to SAP Hybris Marketing Cloud. What's more, you can create and carry out LINE campaigns

    28 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

    http://help.sap.com/disclaimer?site=https%3A%2F%2Frapid.sap.com%2Fbp%2F%23%2Fbrowse%2Fcategories%2Flines_of_business%2Fareas%2Fmarketing%2Fpackageversions%2FBP_CLD_MKT

  • through SAP Hybris Marketing Cloud. Analytical reports about LINE followers and interactions are available as well.

    Integration with Google Analytics [page 54]Overview of the integration scenario

    Integration with SAP Hybris Customer Attribution [page 58]Integrate SAP Hybris Marketing Cloud with SAP Hybris Customer Attribution.

    2.1.4.1 Integration with SAP Hybris Commerce

    Support omnichannel activities by integrating SAP Hybris Marketing Cloud with SAP Hybris Commerce.

    This integration allows you to display recommendations and personalized campaign content in online stores created with SAP Hybris Commerce. You can also gain additional input for your marketing activities from data collected by, and transferred from, SAP Hybris Commerce to SAP Hybris Marketing Cloud.

    You perform installation and configuration activities for the integration entirely in SAP Hybris Commerce.

    For information about setting up the integration, see the SAP Hybris Commerce Help Portal under https://help.hybris.com, under Integrations and Data Mangement SAP Integrations SAP Hybris Marketing Integration . Documentation for SAP Hybris Commerce is accessible to SAP customers and partners.

    Integration Guide SAP Hybris Marketing Cloud 1802Integration Scenarios C U S T O M E R 29

    https://help.hybris.comhttps://help.hybris.com

  • System Requirements

    The system requirements for the integration are as follows:

    Feature SAP Hybris Commerce SAP Hybris Marketing Cloud.

    Product recommendations 5.4 - 6.2 1605

    6.3 and higher 1702 and higher

    Offer recommendations 6.5 and higher 1708 and higher

    Personalized campaign content (segmentation)

    5.3 and higher 1605 and higher

    Master and transactional data 6.0 and higher 1605 and higher

    Clickstream data 6.5 and higher 1605 and higher

    For an overview of the features introduced with each release of SAP Hybris Commerce, see the release notes for SAP Hybris Commerce. The release notes are available from the SAP Hybris Commerce Help portal at http://help.hybris.com, under Whats New Release Notes SAP Integrations .

    To view the documentation for a given release, use the version drop-down list in the SAP Hybris Commerce Help portal.

    Outbound: Product and Offer Recommendations, Personalized Campaign Content (Segmentation)

    Display product and offer recommendations based on the latest information submitted from the customer, such as their cart contents or recently viewed items. SAP Hybris Commerce tracks the visibility and success of your recommendations, and sends this data to SAP Hybris Marketing Cloud for analysis.

    You can also create rules in SAP Hybris Commerce that verify the membership of online shoppers to campaigns created in SAP Hybris Marketing Cloud. Once membership is determined, SAP Hybris Marketing Cloud sends personalized campaign content to the online store.

    Outbound integration with SAP Hybris Commerce requires the following scenarios:

    SAP_COM_0019 SAP_COM_0020

    Inbound: Master, Transactional, and Clickstream Data

    Various types of master and transactional data are collected by SAP Hybris Commerce, such as customer, product, cart, order, and review data. This data is then sent to SAP Hybris Marketing Cloud.

    With clickstream integration, customer browsing events are aggregated in SAP Hybris Commerce, and then sent to SAP Hybris Marketing Cloud for follow-up marketing activities. Various types of events can be sent, such as products viewed, addition or removal of products from the cart, successful checkout, and reviews read.

    30 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

    http://help.hybris.comhttp://help.hybris.com

  • Inbound integration with SAP Hybris Commerce requires the SAP_COM_0082 scenario.

    2.1.4.2 SAP Jam Communities

    Provides user profiles and product reviews.

    The integration option provides user information of consumers or contacts on a commerce store, and product reviews from SAP JAM Communities for the use in SAP Hybris Marketing Cloud. If known users read product reviews, interactions are created.

    The integration is based on the capabilities of SAP JAM Communities when used in commerce context to facilitate discussions on a product, asking and answering questions on a product, and creating product reviews.

    Integration Setup

    To enable the connection with SAP JAM Communities, create the following communication settings:

    Communication user Communication system Two communication arrangements: One selecting Communication Scenario SAP_COM_0003, and a second

    selecting Communication Scenario SAP_COM_0004.

    For information about how to use the communication management apps in general, see .

    SAP JAM Communities Data in SAP Hybris Marketing Cloud

    Find the replicated user data along with profile picture, email address, user ID, user ID of the SAP Hybris Commerce shop (if integrated with SAP JAM Communities) in the Consumer Profile.

    Reviews are treated as a specific interaction type that captures the review score (1-5 stars) in the valuation field, which is also used by sentiments (1 = strong negative to 5 = strong positive). Product data is added to the product node of the interaction. The product name is a tag of the interaction. Interactions of this type run through the SAP HANA text analysis identifiying additional tags that can be used for further processing, or interest assignment.

    2.1.4.3 Facebook Pages and Twitter

    With this integration you can retrieve and analyze social posts with Facebook Pages and Twitter using sentiment engagement.

    For more information, see:

    Harvesting Tweets into Social Intelligence tables using a Python Script on SAP Community Network http://scn.sap.com/docs/DOC-53824

    Integration Guide SAP Hybris Marketing Cloud 1802Integration Scenarios C U S T O M E R 31

    http://help.sap.com/disclaimer?site=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-53824http://help.sap.com/disclaimer?site=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-53824

  • Predelivered content under Load Social Media Data for SAP Hybris Marketing Cloud (11G) .

    2.1.4.4 Gigya solutions, now part of SAP

    Gigya is the market leading provider of customer identity management and now part of SAP. The Gigya solutions SAP Hybris Identity, SAP Hybris Consent, and SAP Hybris Profile can collect and then replicate contact profiles toSAP Hybris Marketing Cloud.

    The SAP Hybris Profile solution contains a preconfigured logic that pushes user profiles to SAP Hybris Marketing Cloud if marketing consent is given. Additionally, for email or mobile an opt-in is pushed to SAP Hybris Marketing Cloud if the user opted in.

    To leverage the integration the activation of integration scenario SAP_COM_0207 is required.

    User Data

    SAP Hybris Profile provides the data if marketing consent is available in SAP Hybris Consent. It is also possible to configure the replication with a different customized logic.

    User Data

    Data Source (Gigya) Target (SAP Hybris Marketing) Comment

    Gigya ID ID Becomes own facet with ID_ORIGIN = GIGYA_ID

    Social User ID ID

    Email address smtp_address

    Email opt in Email_optin True, if opted in on SAP Hybris Consent.

    Name, address, demographic attributes, such as age, gender, latitude and longitude of location

    Standard attributes of contact. Written into facet data table, and from there propagated into the golden record.

    2.1.4.5 WeChat Integration

    With this integration, you can synchronize the followers of your WeChat official accounts as well as the follower interactions to SAP Hybris Marketing Cloud. What's more, you can create and carry out WeChat campaigns through SAP Hybris Marketing Cloud. Analytical reports about WeChat followers and interactions are available as well.

    NoteThe WeChat integration supports WeChat subscription accounts and WeChat service accounts only.

    32 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

    http://help.sap.com/disclaimer?site=https%3A%2F%2Frapid.sap.com%2Fbp%2F%23%2Fbrowse%2Fcategories%2Flines_of_business%2Fareas%2Fmarketing%2Fpackageversions%2FBP_CLD_MKT%2FS4CLD%2F1802%2FXX%2F11%2FEN%2Fscopeitems%2F11G

  • The following is a detailed list of the business functions that come with the WeChat integration:

    Synchronization of WeChat followers and interactions to SAP Hybris Marketing Cloud Creation and execution of WeChat campaigns through SAP Hybris Marketing Cloud Analytical reports about the acquisition of WeChat followers, including reports predefined by SAP and custom

    reports that you can build with a CDS view Analytical reports about WeChat interactions, including reports predefined by SAP and custom reports that

    you can build with a CDS view Analytical reports for WeChat campaigns carried out through Shake Nearby

    For information about setting up and administering the WeChat integration, see the following documents:

    Setting Up the WeChat Integration [page 33] Administering the WeChat Integration [page 40]

    For extensibility options, see Extensibility [page 43].

    For the descriptions of the business functions, see the following documents:

    2.1.4.5.1 Setting Up the WeChat Integration

    Set up the connection between SAP Hybris Marketing Cloud and your WeChat official account.

    Prerequisites

    You have registered an official account through the WeChat Official Account Admin Platform.

    Procedure

    1. Import the WeChat certificate.

    For more information, see Importing the WeChat Certificate [page 34].2. Create communication configurations for the inbound communication and outbound communication,

    respectively.

    For more information, see Creating Communication Configurations [page 35].3. Create your official account.

    For more information, see Creating a WeChat Official Account [page 38].4. Create and schedule application jobs.

    Integration Guide SAP Hybris Marketing Cloud 1802Integration Scenarios C U S T O M E R 33

  • You must create a job based on the template Digital Accounts: Process Inbound Messages, which is required for the synchronization of followers and interactions. There are other jobs that are required for specific functions only. For more information, see Creating and Scheduling Application Jobs [page 40].

    Results

    The system synchronizes followers and follower interactions from the WeChat server to SAP Hybris Marketing Cloud automatically. Depending on the application jobs you have run, the system synchronizes other types of data (for example, campaign content and beacons) to SAP Hybris Marketing Cloud.

    2.1.4.5.1.1 Importing the WeChat Certificate

    In the standard delivery, the system gets and posts WeChat data directly through the WeChat server. If you adopt this approach, import the WeChat certificate so that SAP Hybris Marketing Cloud will be trusted by the WeChat server. If you have your own logic for getting and posting WeChat data through a different server, which uses the HTTPS communication protocol, then import the certificate of that server instead.

    Prerequisites

    A business role that contains the Security (SAP_CORE_BC_SEC) business catalog is required. You can use the standard business role Administrator (SAP_BR_ADMINISTRATOR), which contains the Security business catalog and other administration-related catalogs. Alternatively, you can create custom business roles using the Maintain Business Roles app.

    Procedure

    1. Go to https://open.weixin.qq.com/ .2. Locate the WeChat certificate and export it to a file.3. Log into SAP Fiori launchpad with a business role that contains the Security (SAP_CORE_BC_SEC) business

    catalog.4. Open the Maintain Certificate Trust List app.5. Choose + (Add).

    The Upload Certificate window appears.6. Upload the WeChat certificate file.

    34 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

    http://help.sap.com/disclaimer?site=https%3A%2F%2Fopen.weixin.qq.com%2F

  • Next Steps

    Creating Communication Configurations [page 35]

    2.1.4.5.1.2 Creating Communication Configurations

    Create the configurations required for the communication between SAP Hybris Marketing Cloud and the WeChat server.

    Prerequisites

    A business role that contains the Communication Management (SAP_CORE_BC_COM) business catalog is required. You can use the standard business role Administrator (SAP_BR_ADMINISTRATOR), which contains the Communication Management business catalog and other administration-related catalogs. Alternatively, you can create custom business roles using the Maintain Business Roles app.

    Context

    The WeChat integration involves communication in both the inbound and outbound directions. In the inbound communication, the WeChat server pushes to a customer-defined servlet WeChat events as well as messages that followers send to WeChat official accounts. Then the servlet forwards the WeChat events and messages to SAP Hybris Marketing Cloud by calling the private ICF service /sap/cuan/ntwrk/. The outbound communication involves synchronizing data (for example, basic follower information and campaign content) from the WeChat server and executing WeChat campaigns through SAP Hybris Marketing Cloud.

    The inbound communication and outbound communication require their respective communication system/communication arrangement pair. In addition, you need to create a communication user for the inbound communication. When calling the private ICF service to forward the WeChat events and messages to SAP Hybris Marketing Cloud, your servlet must authenticate itself with this communication user first.

    The following communication scenarios are relevant to the WeChat integration:

    Marketing Network Channel Events Integration (SAP_COM_0174) Marketing Campaign Execution WeChat Integration (SAP_COM_0085)

    For detailed instructions, see Configuring the Inbound Communication [page 36] and Configuring the Outbound Communication [page 37].

    For general information about communication management, see .

    Integration Guide SAP Hybris Marketing Cloud 1802Integration Scenarios C U S T O M E R 35

  • 2.1.4.5.1.2.1 Configuring the Inbound Communication

    Create the communication user, communication system, and communication arrangement required for the inbound communication.

    Customer Implementation

    You must define a servlet for the inbound communication. This servlet receives the WeChat events and messages pushed by the WeChat server and then forwards them to SAP Hybris Marketing Cloud by calling the private ICF service /sap/cuan/ntwrk/.

    Creating the Communication User

    Proceed as follows:

    1. Log into SAP Fiori launchpad with a business role that contains the Communication Management (SAP_CORE_BC_COM) business catalog.

    2. Open the Maintain Communication Users app.3. Choose New.

    The Create Communication User dialog box appears.4. Fill in the following fields:

    User Name and Description (for example, WECHAT_EVENT and WeChat Event) Password

    5. Save the communication user.A communication user ID is generated automatically.

    NoteWhen calling the private ICF service, your servlet should authenticate itself with the communication user ID instead of the user name.

    Do not exit SAP Fiori launchpad.

    Creating the Communication System

    This communication system is a dummy one. The purpose of it is to bind the communication user that you created earlier with the communication arrangement that you will create later.

    To create the communication system, proceed as follows:

    1. Open the Communication Systems app.2. Choose New.

    The New Communication System dialog box appears.

    36 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

  • 3. Enter a system ID and its name, for example, WECHAT_EVENT and WeChat Event. Choose Create.The editing screen for the communication system appears.

    4. A host is irrelevant to the inbound communication. Enter dummy in the Host Name field to assign a dummy host.

    5. Assign the communication user created earlier to this communication system, as follows:1. In the User for Inbound Communication section, choose + (Add).

    The New Inbound Communication User dialog box appears.2. Enter the user created earlier and select the authentication method User Name and Password.

    6. Save and activate the communication system.Do not exit SAP Fiori launchpad.

    Creating the Communication Arrangement

    Proceed as follows:

    1. Open the Communication Arrangements app.2. Choose New.

    The New Communication Arrangement dialog box appears.3. Enter scenario SAP_COM_0174 and an arrangement name. Choose Create.

    The editing screen for the communication arrangement appears.4. In the Communication System field, enter the communication system created earlier.5. Save and activate the communication arrangement.

    Next Steps

    Configuring the Outbound Communication [page 37]

    2.1.4.5.1.2.2 Configuring the Outbound Communication

    Create the communication system and communication arrangement required for the outbound communication.

    Creating the Communication System

    Proceed as follows:

    1. Log into SAP Fiori launchpad with a business role that contains the Communication Management (SAP_CORE_BC_COM) business catalog.

    2. Open the Communication Systems app.3. Choose New.

    The New Communication System dialog box appears.

    Integration Guide SAP Hybris Marketing Cloud 1802Integration Scenarios C U S T O M E R 37

  • 4. Enter a system ID and its name, for example, WECHAT_API and WeChat API. Choose Create.The editing screen for the communication system appears.

    5. In the Host Name field in the Technical Data section, enter api.weixin.qq.com, which is the host name of the WeChat server. Choose Save.

    NoteIf you have your own logic for getting and posting WeChat data through another server, then enter the host name of that server instead. For more information, see Extensibility [page 43].

    6. Set the authentication method to None, as follows:1. In the User for Outbound Communication section, choose + (Add).

    The New Outbound User dialog box appears.2. Select the authentication method None. Choose Create.

    7. Save and activate the communication system.Do not exit SAP Fiori launchpad.

    Creating the Communication Arrangement

    Proceed as follows:

    1. Open the Communication Arrangements app.2. Choose New.

    The New Communication Arrangement dialog box appears.3. Enter scenario SAP_COM_0085 and an arrangement name. Choose Create.

    The editing screen for the communication arrangement appears.4. In the Communication System field, enter the communication system that you have created.5. Activate all the outbound services by selecting the Active checkboxes.6. Save and activate the communication arrangement.

    Next Steps

    Creating a WeChat Official Account [page 38]

    2.1.4.5.1.3 Creating a WeChat Official Account

    Create a WeChat official account in SAP Hybris Marketing Cloud.

    Prerequisites

    A business role that contains the Marketing - Data (SAP_CEC_BC_MKT_PRD_PC) business catalog is required. You can use the standard business role Marketing Expert (SAP_BR_MARKETING_EXPERT), which contains the

    38 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

  • Marketing - Data business catalog and other marketing-related catalogs. Alternatively, you can create custom business roles using the Maintain Business Roles app.

    Procedure

    1. Log into SAP Fiori launchpad with a business role that contains the Marketing - Master Data (SAP_CEC_BC_MKT_PRD_PC) business catalog.

    2. Open the Digital Accounts app.3. On the landing page, choose Create Digital Account.

    The Select Digital Account Type dialog box appears.4. Select WeChat Official Account.

    The editing screen for the official account appears.5. Select the marketing area and enter the required information. Choose Create.

    The required information includes: ID and name of the official account that are registered through the WeChat Official Account Admin

    Platform Handshake token

    You create your own handshake token. The token entered here must be the same as the one specified on the Basic Configurations page on the WeChat Official Account Admin Platform.

    Original ID Credentials for the official account, including the following:

    App ID App Secret

    You can find these credentials from the Basic Configurations page on the WeChat Official Account Admin Platform.

    6. On the WeChat Official Account Admin Platform, enter your handshake token and the URI of your servlet.

    Results

    The official account appears with the Active status on the landing page of the Digital Accounts app. By default, the system sets the image assigned to the WeChat communication medium in the Manage Images app as the profile picture of the official account. Clicking the account displays various tabs that contain different kinds of information about the official account. The Information tab contains basic information about the official account and the credentials. You can change the profile picture, credentials, and so on, by clicking the Edit button.

    Next Steps

    Creating and Scheduling Application Jobs [page 40]

    Integration Guide SAP Hybris Marketing Cloud 1802Integration Scenarios C U S T O M E R 39

  • 2.1.4.5.2 Administering the WeChat Integration

    Learn about the system administration activities relevant to the WeChat integration.

    Creating and Scheduling Application Jobs [page 40]Learn about the application job templates relevant to the WeChat integration. Some are required for the WeChat integration in general, while others are required for specific functions.

    Activating, Deactivating, and Restricting a WeChat Official Account [page 42]You can set a WeChat official account to any of these statuses in the Digital Accounts app: Active, Inactive, and Restricted.

    Overview of Business Catalogs Required for Different Business Functions [page 43]Different business functions require different business catalogs. Learn about the business catalogs that are required for the functions related to the WeChat integration and assign business roles to business users appropriately.

    2.1.4.5.2.1 Creating and Scheduling Application Jobs

    Learn about the application job templates relevant to the WeChat integration. Some are required for the WeChat integration in general, while others are required for specific functions.

    Overview of Related Application Job Templates

    Application Job Template Description

    Digital Accounts: Process Inbound Messages A job created using this template creates contacts and interactions from digital accounts, such as WeChat official accounts, in SAP Hybris Marketing Cloud. For more information, see .

    Digital Accounts: Synchronize WeChat Users You have set up the WeChat integration and thus the followers of a WeChat official account can be synchronized to SAP Hybris Marketing Cloud automatically. However, there are certain scenarios where you must synchronize WeChat followers by running a job that is created using this template. For more information, see .

    Digital Accounts: Synchronize Campaign Content from WeChat You must create a job using this template if you want to create and carry out WeChat campaigns through SAP Hybris Marketing Cloud. Business users maintain campaign content on the WeChat Official Account Admin Platform. The application job synchronizes the campaign content from the WeChat Official Account Admin Platform to SAP Hybris Marketing Cloud. For more information, see .

    40 C U S T O M E RIntegration Guide SAP Hybris Marketing Cloud 1802

    Integration Scenarios

  • Application Job Template Description

    Digital Accounts: Synchroniz