Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all 3285 articles
Browse latest View live

SAP HANA Cloud Platform Security Tutorial Series

$
0
0

Here you find the links to step-by-step tutorials that explain how to implement and configure secure applications on SAP HANA Cloud Platform. The key topics covered by the tutorials are Single Sign-On (SSO) and Identity Federation with the Security Assertion Markup Language (SAML) 2.0 and web API protection with the Open Authorization (OAuth) Framework 2.0. All tutorials follow the same scenario: A leave request application in the Cloud will be enabled for Single Sign-On (SSO) so that employees can seamlessly access the application from a desktop or mobile device. The tutorials on SSO with SAML demonstrate how to integrate with a wide range of existing identity and access management (IAM) systems in the corporate network, e.g. ADFS, OpenSSO and SAP NetWeaver SSO.

 

TitleDescriptionLink to the Document
Cloud Single Sign-On and On-Premise Identity Federation with SAP HANA Cloud Platform

This whitepaper provides guidance for IT architects and developers about designing and deploying integrated solutions on the SAP HANA Cloud Platform that support Single Sign-On and Identity Federation with existing On-Premise Identity Management technology. It explains the key concepts, protocols and technologies, and introduces the enterprise leave request scenario being used in the tutorials for specific IAM solutions.

http://scn.sap.com/docs/DOC-32675
SAP HANA Cloud Platform Security Tutorial - Single Sign-On and Identity Federation with SAP NetWeaver Identity ManagementIn this tutorial, the xLeave application running on SAP HANA Cloud Platform will be configured for SSO and Identity Federation with SAP NetWeaver Identity Management 7.2.http://scn.sap.com/docs/DOC-35457
SAP HANA Cloud Platform Security Tutorial - Single Sign-On and Identity Federation with Microsoft Active Directory Federation Services (ADFS) 2.0This guide walks you through the federation setup between SAP HANA Cloud Platform with Microsoft Active Directory Federation Services (ADFS) 2.0.http://scn.sap.com/docs/DOC-35458
SAP HANA Cloud Platform Security Tutorial - Single Sign-On and Identity Federation with ForgeRock OpenAMThis tutorial provides step-by-step instructions for configuring the sample identity federation scenario between SAP HANA Cloud Platform and OpenAM from ForgeRock, the successor of the popular Open Source solution OpenSSO.http://scn.sap.com/docs/DOC-35456
SAP HANA Cloud Platform Security Tutorial - Securing your Web API with OAuth 2.0The purpose of this tutorial is to explain how OAuth can be used to secure access to an application deployed on the SAP HANA Cloud Platform.https://scn.sap.com/docs/DOC-50235
Sample application download for the SAP HANA Cloud Platform Security Tutorial Series

Download archive for the sample application "xLeave" used in the tutorial series on SSO and ID Federation with common on-premise IAM solutions. The archive contains two files:

  • xleave.war: Deployable web archive of the sample application for the SAP HANA Cloud Platform
  • xleave-sources.zip: Eclipse project export containing the sample application source files
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20d0cbce-3d48-3010-5c9b-8361771c9e6b
Secure Home Automation with SAP HANA Cloud Platform and openHABA blog post on how to use OAuth on HCP to secure "smart things" such as sensors or actors in a home automation context.

Secure Home Automation with SAP HANA Cloud Platform and openHAB - Part 1

 

Secure Home Automation with SAP HANA Cloud Platform and openHAB - Part 2


User authorization issues on HANA Studio - Trial Cloud

$
0
0

Dear SCN,

please, can someone help me on this?

 

My HANA Studio won't stop giving a "USER authorization" error messages.

It is about everything I do: trying to activate/delete project from the Repository, etc.

 

HANA error 01.png

I have followed all posts I found on SCN about this, and all of them seem to point to an update on the Tools, but I have done all the possible updates, I am using the latest version of HANA Studio components.

 

I have deleted, my Cloud Instance, recreated the Cloud System in HANA Studio, and much more.

 

The USER authorization erros just don't go away.

HANA error 02.png

 

Please, any thoughts on this will be much appreciated !!

 

Thank you very much.

Data preview problem in Attribute view

