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

Error installing productive SAP Hana Cloud Connector

$
0
0

Hello,

 

I am trying to run SAP Hana Cloud Connector on a Monsoon instance (Redhat 6.5).

I try to install the productive version of SCC from SAP Development Tools for Eclipse:

Linuxx86_642.4.3

50.7 MB

sapcc-2.4.3-linux-x64.zip

 

[root@mo-XXXXXXX ~]# rpm -i /home/iXXXXX/com.sap.scc-ui-1.1.3-1.x86_64.rpm --force

Upgrading SAP HANA Cloud connector

scc_Daemon is not running

Start SAP HANA Cloud connector server daemon

scc_daemon: unrecognized service

Installation finished. SAP HANA Cloud connector server has been started.

SAP HANA Cloud connector server can be managed using service scc_daemon start|stop|restart

 

Note that I have the same issue trying to manual start the service:

[iXXXXX@moXXXXXXX ~]$ sudo service scc_daemon start

scc_daemon: unrecognized service

 

Any idea what could be wrong with my installation ?

 

Thanks !


Application will not deploy since upgrade to new SDKs

$
0
0

Hi,

 

since I have upgraded the SDKs, I simply can not get the deployment to work without getting some type of error. The latest error I get is:

 

2014 10 21 14:58:42#+00#ERROR#com.sap.core.services.accessor.tomcat.support.DelegatingObjectFactory##anonymous#fs-watcher##a0d0fd2c0#test#web##Exception is thrown by facroty [com.sap.jpaas.service.persistence.core.JNDIDataSourceFactory@56f316ec] during retrieving object instance. Exception is: javax.naming.NamingException: Managed data source not available.|

2014 10 21 14:58:42#+00#ERROR#com.sap.core.services.accessor.tomcat.support.DelegatingObjectFactory##anonymous#fs-watcher##a0d0fd2c0#test#web##Exception is thrown by facroty [com.sap.jpaas.service.persistence.core.JNDIDataSourceFactory@56f316ec] during retrieving object instance. Exception is: javax.naming.NamingException: Managed data source not available.|

2014 10 21 14:58:42#+00#ERROR#com.sap.core.services.accessor.tomcat.support.DelegatingObjectFactory##anonymous#fs-watcher##a0d0fd2c0#test#web##Exception is thrown by facroty [com.sap.jpaas.service.persistence.core.JNDIDataSourceFactory@56f316ec] during retrieving object instance. Exception is: javax.naming.NamingException: Managed data source not available.|

 

 

I am not using JPA. However, I did use JPA initially, but now use JDBC calls instead. I do not have a persistence.xml or anything.

 

Can someone please help. I am trying different things over the last few days, but still no success. 

 

 

regards,

Keith

HANA Cloud Trial downtime announcements

$
0
0

In this discussion we are going to announce NetWeaver Cloud Trial landscape infrastructure downtimes.

 

Regards,

NetWeaver Cloud operations team

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.

Critical State - HANA DB Alerting Availability

$
0
0

Hi,

 

I'm creating an HANA instance on the Cloud Platform but after following the "Creating a SAP HANA XS Application" instructions

the instance is in Critical state. Therefore i cannot reach it in Hana Studio.

Also i can not find the developed Application in the cockpit.

The error i have is on metric HANA DB Alerting Availability : JMX CRITICAL - Status.details = CRITICAL SAP DBTech JDBC: [591]: internal error: .

 

Has anyone the same problem or knows what to do?

 

Thank you in advance!

 

Kind Regards

 

Jan

HCP Trail :: HCP.HCP_GRANT_ROLE_TO_USER error.

$
0
0

Getting following Error while trying to Grant role to user for OData service . Need urgent solution

 

I am following PersonsList SAP HANA XS Web IDE Tutorial

 

As per Tutorial need to execute following Statement in Catalog.

 

call HCP.HCP_GRANT_ROLE_TO_USER('pXXXXXtrial.ashxs.perslist.roles::user','pXXXXX')

 

 

