Quantcast
Channel: SCN : Discussion List - SAP HANA Cloud Platform Developer Center
Viewing all 3131 articles
Browse latest View live

HCP trial Java server down?

$
0
0

Hello,

 

Since a few minutes, I can't deploy any Java applications on HCP trial landscape...

 

Regards,

Anthony


insufficient privilege exception: insufficient privilege: Not authorized in HCP trial for Web IDE tutorial

$
0
0

Hi,

I am new to HANA cloud platform and Web IDE,

I am following the the tutorial SAP HANA XS Web IDE Tutorial for  creating the SAP HANA Cloud Platform E2E Development Scenario: PersonsList Application in SAP HANA XS.

 

I am following using HANA cloud platform trial version. The application creates the content in

SAP HANA Schema:

_SYS_BIC.


In step14 of the tutorial,In order to view the tables created in the above mentioned schema

it was given to run the SQL command


call HCP.HCP_GRANT_SELECT_ON_ACTIVATED_OBJECTS().

But I  get the below error while executing the query.


Statement: 'call HCP.HCP_GRANT_ROLE_TO_USER('SIDtrial.myhana.perslist.roles::user','SID')'.Error calling procedure: insufficient privilege: [258] "HCP"."HCP_GRANT_ROLE_TO_USER": line 19 col 11 (at pos 914): [258] (range 3) insufficient privilege exception: insufficient privilege: Not authorized



Also in step 21, I need to assign the role "user.hdbrole" to my user.For that I need to the run the below query.

 

call HCP.HCP_GRANT_ROLE_TO_USER('<SID>trial.myhana.perslist.roles::user','<SID>')

 

Statement: 'call HCP.HCP_GRANT_ROLE_TO_USER('SIDtrial.myhana.perslist.roles::user','SID')'.Error calling procedure: insufficient privilege: [258] "HCP"."HCP_GRANT_ROLE_TO_USER": line 19 col 11 (at pos 914): [258] (range 3) insufficient privilege exception: insufficient privilege: Not authorized



Searched  a couple of threads,but could not get the correct information, Please suggest me how to add the required previleges & authorizations,Please suggest me to the correct forum if this is not the required forum.


Regards

Veera

How to subscribe the HTML5 Application

$
0
0

Hi,

My user is assigned 2 account on neo.ondemand.com. one is "sapi068740", another is "sapi042872". My user is "i068740"

I created 2 application in sapi042872. one is HTML5 APP called html5app, another is JAVA APP called javaapp.

Now I want to subscribe the 2 application using the below commands basded on the help documnt.

neo subscribe -a i068740sapdev -b sapi042872:javaapp -u i068740 -h neo.ondemand.com

neo subscribe -a i068740sapdev -b sapi042872:html5app -u i068740 -h neo.ondemand.com.

For javaapp, I subscribed that successfully.

But for html5app, I got the error messae:"Application 'html5app' not found"

 

I can't find related information about the issue in the help document.

Anybody can give me some hints about my question? thanks.


Could not load https://localhost:8443 in SAP CC

$
0
0

Hi Experts,

 

      I'm trying to set up the SAP CC on my Windows 8.1 (64 bit) machine.  I can execute the 'go.bat' file in SAP CC folder and see the 'osgi' command prompt.  When I open the url 'https://localhost:8443' (in chrome browser) all I see is a blank page but not the Cloud connector Log in page.  I followed the steps specified in the scn document 'SAP Cloud Connector Configuration'.  I have also cleared the cache in my browser.  I see '404' not found error message in (Network section of developer tools chrome browser) when I try to reload the 'HTTPS://LOCALHOST:8443' url.

 

     On checking the log file I see this - " java.lang.UnsatisfiedLinkError: no sapscc20jni in java.library.path " - How do I get this 'sapscc20jni' file ?

 

     Any help to resolve this issue is highly appreciated.

 

Thanks,

 

Mani.

SAP HANA Cloud Connector Issue.

$
0
0

Hi,

 

I have tried installing SAP HANA Cloud Connector for Windows and tried opening it through the following url

 

https://localhost:8443/

 

It is showing a blank page. I am attaching a screenshot with the console log.

Please help

 