$
0
0

Hi Experts,

 

I am using SAP Hana cloud trial version. After creating hello world application, I am going forward to create attribute view and so on. Created few tables and inserted data in my schema. Then created attribute view on a table, validated and activated. All went nicely till that point. The problem is when I am trying to preview data.

 

1.png

 

1_1.png

 

After reading some blogs executed below things.

 

2.png

Then

 

3.png

 

Please help me to resolve the above issue.

 

Thanks,

Kazi

HANA Sidecar with Marklogic XML data as primary persistence

$
0
0

Anyone with experience in bringing data from Marklogic NoSQL database into HANA?  A customer wants to keep Marklogic, but wants to bring in other data sources into HANA, and leverage engines for entity extraction, geospatial, graph, and predictive.

We did it again: ISO 27001 certification for HCP

$
0
0

In 2013 we announced the HANA Cloud Platform certification on ISO/IEC 27001:2005 by TÜV NORD. This was the first significant attestation forthe security of the HCP operational processes by an independent auditor.

 

To remind, ISO 27001 is the internationally acknowledged information security standard, and a certification ensures the effectiveness of established security controls and policies.


Now we are pleased to announce that HCP has achieved the next recognition ofthe quality and credibility of its service delivery - ISO/IEC 27001:2013 certification by PricewaterhouseCoopers.


What is different in comparison to the 2013 certification?

The new certification is based on the new ISO 27001 standard, responding to the latest requirements in the industry.

It also has extended scope that reflects the evolution of the HCP product. The 2014 certification includes the new services and solutions of HCP, and all data centers where HCP currently runs - St. Leon-Rot (Germany), Ashburn (USA), and Sydney (Australia).


This achievement confirms again our commitment to provide highest quality of service to our customers and to be the trusted on-demand platform of choice.

Sharing a project in two Hana systems

$
0
0

Hi all,

I've got an XS project on one Hana computer and I'd like to mirror it on another Hana computer. I've noticed that when I create a workspace for the other system, then the 'Activate all' action offers both workspaces in the menu and installs the project in the other workspace, when selected and the project becomes available on the other machine. However, when I edit the project in the original workspace, it is not possible to install this change on the other machine, the file does not show as modified and when I open a file in the other workspace, it cannot be edited. I'm not sure this is the right way, so: what is the correct way to maintain one project on two different (unrelated) systems?

 

Cheers,

 

-- Micha

column store error: search table error

$
0
0

Hi

I am getting below Error, when i execute a store procedure.

 

 

2015 02 13 08:28:41#+00#ERROR#com.sap.pia.producer.GetStoryDetails##I309309#http-bio-8041-exec-5#na#b7a7649ff#testing#web#b7a7649ff#Exception message [SAP DBTech JDBC: [2048]: column store error: search table error: [2620] executor: plan operation failed;Can not insert data from temp table "I309309:HANALYTIC_ITEM_OUT_54BE6CA88DB610E0E10000000A6C985F (-1)" into table ""SAP_PIA_USAGECLOUD"."GG_STORY_DATA""]



Thanks

Deepak

Error message when executing WITH statement in HANA on HCP

$
0
0

I tried to execute this statement:


WITH COOL AS (select 1 from dummy)

select * from COOL

 

on your factory account on HCP with SAP HANA  91 Version installed. It gives the followin error message:

13:59:57 (SQL Editor) Could not execute 'WITH COOL AS (select 1 from dummy) select * from COOL' Error:

(dberror) 585 - operation is not permitted

 

Any idea why?

 

Thanks Frank


Error Activating Files in SAPHANA XS Engine WebIDE

$
0
0

Hello World

 

I recently ran into a problem where I could not activate some files after making changes to them

 

Has any one had this problem before, I would like to know how to resolve this interesting problem.

 

A screen shot is attached, I can give more information that will help resolve this problem

 

Thanks

06-02-2015 15-35-03.png

16:21:58 >> File sap/hana/ta/config/LIV2_CD.hdbtextdict saved successfully.

Error while activating:
Text Analysis extraction dictionary did not compile and cannot be activated; in the indexserver trace file locate the TextAnalysisDictionaryRuntime component for details

