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

Anonymous access via XSJS service

$
0
0

Hi,

 

I am facing an issue while trying to access HANA DB via an xsjs service.

 

.xsacess file has:

 

{

"exposed" : true,

"default_file": "getData.xsjs",

"authentication": null,

"anonymous_connection": "<TrialUserID>.kirandb.imp::AdminConn"

}

 

AdminConn.xssql.cc

{

"description" : "Admin SQL connection"

}

 

And in XSJS, I am trying to access db to call a stored proc:

 

6-29-2015 6-24-11 PM.jpg

 

 

But I get an error on db.getConnection:



error(db.getConnection): 2 - could not create db connection from sql connection configuration <user>trial.kirandb.imp::AdminConn, username not set


Where am I going wrong?

 

Thanks, Kiran


Problem connecting to SMTP Server (Connection Timeout)

$
0
0

Dear all,

sorry for crossposting this question!

 

I have several jobs (Java code) scheduled to run on the HANA Cloud platform (Trial Account) using the QUARTZ Framework. Some of these jobs send notification mails using an smtp server configured in a destination. Since 27th of june the sending of mails fails with a connection timeout allthough the server is still available and working (I use this server for some email accounts). I am using smtps on port 465.

 

Retrieving the mail session using the destination api is working. Only the connection times out allthough it worked before and it still works using a java standalone program (So it appears to be not an issue of the smtp server).

 

Can anyone be so kind to point me to some resources how to debug this issue and find a solution? I have a similar issue with another server as well but this other server was never working. Is there something like a "blacklist" of servers not available for mail transfer in the HANA Cloud platform?

 

kind regards

 

 

Tim

CRITICAL HANA DB & XS Applications Availability *NO TRIAL

$
0
0

Hi

Since several hours our productive HCP is not available.

Error messages:

 

JMX CRITICAL - Status.details = CRITICAL SAP DBTech JDBC: [591]: internal error

JMX CRITICAL - Status.details = CRITICAL Database not accessible: SAP DBTech JDBC: [591]: internal error

JMX CRITICAL - Status.details = CRITICAL Internal Error: Hana XS server J5E request failure



What´s going on here?

Cannot create objects in trial package

$
0
0

Hi,

 

I can't create any objects under my trial package:

trial.PNG

 

Any help appreciated.

 

Thanks,

Andreas

Unable to create trial instance : Internal Server Error (500) - Error when generating certificate for account 's0012816094trial' and HANA Trial instance .

$
0
0

Hello,

 

I'm trying to follow the steps of SAP HANA Cloud Platform but i'm getting the following error

 

Unable to create trial instance <myinstance>: Internal Server Error (500) - Error when generating certificate for account 's0012816094trial' and HANA Trial instance <myinstance>.

 

I already try to use several browsers but I can't make it work in any of them.

 

How should I proceed to solve this error?

 

Thanks,

 

Gabriel Braga

Unable to create a new instance issue

$
0
0

When i try to create a new instance i get the error like the following. I wait for your help thank you.Unable to create trial instance 'camsanayi2': Internal Server Error (500) - Error when generating certificate for account 'p1941482564trial' and HANA Trial instance 'camsanayi2'.

Can't create HANA instance on my trial account

$
0
0

I have 2 HANA cloud trial accounts and I'm getting a different error message from each account when creating a HANA instance from the SAP HANA Cloud Platform Cockpit. See below:

 

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

TRIAL ACCOUNT 1

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

Unable to create trial instance 'hanaxs': Internal Server Error (500) - Error when generating certificate for account 'c5221352sapdev' and HANA Trial instance 'hanaxs'.

 

 

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

TRIAL ACCOUNT 2

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

Unable to create trial instance 'shshfhgfhf': Internal Server Error (500) - Unexpected exception in createSchema() called with account 'c5221352trial', schema 'shshfhgfhf', DB Type 'hanaxs', DB Version '1.00.85.00.397590', and DB Server 'null'

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


Connect HCP to Eclipse

$
0
0

Hi Experts,

 

I need to connect to HCP (paid started edition 32 GB) from my on desktop eclipse environment, but i get a error which says

"Not a valid SAP HCP landscape host:us1.hana.ondemand.com" when i try to configure it under systems view by selecting option "Add Cloud System".

I am able to login to the cloud environment through chrome

 

I am running on HANA SPS07 and eclipse 2.0.15.

 

Please help.

 

