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

API Proxy Endpoint Odata not working

$
0
0

Hello,

 

We configured the Proxy end point for  https://trial.apim1.hanatrial.ondemand.com/<myaccount><service_name>_SRV;v=1 for ODATA service and we are getting below error when we execute  the service.  It works fine with //gwaas url.

 

{"fault":{"faultstring":"The Service is temporarily unavailable","detail":{"errorcode":"messaging.adaptors.http.flow.ServiceUnavailable"}}}

 

Did any one face the same issue in the past?

 

Cheers,

Sravs


Destinations security - filtered by account

$
0
0

Hi,

 

with a simple WEBIDE subscription, how can I filter destinations based on user or roles?

I cannot find a way to filter access to a specific destination for a member (developer) or a group of members of the subscription.

 

Thank you.

Andrea -

Unable to access HCP trial?

$
0
0

Hiya,

 

For weeks now I have been unable to log onto the HCP trial via Google Chrome and seem to be in an endless loop...

Whenever I try to log-on to the trial I do the following:

-Click the 'Log On' button and then I see this:

HCP logon.jpg

-I tick the check box, click 'Accept', but then I always see this:

HCP logon2.jpg

I have removed cookies and even re-installed Google Chrome, but to no avail.
I've tried contacting HCP via https://hcp.sap.com/contact.htmlbut more than a week later I've heard nothing back.  

 

Would any of you have any advice on how to proceed please?  

 

Thanks in advance!

How to send data from IotMMS table to SAP Backend

$
0
0

Hello,

 

How can we send data from IOTMMS tables in Hand Cloud Platform to SAP Backend, like, once i get data in iotmms tables,it should also get updated to SAP Backend system?

 

Thanks

IoT MMS Receiving messages is not working

$
0
0

Hi Colleagues,

Could you please help me in receiving messages for IoT MMS. I am using Chrome Postman and I am receiving a blank JSON. The IoT Device table has some sample value but it is not returned via GET .

Please suggest your input.

Thanks and Regards,

Albert Tigga

PE4AD - Question regarding Multitenancy and Dynamic Datasource lookup

$
0
0

Hi all,

I am trying to setup a multitenant test enviroment. And followed the step described here: SAP HANA Cloud Platform

But it is not clear to me how to implement a dynamic datasource. I have to account a1 and b1. I subscribe b1 to application of a1 and then what? if i try to bind a new schema with the same datasource name i get an error. but the jndi lookup specifies the name. Any help is appreciated.

Regards Mathias

PE4AD - HCP + C4A

$
0
0

Partner has a Cloud4Analytics account and was told by SAP that C4A can be deployed on HCP via "C4A for BI Extension". Where can our partner find relevant info/guides on how to do this?

Granny's Addressbook DBagnostic - JAVA

$
0
0

Hi,

 

Can anybody help me with this tutorial? ( https://github.com/SAP/cloud-enterprise-granny/blob/v1.x/doc/02.md )   I have deployed it to my HANA Trial and it is working, but I Can't find the data in the HANA Tables!! . I know it uses a DerbyDB just when runs locally in my PC, but I think it uses the SAP HANA DB as a Datasource when it runs in the platforms, but again I can not see the data on any HANA schema!

 

 

Any help to let me understand a little bit more will be appreciated!

 

Thanks!

 

Matias.


HCP Java Application DefaultServlet

$
0
0

Hello everybody,

 

I have the following question to all of the Hana Cloud Platform developers out here:

Is there some sort of DefaultServlet like org.apache.catalina.servlets.DefaultServlet available for the HCP Java Application runtime 'JavaWeb'?

I'd like to serve some static files and do not want to write a servlet for that purpose on my own.

 

Best regards,

Martin

Trying to create a HANA trial instance on the Cloud platform, no luck

$
0
0

Hello

 

I was on the below link and trying to create HANA trial instance, but per documents or content on the web for a trail instance I should be clicking on the "HANA Instances" from left side menu on that page. I don't see any of such there. I only see "Database Systems" ( which doesn't allow me to create any new) and "Database &Schemas" which allows me to create a schema in HANA <shared> instance. Is this correct? or am I missing anything on the home page to see "HANA Instances"? pls advice

 

https://account.hanatrial.ondemand.com

SAP HANA Cloud Platform Trial update announcements

$
0
0

In this thread we are going to announce SAP HANA Cloud Platform Trial landscape infrastructure updates.

 

Regards,

The SAP HANA Cloud Platform operations team

 

Message was edited by: Vladimir Pavlov 01.12.2015