Thanks in advance.

 

chrome.jpg

SAP WEB IDE Error

$
0
0

I was working fine on my newly configured SAP WEB IDE.

I was busy configuring SAP Cloud Connector.

Now I find my WEB IDE throwing an error as shown.

 

chrome.jpg

Insufficient Privilege (EXECUTE on REPOSITORY_REST)

$
0
0

Hi,

 

I am using the hana.ondemand.com platform.

 

My studio modeler is remotely connected to the platform. Under the Content folder, i have this error "Insufficient Privilege (EXECUTE on REPOSITORY_REST)" as screen shot below:

 

hana_cloud_error.png

I am using Studio revision 60. What is the cause?

 

Regards.

YS

How to Enforce No authentication for HTML5 app in HCP ?

$
0
0

I've created a HTML5 app & deployed in HCP. Though i have specified "authenticationMethod":"none" in neo-app.json, still SSO is propogated on running my application. Is there a different way to have no authentication for the HTML5 app ?  should this have worked in the first place ?


Error in Retrieving Data using a HANA XSJS Project

$
0
0

Hi All,

 

 

I am trying to retrieve data from SAP HANA CLous using an XSJS project. I am referring this blog.

 

 

8 Easy Steps to Develop an XS application on the SAP HANA Cloud Platform

 

I am getting an error in step 7. - Add Users for Your XS Application

 

I created a folder called "role" and  created a new file with the name model_access.hdbrole with the content

 

role <xxxx>trial.hihanaxs.hihanaxs.roles::model_access {
sql object <xxxx>trial.hihanaxs.hihanaxs:SO_CV.calculationview : SELECT;

}

 

But it throws an error saying -

 

[9000002] Syntax Error : rolename "xxxxtrial.hihanaxs.hihanaxs.roles::model_access" must be identical to the filename "xxxxtrial.hihanaxs.roles::model_access" (without extension).

 

 

I have mapped the correct package name.

 

Please do help in resolving this issue.

 

Thanks,

Divya

Odata Service on HANA Cloud

$
0
0

I have a SAPUI5 Mobile app which uses ODATA service. The backend is SAP system. Now is it possible to take my app to the HANA cloud?

If yes then how. Please help.

My requirement is to access this app through mobile.

HANA XS Application "No data" message

$
0
0

Hi All,

 

8 Easy Steps to Develop an XS application on the SAP HANA Cloud Platform

 

I am trying to develop an XS Application fetching data from cloud. On running the XSApplication from cockpit, i am getting the top ten sales orders and the chart. But also I am getting a "No data" message at the  back of the chart.  How to remove that "no data" message? Is there any mistake i am doing?

 

 

 

Thanks,

Divya

Consume gateway-as-a-service from sap ui5 app deployed in the cloud

$
0
0

Hello experts,

 

I'm facing an issue and I'm desperatly trying to find help.

 

I have successfully created a service in my gateway-as-a-service account. It's a service from an on-premise backend and everything - I mean hana cloud connector -works fine when i'm directly calling urls from gateway-as-a-service.


Now I want to call this url from my sap ui5 app deployed in the sap hana cloud platform (with the same account) but I have several issues :


- First, I have to start my browser with --disable-web-security because of the Access-Control-Allow-Origin. Why is that ? It's the "same cloud", the same account ?

- Then, the first time I launch my app, the first $metadata call returns me a response from an url like that accounts.sap.com/saml2/idp/sso/accounts.sap.com as if I'm not connected...


If I log on account.sap.com (which I assumed I already did by logging into my cockpit) and refresh my app I can retreive datas, but I find these two points strange because both my gateway-as-a-service and my sap ui5 app are deployed in the cloud with the same account.

 

I never touched anything in the "Trust" tab because it says by default it trusts SAP Id Service but maybe I'm wrong ?

 

What did I do wrong ?

 

Thanks for your help.

 

Regards.

Logon page with web ide for UI5

$
0
0

Hi,

I am using neo-app.json to connect to xsodata service from ui5 application developed using webide. during web call from UI, XS engine asked for login information and returns the logon page to neo-app but neo-app could not send the right response to web browser and lead to following as response to web browser: this response can be seen in the preview tab of Network tab under dev. tools. I am using HCP trial account and very much sure that this is the problem for everybody who starts developing with trial instance.

 