Thanks & Regards

Madhusudan

Creating an XS application on the sap hana cloud platform

$
0
0

When I try to create a sap hana xs file in the (jwe) sap hana editor I get the following message:

14:25:52 >> Error while creating application:

Server Error:Repository: User is not authorized to execute specified operation;User 'DEV_8I9ZU03MVT6ALHF6R75D16RD4' has no authorization, privilege: 'REPO.MAINTAIN_NATIVE_PACKAGES', package: '.REPO_PACKAGE_ROOT'!

 

 

 

When i try to create the project in eclipse, although it has created the xs project, i get the following message:

Operation failed

Repository request failed.

Repository: User is not authorized to execute specified operation;User 'DEV_8I9ZU03MVT6ALHF6R75D16RD4' has no authorization, privilege: 'REPO.READ', package: 'hanaxs'!, code: 40.156, argument:

Unsupported encoding Cp1252 for file 'hanaxs:.xsapp', only UTF-8 encoding is supported.

Apply the quick fix to change the encoding settings.

Unsupported encoding Cp1252 for file 'hanaxs.".settings":.jsdtscope', only UTF-8 encoding is supported.

Apply the quick fix to change the encoding settings.

Unsupported encoding Cp1252 for file 'hanaxs:.xsaccess', only UTF-8 encoding is supported.

Apply the quick fix to change the encoding settings.

Unsupported encoding Cp1252 for file 'hanaxs:hanaxs.hdbschema', only UTF-8 encoding is supported.

Apply the quick fix to change the encoding settings.

 

 

I do not seem to be the only one, but i failed to find an answer.

Where do i find quick fix?

 

Can anybody help?

 

Thanks,

 

Jean-Marie

HCI OData Provisioning connecting Backend with SSO

$
0
0

Hi everyone,

 

I am trying to configure a destination to my ERP using SAP Single Sign On as authentication on HCI OData Provisioning.

 

I've already succeeded in configuring the destination to ERP with basic authentication but the documentation to do the same with SSO is not clear.

I am using an HTTP connection to my Back-end ABAP ERP on Cloud Connector.

 

What i'm trying to accomplish is, that users log into Hana Cloud with their scn accounts and then Hana propagates that credentials to ERP and associates that to a SAP ERP user like in Principal Propagation Authentication.

 

I tried to configured SAP Single Sign On to achieve this but i am not sure wich steps should i do.

 

On this screen:

Captura.PNG

If i want to use SAP ID Service as idp, what should I put in Issuer System ID and Isuer Client? and in Certificate/Singing Key?

 

Same question to this steps:

 

Captura2.PNG

Could someone give me some help?

 

Regards,

 

Andres

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

Validating E2E- HCP

$
0
0

Hello Experts,

 

Actually I am doing HCP test via reference apps [shine for XS based , espm shopping cart application for java based and Simple Fiori application for HTML 5 based]. Now I would like to cover test complete HCP end to end by using all the HCP services and platform providing tools,

[HCP services, cockpit and development tools WEB IDE, XS Admin, LM tool, cloud connector GIT etc..]

 

Can anyone suggest me how can I perform this by consuming all the HCP services and tools? I believe that , If we have such E2E scenarios, would be really helpful for beginners to understand HCP E2E in one place, Also to check, due to the integration of different services and tools, really it breaks the HCP system?

 

 

BR, Gowrisankar

Accessing Databases Across Accounts

$
0
0

Hello all,

 

I am developing an JAVA application in hcp, which will require to access the database of the consumers application, provided the consumer gives the required permissions.

 

I have checked the HCP documentation(SAP HANA Cloud Platform) and I see, this can be done in 2 steps

 

1) consumer has to provide access to my application and give me the accessToken, DB user name and password

2) I have to bind the database to my application.

 

Is there an alternative to step 2. the reasons are,

 

1) if there are say 20 consumers to my application, is there a way to bind my application to all the 20 consumer databases?

2) is there any coding process, where i can dynamically do the binding when ever consumer tries to access my application.

 

 

 

Thanks

Vijay R.

ABAP usage on sap hana

$
0
0

Hi all

I am working since 7 years as a ABAP programmer. In this day with sap hana s/4, I feel like, I have to learn Java and will SAP move away from ABAP?

I am concerning about my job.

 

Thanks for answer


Service Unavailable On GWAAS (HCI OData Provisioning)

$
0
0

Dear Experts,

 

