Skip to Content

Companies need to provide exceptional support experience to customers once they have purchased their products/services. A good support experience goes a long way in improving the overall customer experience and customer satisfaction.

SAP Cloud for Customer provides an out-of-the-box support portal – “SAP Cloud for Service – Self-Service Support Portal”. It is an intuitive self-service support site for customers to raise and track service requests and collaborate with service agents to resolve issues quickly. The support portal can also be used for creating branded, customized service sites.

However, companies may need the flexibility to develop their own customized support sites with a custom look and feel (branding / layout). Companies can choose to expose additional information or services from the underlying C4C backend to the end users/customers to suit their support needs. A sample support site developed using the HANA Cloud Platform is shown in the image.


This series describes how the SAP HANA Cloud Platform can be used to build such a customized support site.

  • Part1:(This blog)
    • Leverage the SAP Cloud for Customer (C4C) OData services that expose service request functionality from the C4C backend.
    • Use the rapid application development capabilities (project templates with OData services) of the SAP Web IDE to develop an SAP UI5 application.
  • Part 2: Integrate the SAP UI5 application into a Fiori Launchpad site.


  • You have signed up for a developer account for SAP HANA Cloud Platform and have your SAP ID or SCN credentials. If not, register for a developer account here.
  • You have access to a C4C test tenant which exposes the underlying C4C service request functionality via OData services. The OData services relevant for the service request scenario are accessible at <Your_C4C_tenant_host_name>/sap/byd/odata/v1/servicerequest/

I. Configure connectivity to the Cloud for Customer backend

Launch your SAP HANA Cloud Platform Account Cockpit

From your browser, access the SAP HANA Cloud Platform cockpit for your developer account. Go to Log on with your SAP ID or SCN credentials.

Configure connectivity destinations to the Cloud for Customer backend

SAP HANA Cloud Platform account enables secured connections from your cloud account to C4C backend systems by configuring destinations.

Input Output
  • Download the attached zip file – that contains the destination.
  • Click on the Destinations tab in your HANA Cloud Platform cockpit.
  • From the empty Destinations table, click Import from File
  • In the file selection dialog, select the downloaded destination file.  The destination configuration properties from the file would be displayed as shown in the image.

       Change the URL to point to your C4C tenant system.


  • Click on Save: A new entry is added to your Destinations table.

II. Develop the SAPUI5 application for displaying open tickets

Input Output

Launch the SAP Web IDE

  • Click on the Subscriptions tab of your HANA Cloud Platform cockpit.
  • From the subscribed HTML5 Applications list, click the webide link in the Application column.
  • Click the Application URL or copy it into your browser to launch the Web IDE in a new tab. The SAP Web IDE opens (this may take a few seconds).
  • Click on the icon </> to open the Development perspective.

Use the Project Templates in SAP Web IDE

Since we have enabled connectivity from our HCP account to the C4C OData services, we can use the SAP Web IDE templates to generate applications that consume data coming from the OData services.

Input Output
  • From the Project Explorer select the Local root folder.
  • Right click and select New > Project from Template. The new project from template wizard is opened.
  • From the drop down select the All Categories tab as this will list all the types of application you can build.
  • In the Template Selection screen select the SAP Fiori Master Detail Application template as shown in adjacent figure.
  • Click Next. The Basic Information screen opens.
  • Enter the Project Name as “OpenTickets”
  • Click Next.

  • The Data Connection screen opens. This screen allows you to select data sources for your application as defined by the various destination files you configured in your HANA Cloud Platform Cockpit.
  • From the list of Sources, select Service URL
  • From the Service Information drop down list select the connection source: C4CODataServices: This connection source reflects the connectivity defined by the destination you created in the previous section.
  • Enter the relative path to the C4C OData service end point: sap/byd/odata/v1/servicerequest/
  • Click on the /wp-content/uploads/2015/10/1_806942.jpg button. A list of available OData entity collections is displayed on the right side of the screen

  • Click Next. Choose the OData entity collection you want to work with (ServiceRequestCollection), and bind its properties to the applications Master-Detail UI controls.
  • In the Master Section and Detail section, enter the following details as shown in the image.
  • Click Next. The confirmation screen is opened
  • Click Finish – A new project is created in your SAP Web IDE.


Preview the application

Input Output
  • Click on the OpenTickets folder to expand it.
  • Select the index.html file.


  • Click the /wp-content/uploads/2015/10/1_806942.jpgbutton to preview the application. The application preview opens displaying data coming from the configured Cloud for Customers backend (this may take several seconds).


Deploy the application to SAP HANA Cloud Platform

In this part, we will deploy our application to the SAP HANA Cloud Platform and activate the application.

Input Output
  • Right click on the OpenTickets project folder and select Deploy > Deploy to SAP HANA Cloud Platform.
  • If this is the first time you’re deploying an application to HANA Cloud Platform – A User Information dialog box is opened.
  • Verify your SCN user Email Address for the Settings of the Git repositories (the OpenTickets application will be stored in the Git repository).
  • Click OK. The SAP HANA Cloud Platform Login dialog opens.
  • Enter your SCN credentials.
  • Click Login.

  • The Deploy Application to SAP HANA Cloud Platform dialog box is displayed with values for the application version.
  • Click Deploy.
  • The deployment allocates a dedicated Git repository for hosting the application source code on HCP,creates a version from the current code and activates the application – publishing the current activated version.
  • A Successfully Deployed dialog box is opened.

Note: To test the running application, click on Open the active version of the application. This will take you to the running instance of the application


To report this post you need to login first.


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

  1. Former Member

    Hi Gaurav,

    How are we going to perform actions/activities on the Data from the ODATA Service?

    For example updating ticket status, updating ticket information and then returning the updates to the C4C Tenant / Cloud System.

  2. Former Member

    Thank you Gaurav for sharing such a nice blog. I am facing the following error while following the steps provided in your blog. But the connection is successful when I click on check connection from my trail account destinations after setting ups the destination. Please suggest


      1. Former Member

        Hi Gaurav,

        Thanks for sharing nice information. At the same step, I am getting “Internal Server Error”.

        I have used the same information (Destination, URL etc) shared in this blog.

        Can you please help me?


        Rajeev Singh

        1. Gaurav Dey
          Post author

          Hi Rajeev,

          Thanks for following the blog.

          It works fine for me. Kindly check your destination file, I suspect some issue is there from your C4C tenant.

  3. Dennis Klein

    Hi Gaurav,

    how do i get the out-of-the box portal “Self-Service-Portal”?

    The cusomter has already purchased licenses for the Hana Cloud Plattform.

    Thanks in advance.

    Best regards,


    1. Gaurav Dey
      Post author

      Hi Dennis,

      Thanks for following the blog.

      This has to be bought separately. For more info contact your Account Executive.

  4. Raghav Rathor

    Hello Gaurav,

    Thanks for sharing the blog with step by step guides.

    It would be great if you could provide the details of getting the access to C4C test tenant.

    Please share the link where we can register for C4C test tenant system.


    Raghav Rathor

  5. Former Member

    Hi Gaurav ,

    I tried doing the above steps .

    I successfully created a project template in Web IDE but when I was trying to run the project it gave a 404 error .

    Kindly help .


    Vishal Menon

      1. Former Member

        Hi gaurav ,

        Yes those are correct .. Tried the connection test which were successful .

        same format as you mentioned in this post :-


        Kindly suggest if this pattern has some correction?

        Thank you .


        Vishal Menon

        1. Gaurav Dey
          Post author

          Hi Vishal,

          The url pattern that you are using is proper. Can you share the screenshot if you are still facing the error.

          Gaurav Dey


Leave a Reply