How to consume OAuth2SAMLBearerAssertion Destination using java application on HCP?

$
0
0

Dear All,

 

I have encountered the problem about how to consume an OAuth2SAMLBearerAssertion destination using java application on hcp.

 

The detailed information as follows:

 

1. An OAuth2SAMLBearerAssertion destination has been developed on HCP;

2. A HTML5 application has been developed, and it would consume the previous destination; And it has been deployed on the same HCP tenant.

3. The java application has been developed which would consumes the destination too. And HTML5 application would consume this java application as a service, too.

4. End user would first login to HTML5 application, then the HTML5 application would use the first destination to get data.

 

Now question is that, HTML5 application could consume the destination successfully. But java application cannot.

 

The following picture described the architecture and flow:

 

Architecture.png

 

 

What I have done?

1. I try to obtain the cookie from previous session (html5 application), but it failed;

2. I have found the abstract function (getOAuth2SAMLBearerAssertionHeaders(DestinationConfiguration destinationConfiguration)) of

Interface AuthenticationHeaderProvider; But I have no idea about how to implement it.

 

Anybody could supply some suggestions?

 

Thanks & Best Regards,

Frankie

How do we make use of Destination maintained in HCP in SAP Web IDE custom Plugin development

$
0
0

Hello everyone, I am working on building a custom SAP Web IDE plugin and I have data for this plugin from SAP ABAP System ECE.I have maintained Destination in HCP Account and made relevant connection using Cloud connector too. Conncetion check in HCP account is successful and even these flags namely WebIDEEnabled:true, WebIDESystem:ECE, WebIDEUsage:odata_gen. Now I am wondering how do I make use of Destination maintained for this plugin as Plugins has plugin.json file. How do I define this and how do I make use of the same to get data in controller? Since I am not aware how to maintain for plugin projects I have used var link = "https://ldciece.wdf.sap.corp:44377/sap/opu/odata/sap/XYZ_SRV/"; var oModel = new sap.ui.model.odata.ODataModel(link,true); I am aware this is not right way but want to know how do I maintain Destination for Web IDE Custom Plugin Development in plugin.json file and use the same. Any pointers highly appreciated Regards Santhosh Reddy M

XSODATA problem on trial since current update

$
0
0

Saving my mymodel.xsodata with the content

service {

    "p1941627274trial.hc.demo.data::mymodel.site" as "Sites";

    "p1941627274trial.hc.demo.data::mymodel.session" as "Sessions" keys generate local "ID";

}

annotations {

    enable OData4SAP;

}

 

gives

[11:28:01] (syntaxcheck) Technical error. Contact your system administrator. Error occurred during syntax check. Proxy: Name: xsodataparser | Message: Original error message: Proxy: Name: xsodataparser | Message: Error loading module from path 'sap.hana.ide.common.parsers/service/XSODataParserImpl'

Original error message:

Error stack: Error