`login.png

 

Expected output: Login popup appears at web browser and user can enter the credentials to login to XS engine instance.

 

Thanks,

Rahul

Unable to access on premise system using HANA cloud connector

$
0
0

Hello,

 

I am trying to use HANA Cloud connector to access the on premise SAP CRM system and assign as the same as a virtual host to the SAP WEB IDE however when I create a Fiori project in the WEB IDE and choose the system as my virtual host, I get a message 'Unable to access the system'

 

If I put the URL of my system in the web browser  https://<host name>/sap/bc/srt/idoc?sap-client=100   I get connected and there is a pop up asking for user id and password. Please see the attached configuration of HANA Cloud connector and let me know what I am doing wrong. Also, there is no 50033 port in my SAP system and the /sap/bc/ui5_ui5 and /sap/opu/odata path does not exist in my SAP services. Do I need to add any patch to on premise system?

 

Thanks,

Charles

Error while activating: Syntax error: Unexpected token


Cookie handling in HCP or HANA Cloud Connector

$
0
0

I tried to expose the WebGUI as an HCP application following the guidelines. This should simply be possible by using a (dummy) HTML5 application in HCP with a neo-app.json file declaring a destination 'sap'. This destination is then defined in HCP with URL=http://host:port/sap and proxyType 'onPremise'.

 

In the Cloud Connector I defined a virtual host 'host:port' with internal host 'realHost:realPort' and assigned '/sap' (with all sub-paths) to it.

 

In this way it's now possible to call any SICF-node (e.g. WebGUI) in the backend system via HCP as reverse proxy using the usual URL-path, e.g. https://appName-XXXtrial.dispatcher.hanatrial.ondemand.com/sap/bc/gui/sap/its/webgui.

 

Calling this URL I get the expected logon screen from the backend, but logging on is not possible as cookies somehow handled not properly (error message on log on screen: 'Logon with URL parameter not possible; logon cookie is missing').

 

When looking at the Clound Connector trace it seems that only the 'last' cookie from the cookie header field is transferred to the backend

 

Any idea what goes wrong here?

Editing mockdata in SAP Web IDE

$
0
0

Hi there,

 

I recently started using SAP Web IDE.

I created a sample fiori starter application for mockdata following the steps provided by this blog - Less Coding, More Designing: The New SAP Web IDE Layout Editor.


Now, I would like to edit the mockdata provided by the metadata.xml file.

I followed this documentation - SAP Web IDE Developer Guide

 

However, I don't find the option "Edit Mock Data" as mentioned in the developer guide.

My Web IDE version is 1.5


Could anybody please guide me here?


Please find the attached image for more information.

metadata_error.png

 

Best Regards,

Prerana

WebIDE create application issues

$
0
0

I've just started working with the WebIDE in the HANA Cloud trial account and I'm working through the Hello World app in the help.  I've run into a problem creating the application using the wizard.  The help says to choose the empty SAPUI5 application project template.  I don't see that template but I do see a SAPUI5 application project template.  If I choose that one, on the next screen there are drop down lists to pick the application type and view type but there are no options to choose from.

 

Any ideas would be appreciated.  There doesn't seem to be much in the way of configuration to set it up so I'm at a loss at what to try next.

 

Thanks,

 

Ross

SAML Integration with SAP HCP

$
0
0

Hi,

 

One of my project we have requirement for integration of SAML with SAP HCP Productive system, We have an experience like how to integrate with

 

On premise HANA systems but we don't any idea for  HCP systems, any one having any idea or suggestions how can i start quickly to integrate this?

 

 

 

Regards,

Harish

How to get portal as subscription application?

$
0
0

Hi Guys,

 

     Currently I am doing HCP extension for SF,  in order to manage my HCP extension , portal is coming into place. However when I try to register SAP HANA Cloud Portal as an Authorized Assertion Consumer Service, there is not portal in Subscriptions application.

 

 

Does anyone know how to make portal as subscription application? BTW: I am using trial account.

 

 

Thanks ahead.

Viewing all 3131 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>