06-02-2015 16-23-22.png

Portal content widget autodiscovery

$
0
0

Dear all,

 

We need some help in regards to the HCP Portal content widget autodiscovery mechanism.

 

The XS app is activated and working as a standalone and as URL widget on the trial instance, but we would like to have also the autodiscovery functionality.

We created the file test.spec.xml and placed in the directory of the index.html, but the XS app is not visible as a widget in the Content tab.

 

<?xmlversion='1.0'encoding='UTF-8'?> 

<Module>

  <ModulePrefstitle="SAPUI5 test"height="250"description='A widget used to

manage to-do lists'>

       <Requirefeature="sap-xhrwrapper"/>

       <Requirefeature="sap-theme"/>

  </ModulePrefs>

 

<Contenttype="html"

  view="default, authoring, consumption, mobile, preview"href="index.html">

</Content>

</Module>

 

We will appreciate any suggestions how to fix the spec.xml file!

 

Thanks & Regards!

Request to xsjs on Microsoft Azure HANA cloud instance causes downloading xsjs file

$
0
0

Hi,

I follow the instruction to create a helloword xs project in Microsoft azure hana platform, the project uses form authentication, after creating and activating the xs project, when sending request to retrieveData.xsjs as below

 

http://fiori-han-128b28ca-2d06-47a4-8da7-80e4ef1a031a.cloudapp.net:8000/workshop/sessiona/00/cloudhello/retrieveData.xsjs

 

The Chrome browser will first show the logon page, after inputting the user name and password, then instead showing the html content based on retrieveData.xsjs's xsjs code, the chrome browser just downloads the file of retrieveData.xsjs to local.

 

The whole project is attached for your reference.

 

The content of .sxaccess is:

{

    "exposed" : true,          

    "authentication" :                                          

            {

              "method": "Form"

            },

 

    "cache_control" : "must-revalidate",

    "cors" :                    

            {

            "enabled" : false

            },

                  

    "enable_etags" : false,

    "force_ssl" : false,

    "prevent_xsrf" : true

}

 

 

 

 

The content of retrieveData.js is:

 

 

$.response.contentType = "tex/html";

var output = "hello world! <br><br>";

var conn = $.db.getConnection();

var pstmt = conn.prepareStatement("select * from DUMMY");

var rs = pstmt.executeQuery();

 

if (!rs.next()){

  $.response.setBody("Failed to retrieve data");

  $.response.status = $.net.http.INTERNEL_SERVER_ERROR;

}

else{

  output = output +" this is the response from my sql: " + rs.getString(1);

}

rs.close();

pstmt.close();

conn.close();

$.response.setBody(output);

 

 

Thanks for any help for the issue

Jonathan

HANA_CLOUD_ECLIPS

$
0
0

HI there.........

I am trying to install "SAP HANA Cloud Platform Tools" on eclips luna........

 

but i t was showing the following errors.......

 

Cannot complete the install because one or more required items could not be found.

  Software being installed: SAP HANA Cloud Platform Tools for Java 1.44.0 (com.sap.core.tools.eclipse.server.feature.feature.group 1.44.0)

  Missing requirement: SAP HANA Cloud Platform connectivity editor commons 1.14.0 (com.sap.core.tools.eclipse.connectivity.editor.common 1.14.0) requires 'bundle org.eclipse.emf.validation 0.0.0' but it could not be found

  Cannot satisfy dependency:

    From: SAP HANA Cloud Platform connectivity editor 1.14.0 (com.sap.core.tools.eclipse.connectivity.editor 1.14.0)

    To: bundle com.sap.core.tools.eclipse.connectivity.editor.common 0.0.0

  Cannot satisfy dependency:

    From: SAP HANA Cloud Platform connectivity editor 1.14.0 (com.sap.core.tools.eclipse.connectivity.editor.feature.feature.group 1.14.0)

    To: com.sap.core.tools.eclipse.connectivity.editor [1.14.0]

  Cannot satisfy dependency:

    From: SAP HANA Cloud Platform Tools for Java 1.44.0 (com.sap.core.tools.eclipse.server.feature.feature.group 1.44.0)

    To: com.sap.core.tools.eclipse.connectivity.editor.feature.feature.group [1.14.0]

 

