cancel
Showing results for 
Search instead for 
Did you mean: 

Database System not exposed to HTML5 Application

Former Member
0 Kudos

I created a HANA MDC database.  I also created a "system" in eclipse, and was able to create an odata service: https://beneficiaryp1942121719trial.hanatrial.ondemand.com/beneficiary_xs/designationODataService.xs...

(my database gets shut down every 24 hours because this is a trial so you may not see it working)

I would now like to consume the odata in an HTML5 application.  I created a QuickStartApplication.  If I right-click on the application folder and choose "new=>OData service, I get the following screen

You can see that I have to choose a "system" but there are no options here.  Is the "system" the same as what I created in eclipse?  If so, why isn't it exposed here?

Thanks,

Moses

Accepted Solutions (1)

Accepted Solutions (1)

Murali_Shanmu
Active Contributor
0 Kudos

Hi Moses,

Can you please share your Destination which you had configured in HCP cockpit (which points to your MDC)

Cheers,

Murali

Former Member
0 Kudos

I'm new to SAP and I didn't know destinations existed.  I just tried creating one.

Murali_Shanmu
Active Contributor
0 Kudos

Hi Moses,

In the destination, make the following changes.

URL :https://beneficiaryp1942121719trial.hanatrial.ondemand.com

Authentication: BASIC

User/Password: DB user credentials

Under Additional Properties add the below:

WebIDEEnabled = True

WebIDESystem = MDC

WebIDEUsage = odata_gen,odata_xs

I had earlier written a blog which shows how to consume XS OData service which is on-premise. I didnt add Additional properties in my destinations as I didnt want to use WebIDE templates, but directly consume the destination in my UI5 Application. Hope this help.

Cheers,

Murali

Answers (0)