Skip to Content

This document describes how Business Administrative User in Sales can enable access to SAP Hybris Marketing by embedding the Hybris Marketing Factsheet and Corporate Account Factsheet into the C4C Factsheet for Contacts or Customers.

 

There are basically three steps needed:

  1. Define the needed HTML-Mashup in the C4C Silverlight UI by means of C4C Business Flexibility and Mashup Authoring
  2. Enhance the Contact or Account Factsheet with an additional Tab, for example “MARKETING INSIGHT”, in the C4C HTML5 UI.
  3. Define a Business User in Hybris Marketing for the Sales Representative to grant access to the Marketing System.

Mashup Definition

1.      Reference Documentation

 

For detailed information, refer to the documentation which is available under the following link https://cp.hana.ondemand.com/dps/d/preview/b2e0ad40625244b8a480851d032112f1/1602/en-US/frameset.html?1872a289763d1014b30ffe621fe46f41.html

Or in the Cloud for Customer Administrative Guide

https://cp.hana.ondemand.com/dps/d/preview/6a8330817f534251b85ad0afbd4619e0/1602/en-US/AdminGuide_sapneo_c4c_EN.pdf

2.      Mashup Definition

 

For the Mashup Definition the Administrator must know the Target URL, which is invoked in order to embed the Hybris Marketing Application. The URL needs to have the following shape:

 

https:// <DOMAIN_HYBRIS_MARKETING>:<PORT_HYBRIS_MARKETING>
/sap/bc/ui5_ui5/sap/CUAN_NAV_TO/index.html?id=<Arbitrary ContactID>&sap-client=<NO>&sap-hpa-mapper=<PAR1>&idOrigin=<PAR2>&sap-hpa-targetobject=<PAR3>

 

In detail the URL must contain the following parts in the named sequence

Grey Part: Secure Protocol https://

Yellow part: Fully specified domain name of the Web Dispatcher used for the Hybris Marketing System

Green part: Fully specified port id of the Web Dispatcher for the Hybris Marketing System

Note that the domain name and port id must be separated by “:”

Blue part: fix part of the URL containing the path of the ICF-node of Hybris Marketing

Red part: needed parameter-credentials to invoke the Hybris Marketing System from an external source, which contains dynamic parameters for “Id” and “sap-client” and constant parameters for the contact and corporate account factsheet.

 

The dynamic parameter values for the id are as named here:

URL-Parameter

Contact Factsheet

Account Factsheet

id

AccountID

AccountInternalID

 

The constant parameter values are as named here:

URL-Parameter

Parameter-value

Contact Factsheet

Account Factsheet

sap-hpa-mapper

PAR1

ICONTACT_TI_C4CMASHUP

CUSTOMER_TI_C4CMASHUP

idOrigin

PAR2

SAP_C4C_BUPA

SAP_C4C_BUPA

sap-hpa-targetobject

PAR3

ICONTACT_TI

CUSTOMER_TI

 

3.      Create New HTML Mashup in C4C System

 

In order to do so, one has to launch the C4C-Application in the Silverlight UI and open the work set Administrator –> Business Flexibility –> Mashup Authoring.

Enter the following credentials:

  1. Choose Mashup Category “Business & Finance”
  2. Choose Port Binding with “Additional Account Information”
  3. Define a proper name for the “Mashup Name”
  4. Enter the URL of the Hybris Marketing System in the section “Configuration Information”
  5. Extract the Parameters of the URL
  6. Specify the Height with the recommended value 600 px accordingly
  7. Change the ID from a constant to Parameter Binding with “AccountID” for the Contact Factsheet and “AccountInternalID” for the Account Factsheet
  8. Mark the ID as mandatory

Finally, the Definition, for example for the Account Factsheet, will looks like this

Step1.jpg

 

4. Open the corresponding Factsheet in in C4C System HTML5 UI

 

For example open a Customer Account, which is synchronized with the connected Marketing system

Step2.png

5. Open Edit Master Layout

Step3.png

 

6. Add New Tab, for example, “MARKETING INSIGHT”

 

Step4.png

 

7. Add Mashup above the default section

 

Step5.png

 

8. Enable the HTML Mashup in the Tab

 

  • Select the corresponding HTML-mashup from the list:
    • If the Contact or Individual Customer Factsheet shall be enhanced, select the Mashup which has been defined for the Hybris Marketing Contact
    • In case the Account Factsheet shall be enhanced, select the Mashup which has been defined for the Hybris Marketing Corporate Account
  • Mark the mashup as visible
  • Mark the mashup with full “width”
  • Apply the Mashup

Step6.jpg

 

Definition of Business Role and Business User

Define a Business User for the Sales Representative via transaction SU01 and assign the needed Composite Role SAP_SALES_REP_MKT_INFO via transaction PFCG

To report this post you need to login first.

5 Comments

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

  1. Vikas Kumar

    Thanks Josef for pretty much needed blog. Really appreciate this.

    just questions, will be great if answered:

    1. Is there any possibility/way to store cookies in c4c tenant which which enables any user to get into environment. specific to my requirement (might be real customers too), we two level authentication to get into the yMKT syste. How can we handle both of them from c4c?

    2. Click jacking: what configuration we need to make (in c4c or yMKT) to enable users to click & navigate through different tabs within embedded mashup.

    3. What user needs to be created? Is it technical I’d of sales rep or just the id which we enter during login to c4c. is this user has to be of type system or dialog or something else. what will be the password; is it same as for c4c? Or do we need to enable sso or ssl for this user?

    llook forward.

    (0) 
    1. Josef Ehbauer Post author

      Hi Vikas,

      Regarding the needed setup to enable Hybris Marketing Contact and Corporate Account Factsheet as Iframe in C4C please refer to chapter 5.4 Installing the SAP Web Disptacher in the installation Guide

      You must create normal personalized Business User in Hybris Marketing for the Sales Representatives, which need to have assigned the named Business Role. An access via a generic Dialog User is not sufficient. After having done this access via SSO is of course beneficial.

      For the C4C-related questions regarding cookies I would like to forward you the to the C4C colleagues, because I am not an expert there.

      Kind regards, Josef

      (0) 
  2. Hakan Köse

    Hi Josef,

    Is this possible for SAP CRM, too? Or is there a way to generate a URL link that leads to account factsheet in hybris Marketing? (Of course, we assume that a business user logged in to hybris Marketing)

     

    (0) 

Leave a Reply