could any one guide me through this issues.....

 

Thanks in Advance.

SAP NetWeaver Cloud Tools | Unable to Install for Eclipse Juno

$
0
0

Hi all,

 

I am trying to install

SAP NetWeaver Cloud Tools for Eclipse Juno - https://tools.netweaver.ondemand.com/juno for Eclipse Juno

 

But, I get this error.

 

Cannot complete the install because one or more required items could not be found.

  Software being installed: Eclipse Tools for SAP NetWeaver Cloud 1.3.0 (com.sap.core.tools.eclipse.server.feature.feature.group 1.3.0)

  Missing requirement: Connectivity Configuration Client Cloud for SAP NetWeaver Cloud 0.6.7 (com.sap.core.tools.eclipse.connectivity.client 0.6.7) requires 'bundle org.apache.httpcomponents.httpclient 4.1.1' but it could not be found

  Cannot satisfy dependency:

    From: Connectivity Configuration Editor for SAP NetWeaver Cloud 0.6.7 (com.sap.core.tools.eclipse.connectivity.editor.feature.feature.group 0.6.7)

    To: com.sap.core.tools.eclipse.connectivity.client [0.6.7]

  Cannot satisfy dependency:

    From: Eclipse Tools for SAP NetWeaver Cloud 1.3.0 (com.sap.core.tools.eclipse.server.feature.feature.group 1.3.0)

    To: com.sap.core.tools.eclipse.connectivity.editor.feature.feature.group [0.6.7]

 

 

 