Statement: 'call HCP.HCP_GRANT_ROLE_TO_USER('pXXXXtrial.ashxs.perslist.roles::user','pXXXX')'.Error calling procedure: insufficient privilege: [258] "HCP"."HCP_GRANT_ROLE_TO_USER": line 14 col 11 (at pos 849): [258] (range 3) insufficient privilege exception: insufficient privilege: [258] "HCP"."SYNCHRONIZE_HCP_ROLES": line 22 col 12 (at pos 1518): [258] (range 3) insufficient privilege exception: insufficient privilege: Not authorized

Error while activating: Syntax error: Unexpected token

Getting an error when running xs application

$
0
0

Hi,

 

I am new to sap hana.  I created an xs apps that connect to a database. 

 

var select_all_query = "SELECT KEY1, FIELD1,FIELD2,FIELD3 FROM \"NEO_DL7UMKSO5413ISUAUEPKOZIXG\".\"p1940927201trial.myhana.table::mytable2\" LIMIT 1000";

 

 

function close(closables) {

    var closable;

    for (var i = 0; i < closables.length; i++) {

        closable = closables[i];

        if (closable) {

            closable.close();

        }

    }

}

 

 

function getSampleData() {

    var salesOrdersList = [];

    var connection = $.db.getConnection();

    var statement = null;

    var resultSet = null;

    try {

        statement = connection.prepareStatement("SELECT KEY1, FIELD1,FIELD2,FIELD3 FROM \"NEO_DL7UMKSO5413ISUAUEPKOZIXG\".\"p1940927201trial.myhana.table::mytable2\" LIMIT 1000");

        resultSet = statement.executeQuery();

        var salesOrder;

 

 

        while (resultSet.next()) {

            salesOrder = {};

            salesOrder.KEY1 = resultSet.getInt(0);

            salesOrder.FIELD1 = resultSet.getDouble(1);

            salesOrder.FIELD2 = resultSet.getDouble(2);

            salesOrder.FIELD3 = resultSet.getDouble(2);

            salesOrdersList.push(salesOrder);

        }

    } finally {

        close([resultSet, statement, connection]);

    }

    return salesOrdersList;

}

 

 

function doGet() {

    try {

        $.response.contentType = "application/json";

        $.response.setBody(JSON.stringify(getSampleData()));

        //$.response.setBody("Hello");

    } catch (err) {

        $.response.contentType = "text/plain";

        $.response.setBody("Error while executing query: [" + err.message + "]");

        $.response.returnCode = 200;

    }

}

doGet();

 

 

When I run the apps I get this error

 

Error while executing query: [dberror(Connection.prepareStatement): 258 - insufficient privilege: Not authorized at ptime/query/checker/query_check.cc:2547]


openSAP: Introduction to HANA Cloud platform issues with Eclipse

$
0
0

Hi,

 

I am currently trying to do the open.sap.com course "Introduction to SAP HANA Cloud platform" and facing some technical issues already in Week 1 lessons.

 

No local runtime found

As per instruction I should add a server with the profile "SAP HANA Cloud platform on local". But it is not shown to me:

I already tried to use "SAP HANA Cloud platform" and enter "localhost" as host, but this does not work. What can I do to get the right option as shown in the course?

 

Problem with first sample project

When I import the sample project "hello-world" into eclipse I get 9 errors. Seems like a Java EE lib is missing.

How can I solve this?

 

 

My Setup:

Windows 7

Java(TM) SE Runtime Environment (build pwi3260sr15fp1-20140110_01(SR15 FP1)) IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Windows 7 x86-32

Eclipse Luna Service Release 1 (4.4.1) (Eclipse Java EE IDE for Web Developers)

 

Thanks!

Error when deploying to HANA Cloud

$
0
0

Hello,

 

when I am trying to deploy a web application to my HANA Cloud Account through account.hana.ondemand.com I get the following error message:

 

"(!) ERROR: Deploy failed. Error occurred while assigning the requested URL prefix <appname><accountname> to component <accountname>/<appname/web in repository : URL: <appname><accountname> is already reserved by another component"

 

This comes up both when deploying through console command neo deploy and with Eclipse.

Any ideas how to solve this problem? When I try to deploy the same application to another Hanatrial Account it works without problems overwriting the existing / previously deployed application. I also tried to delete the existing application in the HANA Cloud by clicking on the Trash symbol next to the application which do remove the application from the list of my applications, but it hasn´t solve the problem.

 

Thanks for your help in advance!

Authorization errors while deploying to SAP HANA Cloud Platform