at ByteCode.read (https://s9hanaxs.hanatrial.ondemand.com/sap/hana/ide/editor/plugin/editors/hdbdd/rndrt/rnd.js:440:13)

at new OSDLParser (https://s9hanaxs.hanatrial.ondemand.com/sap/hana/ide/common/plugin/parsers/xsodata/OSDLParser.js:17:27)

at https://s9hanaxs.hanatrial.ondemand.com/sap/hana/ide/common/plugin/parsers/service/XSODataParserImpl.js:7:15

at Object.context.execCb (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1550:21)

at Object.Module.check (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:806:28)

at Object.<anonymous> (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1041:13)

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:111:14

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1084:6

at each (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:39:19)

at Object.Module.emit (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1083:5)

-----------

Error stack: Error: Error loading module from path 'sap.hana.ide.common.parsers/service/XSODataParserImpl'

Original error message:

Error stack: Error

at ByteCode.read (https://s9hanaxs.hanatrial.ondemand.com/sap/hana/ide/editor/plugin/editors/hdbdd/rndrt/rnd.js:440:13)

at new OSDLParser (https://s9hanaxs.hanatrial.ondemand.com/sap/hana/ide/common/plugin/parsers/xsodata/OSDLParser.js:17:27)

at https://s9hanaxs.hanatrial.ondemand.com/sap/hana/ide/common/plugin/parsers/service/XSODataParserImpl.js:7:15

at Object.context.execCb (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1550:21)

at Object.Module.check (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:806:28)

at Object.<anonymous> (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1041:13)

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:111:14

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1084:6

at each (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:39:19)

at Object.Module.emit (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1083:5)

-----------

at Object.errback (https://s9hanaxs.hanatrial.ondemand.com/sap/watt/core/q.js:113:21)

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:111:14

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1084:6

at each (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:39:19)

at Object.Module.emit (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1083:5)

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:484:12

at each (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:39:19)

at onError (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:477:5)

at Object.Module.check (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:833:16)

at Object.<anonymous> (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1041:13)

-----------

Error stack: Error: Proxy: Name: xsodataparser | Message: Error loading module from path 'sap.hana.ide.common.parsers/service/XSODataParserImpl'

Original error message:

Error stack: Error

at ByteCode.read (https://s9hanaxs.hanatrial.ondemand.com/sap/hana/ide/editor/plugin/editors/hdbdd/rndrt/rnd.js:440:13)

at new OSDLParser (https://s9hanaxs.hanatrial.ondemand.com/sap/hana/ide/common/plugin/parsers/xsodata/OSDLParser.js:17:27)

at https://s9hanaxs.hanatrial.ondemand.com/sap/hana/ide/common/plugin/parsers/service/XSODataParserImpl.js:7:15

at Object.context.execCb (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1550:21)

at Object.Module.check (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:806:28)

at Object.<anonymous> (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1041:13)

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:111:14

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1084:6

at each (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:39:19)

at Object.Module.emit (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1083:5)

-----------

Error stack: Error: Error loading module from path 'sap.hana.ide.common.parsers/service/XSODataParserImpl'

Original error message:

Error stack: Error

at ByteCode.read (https://s9hanaxs.hanatrial.ondemand.com/sap/hana/ide/editor/plugin/editors/hdbdd/rndrt/rnd.js:440:13)

at new OSDLParser (https://s9hanaxs.hanatrial.ondemand.com/sap/hana/ide/common/plugin/parsers/xsodata/OSDLParser.js:17:27)

at https://s9hanaxs.hanatrial.ondemand.com/sap/hana/ide/common/plugin/parsers/service/XSODataParserImpl.js:7:15

at Object.context.execCb (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1550:21)

at Object.Module.check (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:806:28)

at Object.<anonymous> (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1041:13)

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:111:14

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1084:6

at each (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:39:19)

at Object.Module.emit (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1083:5)

-----------

at Object.errback (https://s9hanaxs.hanatrial.ondemand.com/sap/watt/core/q.js:113:21)

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:111:14

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1084:6

at each (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:39:19)

at Object.Module.emit (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1083:5)

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:484:12

at each (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:39:19)

at onError (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:477:5)

at Object.Module.check (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:833:16)

at Object.<anonymous> (https://s9hanaxs.hanatrial.ondemand.com/sap/watt//lib/requirejs/require.js:1041:13)

-----------

at Function.o._error (https://s9hanaxs.hanatrial.ondemand.com/sap/watt/core/Core-preload.js:11:70542)

at u.o._error (https://s9hanaxs.hanatrial.ondemand.com/sap/watt/core/Core-preload.js:11:68616)

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt/core/Core-preload.js:11:68512

at _rejected (https://s9hanaxs.hanatrial.ondemand.com/sap/watt/lib/q/q.js:807:24)

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt/lib/q/q.js:833:30

at Promise.when (https://s9hanaxs.hanatrial.ondemand.com/sap/watt/lib/q/q.js:1077:31)

at Promise.promise.promiseDispatch (https://s9hanaxs.hanatrial.ondemand.com/sap/watt/lib/q/q.js:751:41)

at https://s9hanaxs.hanatrial.ondemand.com/sap/watt/lib/q/q.js:573:44

at MessagePort.flush (https://s9hanaxs.hanatrial.ondemand.com/sap/watt/lib/q/q.js:108:17)

 

What can I do to avoid this? What are the consequences?

HTTP Status 404 - Not Found

$
0
0

Hi,

I have developed an app. I tried to deploy the same and generated a link in Web IDE. This link is active but when I try to access, I get an error "

HTTP Status 404 - Not Found"

"

 

I am not sure why this is happening even though the link is active.

 

Kindly help.

 

Thanks& Regards,

Samir Karnik


Smart Data Streaming with HANA trial cloud platform

$
0
0

hey guys,

 

is there a possibility to use smart data streaming with a trial cloud account? I installed all plugins for eclipse but i can't find a plugin for smart data streaming. Is this only available for licensed hana systems or is there a chance to use it with my trial account?

 

best regards

 

Patrick

HTTP status 303 error while calling xsjs file on hanatrial from beaglebone

$
0
0

Hi Colleagues,

 

I am trying to call post method in xsjs file from beaglebone .XSJS file is created on hanatrial account.

 

I am able to call the XSJS file from browser and postman and it works fine

 

Please find the beaglebone code which is giving HTTP 303 code.

 

var b = require('bonescript'); // Imports the BoneScript library

var uuid = require("node-uuid");

var http = require('https');

 

 

b.pinMode('P8_19', b.INPUT);

var last_value;

var flag;

setInterval(checkPIR, 10000); // Checks the Sensor Every 2.5 Seconds

 

 

function checkPIR()

{

  b.digitalRead('P8_19', printStatus);

}

 

 

function printStatus(x) {

    if(x.value === 0){

       

    console.log("No Motion Detected");

    flag = "T";

    }

    else{

    console.log("Motion Detected");

    flag = "F";   

    }

   // if(last_value !== x.value)

  

    writeToHana(flag);

 

 

    last_value = x.value;

}

 

 

function writeToHana(value) {

 

 

  var http = require('https');      //change to https to connect via internet

  var fs = require('fs');

  //var appRoot = process.cwd();

  //var cer = fs.readFileSync(appRoot +'/hanatrial.cer','utf8');

 

  var options = {

    host: 's11hanaxs.hanatrial.ondemand.com',

    port: 443,

    path: '/i309839trial/dev/HuddleRoom/services/postdata.xsjs',

    agent: false,

    headers: {

      'Authorization': 'Basic ' + new Buffer('I309839' + ':' + 'password').toString('base64'),

      'Content-Type':'application/json; charset=utf-8'

    },

   method: 'POST',

   //cert: cer

   cert: fs.readFileSync('/var/lib/cloud9/HuddleRom/hanatrial.ondemand.cer')

  };

  options.agent = new http.Agent(options);

 

 

  // Define callback responses

  callback = function(response) {

    console.log("statusCode:", response.statusCode);

    response.on('data', function (data) {

    });

    response.on('end', function (data) {

      console.log('Requested Ended at:');

    });

    response.on('error', function(e) {

      console.log('get error');

      console.error(e);

    });

  }

 

 

  var req = http.request(options, callback);

  req.on('error', function(e) {

    console.error(e);

  });

  req.shouldKeepAlive = false;

 

 

 

 

  var strData = JSON.stringify({

                "Available": "F",

                "roomNumber": "BLR25.B4.R10"

              

});

 

 

  req.write(strData);

  console.log(strData);

  req.end();

}

 

Attached is the screenshot of error.

Please help me in resolving this error.

 

Thanks & Regards,

Pushkar

How to deploy OVP in fiori launchpad

$
0
0

Hi All,

 

 

Hi All,

 

I have created a Card OverView Page(OVP) in WebIDE(See attachment). Then I deployed in Hana cloud. Now I want to show this OVP in FLP. How to register this OVP app as an overview page in FLP.

 

 

 

Note : I am using Sap Hana Trial account

 

Thanks and regards,

Karthik.S

Create OVP page from HCP IOT service data

$
0
0

Hello colleagues,

 

when doing some tests with the HCP IOT service we finally wanted to display data of  an IOT table in a SAP Fiori OVP page.

In general we can retrieve metadata and data using appropriate URIs.

In addition we could create a worklist app from a template within HCP WEB IDE and  can display the IOT data.

Our target is however to have an OVP app and to create some cards to display the data for monitoring.

When trying to generate an OVP via WEB IDE =>  new project from template => SAP Fiori Smart Template Application => Overview Page Application

we are able to select the destination of our IOT service (Service: com.sap.iotservices.mms) and we can see the tables provided by this service.

After having supplied an annotation file we end up with problems in the step Template Customization: The field Datasource Alias is prefilled with

"com.sap.iotservices.mms". On filling the field Project Namespace an error is displayed:

Invalid format for "Datasource Alias" parameter value: The Datasource Alias must only contains letters and underscores.

It is possible to change the Datasource Alias definition into a value that is accepted, e.g. "iotservices" and to have the wizard finished.

When we try to create a new card on this OVP project we can choose the Datasource Alias (that has been modified when creating the OVP page) but then it is not possible to proceed in the Template Customization step since an "Entity Set" cannot be selected.

So we completely got stuck and lost

 

Some important files are attached in a zip file for further investigations.

 

Would be great if we can have some help for our problem.

 

So many thanks in advance!

 

Mathias

NodeJS Availability on HCP Platform

$
0
0

Hi

 

Can anybuddy from HCP Development team please tell when can we have NodeJS Applications Types integrated on HCP.

Viewing all 3131 articles
Browse latest View live


Latest Images

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