Business to Consumer (B2C)

This document presents the activities necessary  to               

configure SAP Cloud for Customer to integrate with SAP hybris Commerce in the B2C scenario.

  1. 1. Activate SAP hybris Commerce Integration in    Scoping   
  2. 2. Setup SSO between SAP Cloud for Customer and Identity Provider
  3. 3. Setup     Communication     System
  4. 4. Create a URL Mashup for Deep   Link  
  5. 5. Configure hybris Storefront Integration 6. Configure Communication Arrangement

  1. 1.  Activate SAP hybris Commerce Integration in  Scoping

Purpose

Ensuring that hybris Commerce integration is active in the SAP Cloud for Customer system.

Procedure

  1. 1. Log on to SAP Cloud for Customer system, as a system administrator.
  2. 2. In the Business Configuration work center, select the Implementation Projects view.
  3. 3. Select your implementation project, and click Edit Project Scope.
  4. 4. In the scoping wizard, choose Next until the Scoping screen appears.
  5. 6. Select Integration with hybris, and select Next.
  6. 7. After you have carefully reviewed and confirmed your entries, click Finish and close the view.
  7. 8. In order to deploy the solution, click on the Business Configuration work center, and click Open Activity List.
  8. 10. Select Design Accepted and click Confirm.

5. Expand Communication and Information Exchange Integration with External Applications and Solutions nodes.

9. Select Confirm Milestone: Design Accepted.

2.  Setup SSO between SAP Cloud for Customer and Identity  Provider

Purpose

Establishing an authenticated commection between SAP Cloud for Customer and your identity provider systems. This requires an exchange of the service provider metadata information between these systems.

Prerequisites

  1. 1. Download the service provider metadata from your Identity Provider

For example, if you use SAP Cloud Identity (SCI) as your identity provider, then do the following:

  1. a. Logon to the SCI system.
  2. b. Click Home and then Tenant Settings.
  3. c. Choose SAML 2.0 Configuration.
  4. d. Click Download Metadata File.
  5. e. Save the xml file on your computer.

 
  

This file needs to be uploaded in the SAP Cloud for Customer system.

  1. 2. Download the service provider metadata from SAP Cloud for Customer system
    1. a. Logon to SAP Cloud for Customer system, as a system administrator.
    2. b. In the Administrator work center, choose Configure Single SignOn.
    3. c. In the My System tab, click SP Metadata to download the metadata.
    4. d. Save the metadata xml file on your computer.

This file needs to be uploaded in your Identity Provider system.

  1. 3. Download tenant certificate from SAP Cloud for Customer system
    1. a. In the SAP Cloud for Customer system, click Administrator work center and choose Communication Certificates.
    2. b. Click Download Tenant Certificate.
    3. c. Save the cetificate file on your computer.

The certificate file you downloaded is in DER encoded format. However, SCI understands the certificate file in BASE encoded  format.

  1. 4. To convert the certificate file from DER to BASE encoded format:
    1. a. Doubleclick on the certificate file, and click Open.
    2. b. In the Details tab, click Copy to File.
    3. c. In the Certificate Export Wizard, click Next.
    4. d. Select Base64 encoded X.509 (.CER) and click Next.
    5. e. Select a folder and enter a file name for the converted certificate file.
    6. f. Click Next and then Finish. The file is now available in the required format. This file needs to be uploaded in your Identity Provider system.

Procedure

Steps to be performed in SAP Cloud for Customer:

  1. 1. Logon to SAP Cloud for Customer system, as a system administrator.
  2. 2. In the Administrator work center, select Configure Single SignOn.
  3. 3. In the Identity Provider tab, click New Identity Provider.
  4. 4. Upload the metadata file that you downloaded from your identity provider system (step 1 in the Prerequisites section).
  5. 5. Click Actions and select Activate.
  6. 6. Click Activate Single SignOn.
  7. 1. Upload metadata from Cloud to your identity provider system. For example, if SCI is your identity provider:
    1. a. Logon to SCI.
    2. b. Click Applications.
    3. c. Click the + icon at the bottomleft row to add an application.
    4. d. Enter a name and click Save.
    5. e. In the application, under Trust tab, click SAML 2.0 Configuration.
    6. f. In the SAML 2.0 Configuration screen, under Define from Metadata section, click Browse.
    7. g. Select the metadata xml file you downloaded from SAP Cloud for Customer (step 2 in the Prerequisites section), and click Save.
  8. 2. Configure the attribute that should be used by the system to identify the users. For example, if SCI is your identity provider:
    1. a. In SCI, click on the application you created, and under Trust tab click Name ID Attribute.
    2. b. Ensure that Login Name is selected.
  9. 3. Establish basic and certificatebased authentication For example, if SCI is your identity provider:
    1. a. In SCI, click on the application you created, and under Trust tab click Certificate for API  Authentication.
    2. b. In the Configure Certificate section, click Browse.
    3. c. Upload the tenant certificate you downloaded from SAP Cloud for Customer (step 3 in prerequisites).
    4. d. Click the back button, and choose HTTP Basic Authentication.
    5. e. Click New to configure a user for basic authentication in your identity provider. A user ID is automatically generated once you set your password.

Steps to be performed in your identity provider system

3.  Setup Communication System

Purpose

A communication system represents an external system for communication. It is also a reference for ID mapping maintained within your Cloud solution. The communication system representates the hybris client, even if the technical communication occurs using Data Hub.

Procedure

  1. 1. Logon to the SAP Cloud for Customer system, as a system administrator.
  2. 2. In the Administrator work center select Communication Systems.
  3. 3. Click New.
  4. 4. On the New Communication System screen, in the Basic Information section, enter the following information. ID ID or name of the hybris system to be  connected

SAP Business Suite Leave it unchecked Host Name Reverse proxy of Datahub System Access Type Internet

  1. 5. (Optional): In the Technical Contact section, you can enter data of the contact person for the hybris system.
  2. 6. Save your data.
  3. 7. In the System Instances section, enter the following data:

System Instance ID Enter the ID or name of your business instance of the hybris system. You can find the instance ID in the following properties file: See local.properties file of hybris ECP: customerticketingc4cintegration.siteId.electronics=<hybrisbusinessinstanceid>

Preferred Application Protocol Web Service

  1. 8. Choose Actions Set to Active.
  2. 9. Choose Save and Close.

 
  

To report this post you need to login first.

Be the first to leave a comment

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

Leave a Reply