$
0
0

Hi guys,


I am trying to complete week 1 unit 5 of the Instroduction to SAP HANA Cloud Platform, deploying the first application, but getting authorization errors:

 

Application name: opensapw1u5

 

Acount name: iXXXXXXtrial

User name: iXXXXXX

Passwd: same as SCN

 

The error I'm getting is the following:

 

Authentication failed. Check:

1. if the account name and the host are correct

2. the provided user has rights to perform the operation in the specified account

3. the provided password is correct

 

I reset my SAP ID pw and registered a new one but same issue.  I also deleted all my secure storage content and created new workspace.

Still no luck.

 

Any ideas?

 

Thanks in advance,
Shimon

Hana Cloud - Unable to share XS project

Issue when creating CDS artifacts.

$
0
0

Hello Experts


I'm still following the Open SAP tutorial for development in Hana, i was trying to create a CDS artifact but i'm getting the following error:


Failed to generate CDS artifact "p12345trial.myhanaxs.ivyrepxs::partner" to schema "XYZ" as index server config switch "view_activation_for_hcp" is set. In this mode only generation to schema "_SYS_BIC" is allowed.


I thought that the DEV Schema was supposed to be there for using it during tests, is there anything else that is missing for been able to work with it?


This is the code that i'm using:


namespace p1101189trial.xstrial1.XSProject3.data;

 

  @Schema: 'DEV_1VKKPRJI2LZT43BFTKBIJ510A'

 

 

context user {

  type SString : String(40);

  type LString : String(255);

 

  @Catalog.tableType: #COLUMN

    Entity Details{

      key PERS_NO: String(10);

      FIRSTNAME: SString;

      LASTNAME: SString;

      E_MAIL: LString;

    };

 

};



Thanks

Francisco

unable to assign the Role's

$
0
0

Hi All,

      I am unable to assign the execution role to my database user.when i am trying to assign the roles, but it is disabled.

please go through the below screen shot.

 

Thanks AND Regards,

Hemanth.

Is there a Oracle to Hana migration guide?

$
0
0

We are migrating our application from Oracle to Hana and we want to know is there a migration guide published?

 

We are mainly working on SQL migration and would like to know for a particular oracle specific feature is there an alternative, if not any workarounds.


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

Hana Cloud Integration: Usage of Message transformer

$
0
0

Hi All,

 

If anyone has the documents or know anything of the following topic in HCI please help.

 

1) Mapping

2) Message Digest

3) Encoder

4) Decoder

5) Filter

6) Content Modifier

7) Converter

8) Script

Create the AFL_WRAPPER_GENERATOR and AFL_WRAPPER_ERASER Procedures

$
0
0

Hi All,

 

     I unable to Create the AFL_WRAPPER_GENERATOR and AFL_WRAPPER_ERASER Procedures, its throwing an error

 

Could not execute 'DROP PROCEDURE AFL_WRAPPER_GENERATOR' in 427 ms 987 µs .

SAP DBTech JDBC: [328] (at 15): invalid name of function or procedure: AFL_WRAPPER_GENERATOR: line 1 col 16 (at pos 15)

 

 

 

 

Could not execute 'CREATE PROCEDURE AFL_WRAPPER_GENERATOR( IN proc VARCHAR(100), IN area VARCHAR(100), IN func ...' in 240 ms 938 µs .

SAP DBTech JDBC: [258]: insufficient privilege: Not authorized

 

Thanks and Regards,

Hemanth.

authroization error when activate using trial hana instance

$
0
0

Hi,

 

I was following SAP_HANA_Cloud_Platform developer guide to create a simple XS application.

 

I have gone through all steps until "1.3.1.2.7. Create the JavaScript file". In this step, the guide asks activating the files in SAP HANA repository.

 

I got following error in HANA studio when activating...

 

Thanks a lot!

 

--------------------------------------------------------------------------------------------------

Internal error.

Repository request failed; cause: Repository: User is not authorized to execute specified operation;User 'DEV_9A6KC6891KCARDFXADK2UO32B' has no authorization, privilege: 'REPO.READ', package: 'hello'!, code: 40,156, argument:

Repository request failed; cause: Repository: User is not authorized to execute specified operation;User 'DEV_9A6KC6891KCARDFXADK2UO32B' has no authorization, privilege: 'REPO.READ', package: 'hello'!, code: 40,156, argument:

Repository request failed; cause: Repository: User is not authorized to execute specified operation;User 'DEV_9A6KC6891KCARDFXADK2UO32B' has no authorization, privilege: 'REPO.READ', package: 'hello'!, code: 40,156, argument:

Repository request failed; cause: Repository: User is not authorized to execute specified operation;User 'DEV_9A6KC6891KCARDFXADK2UO32B' has no authorization, privilege: 'REPO.READ', package: 'hello'!, code: 40,156, argument:

Repository request failed; cause: Repository: User is not authorized to execute specified operation;User 'DEV_9A6KC6891KCARDFXADK2UO32B' has no authorization, privilege: 'REPO.READ', package: 'hello'!, code: 40,156, argument:

Repository request failed; cause: Repository: User is not authorized to execute specified operation;User 'DEV_9A6KC6891KCARDFXADK2UO32B' has no authorization, privilege: 'REPO.READ', package: 'hello'!, code: 40,156, argument:

Repository request failed; cause: Repository: User is not authorized to execute specified operation;User 'DEV_9A6KC6891KCARDFXADK2UO32B' has no authorization, privilege: 'REPO.READ', package: 'hello'!, code: 40,156, argument:

Repository request failed; cause: Repository: User is not authorized to execute specified operation;User 'DEV_9A6KC6891KCARDFXADK2UO32B' has no authorization, privilege: 'REPO.READ', package: 'hello'!, code: 40,156, argument:

Repository request failed; cause: Repository: User is not authorized to execute specified operation;User 'DEV_9A6KC6891KCARDFXADK2UO32B' has no authorization, privilege: 'REPO.READ', package: 'hello'!, code: 40,156, argument:

Repository request failed; cause: Repository: User is not authorized to execute specified operation;User 'DEV_9A6KC6891KCARDFXADK2UO32B' has no authorization, privilege: 'REPO.READ', package: 'hello'!, code: 40,156, argument:

Repository request failed; cause: Repository: User is not authorized to execute specified operation;User 'DEV_9A6KC6891KCARDFXADK2UO32B' has no authorization, privilege: 'REPO.READ', package: 'hello.".settings"'!, code: 40,156, argument:

Repository request failed; cause: Repository: User is not authorized to execute specified operation;User 'DEV_9A6KC6891KCARDFXADK2UO32B' has no authorization, privilege: 'REPO.READ', package: 'hello.".settings"'!, code: 40,156, argument:

Repository request failed; cause: Repository: User is not authorized to execute specified operation;User 'DEV_9A6KC6891KCARDFXADK2UO32B' has no authorization, privilege: 'REPO.READ', package: 'hello'!, code: 40,156, argument:

Repository request failed; cause: Repository: User is not authorized to execute specified operation;User 'DEV_9A6KC6891KCARDFXADK2UO32B' has no authorization, privilege: 'REPO.READ', package: 'hello'!, code: 40,156, argument:

Unable to access SAP Fiori Sample apps

$
0
0

Hi,

 

I am very new to SAP and been looking into playing around with SAP Fiori apps mostly around how to extend them. I have done a couple of things but had no luck with any of them. I have set up RDE (trial version) and been trying to import the sample apps but unfortunately i cannot access them via the ABAP Repository. I tracked down and realized that the back end is configured under Hana cloud connector( Under access control> Internal Host) but since i am only using a trial version i do not have a back-end. Is there any other way that i can import the apps to my RDE? Or is there a sample back end that i could use as my internal host?

 

My second issue is that i have set up the SAP ERP Powere by HANA( trial version, http://marketplace.saphana.com/p/1810) and the instance is up and running. I was hoping to use this instance as my backend.  As i understand, I need to download the windows GUI to access the system but I did not have enough permission to download the windows GUI directly so someone suggested to download it as part of the  SAP NetWeaver Application Server ABAP 7.4 on SAP MaxDB - Trial Edition via Eclipse which i also have done. Now I am still not sure how i need to run the GUI itself.

 

Would really appreciate some help here because I have been struggling for a while and been refereed to different docs/places but no solution yet.

 

Thanks

Viewing all 3131 articles
Browse latest View live


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