Importing SHINE Delivery Unit in SAP Cloud Platform

Download SHINE and set the roles in SAP HANA Database Administration page

  1. Download the latest SHINE delivery unit from GitHub.
  2. SAP HANA Cloud Platform Cockpit. Go to Persistence > Databases & Schemas.
  3. Open your tenant database.
  4. Open SAP HANA Cockpit and login as the SYSTEM database user.
  5. On SAP HANA Database Administration page, choose Manage Roles and Users.
  6. If you haven’t created a user for SHINE, create it and name it as SHINE_DEV.
  7. Open the user SHINE_DEV and add the following roles:
    • sap.hana.admin.roles::Administrator
    • sap.hana.xs.lm.roles::Administrator
    • sap.hana.xs.ide.roles::Developer
    • sap.hana.xs.debugger::Debugger
  8. Save.
  9. In the Object Privileges tab, assign the priviledge GRANT_ACTIVATED_ROLE and allow Execute.
  10. Save your changes.

Import the delivery unit.

  1. Log in as SHINE_DEV in SAP HANA Database Administration page.
  2. Choose Lifecycle Management > Delivery Units .
  3. Import and then browse to locate the file HCO_DEMOCONTENT_….tgz you downloaded  previously from GitHub. Open, choose import and save.
  4. Log in with  the SHINE_DEV user into SAP HANA Cockpit
  5. Assign the roles below:


Run the Application

  1. On SAP Cloud Platform Cockpit, go to Persistence > Database & Schemas and open the database. Click on SAP HANA Web-based Development Workbench.
  2. Select Editor and log in as SHINE_DEV.
  3. Select sap > hana > democontent > epm > index.html.
  4. Run the application.

VirtualBox Error

I couldn’t open my windows virtual machine in Virtualbox. Below is the error that I was getting.

Failed to open virtual machine located in C:/Users/Pravin/VirtualBox VMs/Windows 7/Windows 7.vbox.

Cannot register the DVD image ‘C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso’ {6fd20c20-4b9c-4e5d-a9b8-9cb432b6b654} because a CD/DVD image ‘C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso’ with UUID {cca7400c-aeb9-4622-97cc-85214bd37149} already exists.

Result Code: E_INVALIDARG (0x80070057)
Component: VirtualBoxWrap
Interface: IVirtualBox {0169423f-46b4-cde9-91af-1e9d5b6cd945}

Failed to open virtual machine located in C:/Users/Pravin/VirtualBox VMs/Windows 7/Windows 7.vbox.

Callee RC: E_INVALIDARG (0x80070057)

Here is how I resolved it: I created a new virtual machine and used the exiting virtual disk image (vdi). It seems that the old virtual machine vbox additions was causing the error.

Fiori, SAP

SAP Fiori Apps Reference Library

SAP Fiori Apps Reference Library shows all apps developed by SAP. You can browse and evaluate the apps before deploying them to your SAP landscape. This site will give all details concerning how to install and configure or extend the apps.

Access the site here.

Gateway, SAP

Gateway Service Architecture

A gateway service is built using 2 ABAP classes:  Data Provider Class and Model Provider Class.

Data Provider Class – contains the implementation of the service’s functionality.
Model Provider Class – provides metadata about the service.

These 2 classes do not communicate with each other. They are linked using configuration.

Two configuration wrappers are created for each of the above classes.

Service Group – configuration wrapper for the Data Provider Class. Contains the internal and external service name. Note that the external name can be different and need not start with Z. By default, SAP sets both of them as the same.

Technical Model Object – configuration wrapper for the Model Provider Class.

A service is complete when we associate the Service Group and the Technical Model Object. This is shown in the diagram below.


Finally, the service needs to be added to the service catalog.

Use of Sybase’s Unwired Platform is not mandatory for consuming Gateway services. Any language can be used, as long as it supports read data from XML and via HTTPS.