I have gone through all the items in the FAQ (http://scn.sap.com/docs/DOC-28325) and couldnt find an answer.

Can you please help?

User isn't authorized for Calculation view activation

$
0
0

Colleagues, hello.

 

I got access to SAP HANA Cloud Platform and everything was OK during my research.

I made CV and tried to activate it. Here I got a trouble.

 

My user hasn't necessary authorization.

Capture.GIF

 

I read about HCP  stored procedures user but it still isn't clear for me how I can add priviligies to actiovation this calculation view.

 

Could somebody help me with this issue and provide comparing between HCP stored procedures and usual GRANT command?

how to write to file on server?

$
0
0

Hi,

I have written a simple application with html5 and javascript that reads data from a .csv file.

The user shall be able to change form fields online and save it back to the file.

 

How do I - in the simplest case - write a variable from js, let's say (var newContent = "Hello World";) to the mydata.csv.

 

PHP apparently didn't work. Do you support php or which language do you use?

I really just need a quick and dirty approach for a dev-noob.

 

Thanks

Thomas


"SAP" - "SAP Hana cloud" not available in Create New Server

$
0
0

Upon installing the additional components (SAP HANA on cloud tools) in Eclipse (Kepler), i don't see the drop down SAP - SAP HANA on cloud. Can some shed light. or let me know i can attach the screen shot if i m not clear. I think i did all pre-requisites but it seems there is something missing.

Connection failed to hanatrial.ondemand.com while setting up initial configuration in hana cloud connector

$
0
0

Hi,

I am trying to set up cloud connector and connect to hanatrial.ondemand.com. The first time I was able to connect and work on it. Suddenly the connection got cut and from then on I am not able to connect to it at all. I get an error message "An error occurred when trying to connect — see logs for details". From the logs I get the message "#Error when checking connectivity by sending HEAD request to https://connectivitycertsigning.hanatrial.ondemand.com ".

 

I am working from Home network - not under proxy. So not really sure if I will have to provide proxy details. Can somebody help me to resolve the issue ?

 

Regards,

Sandhya

 

Events where SAP HANA Cloud Platform is presented

$
0
0

This document provides you with information when and where the SAP HANA Cloud Platform is presented at events around the globe.

 

 

Upcoming Events 2015

 

WhenEventCountryCityAdditional Info
Feb 24 - Mar 3ESA App CampFinland, Portugal, UK, Germany, Italy, NetherlandsOrganized by the European Space Agency and supported and sponsored by SAP
Mar 9 - 12EclipseCon 2015 NAUSASan Francisco
Mar 9SAP CodeJam MadridSpainMadridDevelop an app in a day, Students Edition
Mar 16 - 20CeBITGermanyHannoverSAP InnoJam at CeBIT 2015
Mar 21SAP Inside TrackGermanyFrankfurt
Mar 23 - 24SAP IT SummitAustriaSalzburgAn IoT workshop for developers will be provided.
Mar 23SAP CodeJam PortugalPortugal Coimbra
Apr 17SAP CodeJam (details to follow)SwitzerlandSt. GallenUniversity St. Gallen
Apr 23SAP CodeJam AntwerpBelgiumKontich

 

 

Past Events 2015

 

DateEventCountryCityAdditional Info
Feb 7SAP Inside Track Rome 2015ItalyRomeFocusing on IoT specific topics on SAP HANA Cloud Platform. Blog post Rui Nogueira
Feb 7SAP CodeJam South BendUSASouth Bend
Feb 6SAP CodeJam South BendUSASouth Bend

Problem in getting connection for JDBC application in SAP HANA with Java Runtime environment

$
0
0

Hi guys,

 

I just started Developing JAVA EE application in in SAP HANa via eclipse plugin for SAPHANA Cloud platform

 

while i am developing an application  igo the below error

error1.JPG

it means that there is some sort of problem in establishment of connection in jdbc

 

here i am adding my code that describes how i established  my connection

package com.atumit;

 

 

import java.sql.Connection;

import java.sql.DatabaseMetaData;

import java.sql.PreparedStatement;

import java.sql.ResultSet;

import java.sql.SQLException;

 

 

import java.util.UUID;

 

 

import javax.sql.DataSource;

 

 

/**

* Data access object encapsulating all JDBC operations for a person.

*/

public class PersonDAO {

    private DataSource dataSource;

 

 

    /**

     * Create new data access object with data source.

     */

    public PersonDAO(DataSource newDataSource) throws SQLException {

        setDataSource(newDataSource);

    }

 

 

    /**

     * Get data source which is used for the database operations.

     */

    public DataSource getDataSource() {

        return dataSource;

    }

 

 

    /**

     * Set data source to be used for the database operations.

     */

    public void setDataSource(DataSource newDataSource) throws SQLException {

        this.dataSource = newDataSource;

        checkTable();

    }

 

 

    /**

     * Add a person to the table.

     */

    public void addPerson(Person person) throws SQLException {

        Connection connection = dataSource.getConnection();

 

 

        try {

            PreparedStatement pstmt = connection

                    .prepareStatement("INSERT INTO T_PERSONS "

                    + "(ID, FIRSTNAME,MIDDLENAME, LASTNAME,LOGINNAME,PASSWORD,RETYPEPASSWORD,EMAILID,DOB,CONTACTNUM,ADDRESS,CITY,PINCODE,STATE,PANNUMBER,PASSPORTNUMBER,DRIVINGLICNUMBER MODULENAME,INSTNAMEADDR,PRIMARYSKILLS,SECONDARYSKILLS,UNDERGRAD,YEAROFPASS,UNIVNAME,PERCENTAGE) "

                    + "VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,?,?,?,?,?,?,?,?)");

            pstmt.setString(1, UUID.randomUUID().toString());

            pstmt.setString(2, person.getFirstName());

            pstmt.setString(3, person.getMiddleName());

            pstmt.setString(4, person.getLastName());

            pstmt.setString(5, person.getLoginName());

            pstmt.setString(6, person.getPassword());

            pstmt.setString(7, person.getReTypePassowrd());

            pstmt.setString(8, person.getEmailId());

            pstmt.setString(9, person.getDob());

            pstmt.setString(10,person.getConnum());

            pstmt.setString(11,person.getAddr());

            pstmt.setString(12,person.getCity());

            pstmt.setString(13,person.getPinCode());

            pstmt.setString(14,person.getState());

            pstmt.setString(15,person.getPannum());

            pstmt.setString(16,person.getPassportNum());

            pstmt.setString(17,person.getDrivLicsNum());

            pstmt.setString(18,person.getModuleName());

            pstmt.setString(19,person.getInstAddr());

            pstmt.setString(20,person.getPrimskill());

            pstmt.setString(21,person.getSecskill());

            pstmt.setString(22,person.getUg());

            pstmt.setString(23,person.getYop());

            pstmt.setString(24,person.getInstname());

            pstmt.setString(25,person.getPercentage());

           

           

            pstmt.executeUpdate();

        } finally {

            if (connection != null) {

                connection.close();

            }

        }

    }

 

 

    /**

     * Get all persons from the table.

     */

        /**

     * Check if the person table already exists and create it if not.

     */

    private void checkTable() throws SQLException {

        Connection connection = null ;

 

 

        try {

            connection = dataSource.getConnection();

            if (!existsTable(connection)) {

                createTable(connection);

            }

        } finally {

            if (connection != null) {

                connection.close();

            }

        }

    }

 

 

    /**

     * Check if the person table already exists.

     */

    private boolean existsTable(Connection conn) throws SQLException {

        DatabaseMetaData meta = conn.getMetaData();

        ResultSet rs = meta.getTables(null, null, "T_PERSONS", null);

        while (rs.next()) {

            String name = rs.getString("TABLE_NAME");

            if (name.equals("T_PERSONS")) {

                return true;

            }

        }

        return false;

    }

 

 

    /**

     * Create the person table.

     */

    private void createTable(Connection connection) throws SQLException {

        PreparedStatement pstmt = connection

                .prepareStatement("CREATE TABLE T_PERSONS "

                        + "(ID VARCHAR(255) PRIMARY KEY NOT NULL, "

                        + "FIRSTNAME VARCHAR (255),"

                        + "MIDDLENAME VARCHAR (255),"

                        +"LASTNAME VARCHAR (255),"

                        +"LOGINNAME VARCHAR (255),"

                        + "PASSWORD VARCHAR(255), "

                        +"RETYPEPASSWORD VARCHAR(255),"

                        +"EMAILID VARCHAR(255),"

                        +"DOB STRING,"

                        +"CONTACTNUM INT ,"

                        +"ADDRESS VARCHAR(255),"

                        +"CITY VARCHAR(255),"

                        +"PINCODE INT,"

                        +"STATE CHAR(30),"

                        +"PANNUMBER VARCHAR(25),"

                        +"PASSPORTNUMBER VARCHAR(25),"

                        +"DRIVINGLICNUMBER VARCHAR(25),"

                        +"MODULENAME CHAR(30),"

                      

                        +"INSTNAMEADDR VARCHAR(40),"

                        +"PRIMARYSKILLS VARCHAR(25),"

                        +"SECONDARYSKILLS VARCHAR(25),"

                        +"UNDERGRAD VARCHAR(25),"

                        +"YEAROFPASS INT,"

                        +"UNIVNAME VARCHAR(25),"

                        +"PERCENTAGE INT,"

                        );

        pstmt.executeUpdate();

    }

}

 

and even in web.xml i added resources i.e

 

<resource-ref>

        <res-ref-name>jdbc/DefaultDB</res-ref-name>

        <res-type>javax.sql.DataSource</res-type>

    </resource-ref>

 

as i am new for deploying JDBC application into HANA Databases cany one suggest me how to resolve the above mentioned problem

 

 

Thanks&Regards

Ramu Vedula

SAP HCP, Extension Package for SuccessFactors - Provisioning Setup

$
0
0

I’m working on a scenario to build SuccessFactors app. I followed steps listed in ‘SAP HCP extension package for SF 120514’ manual for Configuring SAP HANA Cloud Platform, Extension Package for SuccessFactors.

 

But in SuccessFactors Provisioning, my account by default seems to be integrated with different account (IMAGE 1) instead of my SAP HCP Trial account (IMAGE 2) and I’m not allowed to change this default configuration.


IMAGE 1.png

 

IMAGE 2.png

 

I further tried raising an incident as suggested in the manual but getting authorization error and hence unable to raise the incident. Can someone please help, how to get my provisioning mapped to SAP HCP trial account.

 

Thanks,

Shweta

Viewing all 3285 articles
Browse latest View live


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