fbpx
Advertisements

SAP Expert Solutions

All Things SAP, Passive Income & Business!

SES 13: Linking the Project with Repository Workspace

May 27, 2019
Dixita Galiyal

Now that we know how to create SAP HANA XS project in the Eclipse, it is time to link your project with the Repository Workspace. You can do that as follows:

  • Right click on the newly created SAP HANA XS project select TEAM * SHARE PROJECT… menu option.
  • The SHARE PROJECT dialog box will open. And choose SAP HANA REPOSITORY type and click on Next.
  • If your project is set up correctly, you will see a confirmation screen to confirm that the contents of project are stored in the selected repository workspace.

Defining Persistence Model using Core Data Services (CDS)

Nowadays, a growing standard for defining tables or views in SAP HANA is Core Data Services (CDS). Core Data Service is an SAP HANA specific metalanguage that allows the user to define reusable types, entities and views. To create data model using CDS, you must create a new DDL source file within your project.

Keep your devices safe, secure & protected against virus attacks with Quick Heal Total Security

Exposing Data Model as OData Service

SAP HANA makes it easy to expose the data model created by the user as a OData service. In such cases, you should use XS OData object type, which defines an abstracted syntax for mapping views or tables from SAP HANA database to entities within an OData service definition.

There might be bit of curve with SAP HANA XS OData file syntax, but you can develop a read only OData service on top of SAP HANA based persistence model with few code lines. You can also expand the scope of the service to perform operations like create, update, delete, via custom exits written in SAP HANA’s SQL Script or server-side JavaScript.

Consuming Data Model from Server-Side Java Script

OData based access will be the preferred method of data consumption or SAP UI5 applications, yet SAP HANA programming model also offers another alternative for exposing the data model to the server-side Java Script or client tier.

Developing the Application UI

With creation of OData services, the development of UI (user interface) with SAP UI5 is not remarkable where we don’t have to introduce SAP HANA-specific content. Rather, if you browse through source code available, you will find that the UI you create contains SAP UI5 as usual. Within SAP UI5 content, all resource references are self-contained.

Follow our Blog for more updates and current offers!

[hubspot type=form portal=5934508 id=b37ebdfc-5650-4300-9817-b74e08369d72]

Business Consultation and Business Model

At SAP Expert Solutions, apart from SAP services, we actively indulge ourselves in Business Consultation and improve ourselves for the good too, helping small-scale business to scale-up their business growth and individuals to make extra income!

Thus, we have started an initiative to help some of you, on a regular interval basis. Get our Business Guide on Top Successful Business Models & Ideas, specially designed and curated by our Business Support Team. 

The Event Sale Timeline: 1st June 2019 – 1st October 2019

Follow and Stay tuned at SAP Expert Solutions for upcoming events and offers. So, gear up, brace yourselves and get ready for the Business Revolution!


CLICK HERE TO GET YOURSELF A COPY OF BUSINESS GUIDE!

Advertisements

Leave a Reply

Required fields are marked *.