The past few days in my trial account (and in a co-worker's trial account too) when i try to access HCI Odata Provisioning service it crashes with this error:

 

Captura.PNG

I did nothing in particular to make that error occur, and 2 days or more seems a lot of time to keep servers offline for maintenance. Is there something users could do to solve this? what's going on?

 

Regards,

 

Andres

Using Layout Editor in Web IDE

$
0
0

Hi Guys,

 

I am facing a very unique issue while using layout editor. In one of my machine whenever I am opening a view with layout editor getting the attached

errors. While opening the layout editor in another machine I can use it without any error.

When debugging the issue using F12 I found out that some how properties pane is not getting loaded.

Here is the exact error which I can see in debugger----

  1. BundleId: "org.eclipse.orion.server.core"
  2. Code: 0
  3. HttpCode: 404
  4. Message: "File not found: /ptrial$P-OrionContent/FioriApp/previewData.js"
  5. Severity: "Error"

 

Any help will be highly appreciated.

 

Thanks.

Rishi

.Error 1.PNGError 2.PNG

Text Analysis on HCP with a free account - Nothing is returned

$
0
0

Even after creating a full text index by

CREATE FULLTEXT INDEX FT_TESTTABLE_TEXT1 ON TESTTABLE(TEXT1) TEXT ANALYSIS ON CONFIGURATION 'LINGANALYSIS_FULL' LANGUAGE COLUMN "LANGU"

 

no tokenized data will be set to $FE_TESTTABLE_TEXT1.

 

Though some results are returned by replacing 'LINGANALYSIS_FULL' with 'indexConfigNER.xml', but I don't think it's the same as LINGANALYSIS_FULL.

 

Also some answers mentioned that delivery unit (HANA_TA_CONFIG.tgz) should be imported, but how can it be done on HCP, especially with a free account (with limited system access)???

SAP HANA Cloud Platform : User for HCP to from SAP Cloud IDP

$
0
0

Hi Experts,

 

I am new in this.

I know the Cloud Cockpit ("account.hanatrial.ondemand.com") for trail version to open via scn puser account.

 

Now I have client to having hcp requirement and I am getting SAP Cloud Identity system.

SAP Cloud Identity system

URL : https://XXXXXXXXX.accounts.ondemand.com/admin/

 

But I dont know how to open HCP system and how i can get HCP details from SAP Cloud Identity system.

 

I can see the HCP  in SAP Cloud Identity Administration Console --> Administrators Tiles under that I can able to see the HCP SPC (XXXXXX) but i dont know how to open HANA cloud platform and in which user?

 

Please can anyone help me on this query / questions.

 

Regards,

Mithun

Expose calculation view as odata service authorization error

$
0
0

Hi Experts,

 

I'm creating a PoC on HCP trial and as part of the solution, I created a table as below:

 

CREATE COLUMN TABLE "NEO_..."."Kpi" (

"KPIID" INTEGER NOT NULL,

"YEAR" INTEGER NOT NULL,

"DESCRIPTION" NVARCHAR(100),

"KPIKEY" NVARCHAR(100) NOT NULL,

"VALUE" DOUBLE NOT NULL,

PRIMARY KEY ("KPIID"));

 

Then, I created calculation view called YEARS that returns some information about this table.

 

After, I created a xsodata service to expose this calculation view, as below:

 

service namespace "dashboard"{

    "p...trial.dashboard.models::YEARS" as "Years" key ("YEAR");

   

    "NEO_..."."Kpi" as "Kpi";

}

 

selecting the information directly from the table "Kpi", or from the view YEARS works fine:

 

select * from "_SYS_BIC"."p...trial.dashboard.models/YEARS";

select * from "NEO_..."."Kpi";

 

BUT...

 

consuming the view "/Years" in the xsodata service returns the following error:

 

exception 1: no.71000258 (ptime/query/checker/query_check.cc:2422) Not authorized NO exception throw location recorded. Stack generation suppressed.

 

BUT2...

 

consuming the table in the xsodata service works fine.

 

Any ideas what might be missing here? executing call "HCP"."HCP_GRANT_SELECT_ON_ACTIVATED_OBJECT"('p...trial.dashboard.models','YEARS') also works fine.

 

PS: I'm exposing the table itself in the xsodata service just to test, cause the objective is to expose just the view.

 

Thanks and regards,

Roberto Falk

Viewing all 3131 articles
Browse latest View live


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