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

openSAP course guide - SAP HANA Cloud Platform Essentials

$
0
0

Welcome

Hi everyone,

 

our new openSAP course SAP HANA Cloud Platform Essentials starts today, on May 10th 2016, and ends on June 29th 2016. It's a 6 week course followed by another week for the final exam. Since the introduction of SAP HANA Cloud Platform in 2012 and the first openSAP course about it in 2013, the platform has been continually improved and additional functionality has been delivered. In this course, you will get to know the platform in its most up-to-date state yet.

 

This course will introduce you to SAP HANA Cloud Platform and show you how as a developer to take advantage of the various services it provides. Ideally, you should have basic skills in Java programming as well as a basic knowledge of how to use the Eclipse development environment. If you took part in the previous courses, you should join this one, because it covers many newly introduced services like the IoT services, gamification services, mobile documents and many more. You will get a more holistic view on the capabilities of the SAP HANA Cloud Platform.

 

 

Week Guides

This document will guide you through the course. For each week we'll publish a blog post that is related to the corresponding week of the course. Those documents will provide you with additional material, explanations or Q&A around the topic of the week. Depending on the feedback and questions inside the forum of the course I might also add additional material (e.g. videos) during and after the course to address the frequently asked questions so that you have a one-stop-shop for this course. I hope you will enjoy the course!

 

Weeks of the course
Week 1 - Basics
Week 2 - Security
Week 3 - Connectivity
Week 4 - Persistence
Week 5 - IoT and Collaboration
Week 6 - Additional Services

 

All the best,

Sven


HCP Cloud Connector - Breakup session for inspection

$
0
0

Hello, We will be having some applications running on the SAP HANA Cloud Platform. Access will be though SAP Gateway, HCP Cloud connector, F5 APM and some firewalls over HTTPS (oData).  Is it possible to break up the TLS/HTTPS session between the HCP Cloud Connector and the application in the HCP Cloud? We want to break it up for inspection (by our IPS for example).  By break up I mean de-crypt/re-encrypt by IPS.  Any idea if this is technically possible or not? Kind regards, Ulrich Delvaux

A Fiori App backed by Cloud Foundry based OData Service

$
0
0

aston-martin-869646_1280.jpg

 

At the recent Sapphire one of the big news for the developers was the beta release of Cloud Foundry(CF) based services for SAP HANA Cloud Platform. Rui Nogueira provided a lot of details in his blog. As explained in Rui's blog we get a lot of new capabilities with these services like additional runtimes and backing services, additional ways for apps to be scalable etc.  Developers are known to be magpies  i.e. interested in new and shiny things. So how does the existing rich set of HANA Cloud Platform capabilities fit with the new and shiny things provides by these CF services. In this blog I would show how to mash the new and existing services to develop a Fiori Application that is backed by an Odata service running inside cloud foundry services.

Prerequisites

 

To successfully run this scenario you would need the following

  • A SAP HANA Cloud Platform(HCP) trial/facotry account ( For new register here )
  • Registered for the Cloud Foundry based services on HCP. ( For new follow instructions here OR Step 1 of this blog)
  • Working Cloud Foundry CLI from the step above.
  • Working JDK/Maven/GIT
  • Some knowledge of WebIDE

 

Part 1: Olingo based OData Backend

Step 1: Developing the OData based Cars service locally

 

I will be a little lazy over here and take a short cut to do this. Apache OData is a java library that is used to enable OData services for your project. It comes with a Maven artifact that we will use to generate sample code which would be sufficient for our purposes.  Launch a command line CMD on Windows and Terminal on Mac. If you have a working maven launch the following command ( if you don't have maven clone this git repo), please note this is a really long command line so make sure to copy paste all of it

 

mvn archetype:generate -DinteractiveMode=false -Dversion=1.0.0-SNAPSHOT -DgroupId=com.acme -DartifactId=cf-cars-svc -DarchetypeGroupId=org.apache.olingo -DarchetypeArtifactId=olingo-odata2-sample-cars-annotation-archetype -DarchetypeVersion=RELEASE

You should see something like this

 

2016-06-07 11_11_16-_new  4 - Notepad++ [Administrator].png

This will create a cf-cars-svc directory in your current folder. That's it, we have all the Java code needed for our purpose :-) Change directory to the newly created cf-cars-svc folder. You can check the code if you want to by firing up your favorite IDE. Proceed further to package it using Maven

 

mvn package

Maven would try to download the internet ;-) once it has everything it needs it will package it nicely as a war file in the target folder.

 

Step 2: Prepping for Cloud Foundry - manifest.yml

 

Cloud Foundry requires a manifest file that acts as metadata for your application. This manifest.yml file instructs CF on how much memory to use, what to name the app any backing services to use etc. Please create a manifest.yml file in the cf-cars-svc folder

 

---
applications:
- name: cars  memory: 512M  host: carsxxx  path: target/cf-cars-svc.war

As you can see we will call our application cars, it will use 512MB of memory (you a 1GB of quota as part of beta) and the host will be called carsxxx. Please note the host needs to be unique across all the applications even by different users. So if you use just cars it may already be taken. If that happens during the next step. Just come back and change it to something unique. Another thing to remember is that yml files are quite finicky about the syntax so if you get syntax error, you may want to use this one from github. We have everything we need locally to push these bits to SAP HCP Cloud Foundry.

 

Step 3: Push it push it

 

Remember you would need Cloud Foundry CLI for this step. If you haven't downloaded that yet, now would be good time to do it from here as other wise you are going to hit a wall. Open a command prompt and specify CF API point for HCP CF

 

 cf api https://api.cf.us10.hana.ondemand.com

 

You should see something like this

 

2016-06-07 14_43_45-C__WINDOWS_system32_cmd.exe.png

 

Your CF CLI is now pointing to HCP CF and knows all commands you give from now should be in the context of HCP CF. As the good doctor CLI says in the screenshot you have to login. You can do that by doing cf login and giving the credentials as shown below

 

2016-06-07 14_49_35-C__WINDOWS_system32_cmd.exe.png

 

All that is left now is to do the cf push command to push the code. Please make sure you are in the cf-cars-svc folder and there is a target folder containing the war file in it. Also check that manifest file manifest.yml is in the cf-cars-svc folder. After cf push you should see this

 

2016-06-07 14_55_52-C__WINDOWS_system32_cmd.exe - cf  push.png

 

Followed at the end of successful push you would see the following, notice the URL in the logs. This would be the URL to access our application. You can also get the same URL from HCP CF Cockpit.

 

2016-06-07 14_58_39-C__WINDOWS_system32_cmd.exe.png

 

You can also login to web based HCP CF cockpit to check the application https://hcp-cockpit.cfapps.us10.hana.ondemand.com/cockpit you would need to login with your credentials. After login you would see a list of all the apps deployed in your account. Click on the your application name hyperlink and youshould see the following with the URL to your application as well

 

2016-06-07 15_47_57-bootone _ dev _ cars _ Overview - SAP HANA Cloud Platform, Starter Edition for C.png

 

Notice the URL for your app https://xxx.cfapps.us10.hana.ondemand.com/ where xxx is the host name you chose in your manifest file. Go to this URL and you would see a the following webpage with link to various OData Endpoints. There is a button to generate the data as well. Click on the button only once. There is also link for service document. This URL (https://xxx.cfapps.us10.hana.ondemand.com/MyFormula.svc/ ) will be used in creating the Fiori app.


2016-06-07 15_36_41-Apache Olingo - OData2 Library.png

Also click on the links with Cars or Drivers in the link and you should see some data. Congrats you are done with the first part and you have a Odata based service running on HCP CF.


Part 2: Developing Fiori Front End


Step 1: Create HCP Destination

 

Login to HCP Cockpit and click on destinations in the left navigation bar. Create a destination with the name Car-O-Data. In the URL field use the Service document URL we had noted down in Part 1 (https://xxxx.cfapps.us10.hana.ondemand.com/MyFormula.svc/) Replace xxxx with the host name you used in manifest file. Rest of the details for the destination are shown below

 

2016-06-07 16_19_55-Europe (Trial) _ Pankaj's HCP Trial _ Destinations - SAP HANA Cloud Platform Coc.png

Step 2: Developing the Fiori App front End

 

Browse to WebIDE and choose new project from Template. Choose the Fiori - Master Detail template. Supply a good project name. Most important part happens in the Data Connection tab as shown below. Click on Service URL from the left hand Sources table and choose the Car-O-Data system. Specify the URL again https://xxxx.cfapps.us10.hana.ondemand.com/MyFormula.svc. Make sure you see the entities from Odata service when you click on the button in the URL field

2016-06-07 16_54_03-SAP Web IDE.png

In the template customization specify the name, namespace etc. For the Master section i.e. Object choose Manufactures as shown below

2016-06-07 17_05_17-SAP Web IDE.png

For the line item choose cars as shown below.

 

2016-06-07 17_05_48-SAP Web IDE.png

We are ready with the Fiori Application. Click Finish and now you can run your Fiori App to see it pulling data from Odata service you deployed in part one. There you have it OData backend running in Cloud Foundry services of HCP while Fiori app running in WebIDE.

 

2016-06-07 17_16_11-Cars.png

I would be very interested to know how you found this hands on. Looking forward to your work with HCP Cloud Foundry services.



How to Consume XSODATA service from HTML5 in HCP productive version

$
0
0

Hello

 

In our productive environment, we have created a odata service from tables defined in a hanaxs database(not MDC).

I can display the metadata with all the entities of the service with :

 

https://server/myapp/services/myservice.xsodata/$metadata

 

I have created a destination :

type : http

Url : https://server

proxy type : internet

authentication : AppToAppSSO

 

In additional Properties, i have set saml2_audience, WebIDEEnabled(true), WebIDESystem(destination name), WebIDEUsage(odata_gen, odata_xs)

 

When I try to create a Master/Detail app, the service Url selector find my destination.

I enter the service path : /myapp/services/myservice.xsodata

 

and an error 500 occurs

 

Any clue ?

 

Best regards

 

Emmanuel

JCO jar not visibile in SAP HANA Cloud Platform SDK for Java Web Tomcat 7

$
0
0

Hi All,

 

I am trying to follow a sample tutorial at link SAP HANA Cloud Platform  in order to access an ABAP backend via SAP cloud connector. I particularly want to do this in order to check if the SAP Cloud Connector that I installed on my laptop is working. My Mac has a Java version as below

 

java -version

java version "1.8.0_73"

Java(TM) SE Runtime Environment (build 1.8.0_73-b02)

Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)

 

As per the error messages and SCN suggestions, I needed to use SAP HANA Cloud Platform SDK for Java Web Tomcat 7 (neo-java-web-sdk-2.50.9.zip) located at SAP Development Tools since versions 2.x and 3.x only are compatibale with Java 8. I installed it, pointed my deployment to this SDK and deployed to HCP.

 

However, when I run the application, I get the error

Exception in thread "main" java.lang.RuntimeException: Unable to get full version

  at com.sap.conn.jco.About.main(About.java:35)

Caused by: java.lang.ClassNotFoundException: com.sap.conn.jco.rt.About

  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

  at java.lang.Class.forName0(Native Method)

  at java.lang.Class.forName(Class.java:264)

  at com.sap.conn.jco.About.main(About.java:28)

 

When I debug further, I see that the neo-java-web-sdk-2.50.9.zip does not have any files under /repository. Is that expected? In previous versions there was a jar called neo-java-web-sdk-1.103.15.2 which contained com.sap.conn.jco.cloud.rt.sdk_3.1.1.17 under the plugins folder. I no longer see this in the 2.50.9 version.

 

Has something changed? Is there some new way to reference the JCO jar?

 

Regards

Suneet

Olingo and EJB

$
0
0

Hi everyone,

 

     I'm not entirely sure if this is the right place to ask this question. Anyways, I'm trying to build an OData service in Java using Apache Olingo. So far so good. But I also want to add persistence to my service. When using JPA it works out of the box, as Olingo has a built-in JPA processor. But I read on the HCP documentation that the prefer way is container-managed persistence using EJB.

     I'm aware it is possible to create an own processor, but I don't want to write so much coding. Is there a way to still make use of the Olingo JPA processor?

 

Additional info: I'm using Olingo OData v2.

 

 

Thanks,

Tudor

SuccessFactors ODATA Services via HCP API Management : Unable to fetch data from catalog

$
0
0

Hi Experts,

 

I am trying hands-on on the API Management service(HCP trial account) and did create an API provider for a successfactors instance I have account on.

 

Settings are as below >>

 

Connection:

Host : apixx.successfactors.com

Port : 443

 

Authentication:

Use SSL :  checked

Authentication Type : Basic

UserName : user@company

password : valid password

 

This automatically forms the Catalog URL as >> https://apixx.successfactors.com:443/odata/v2, which if I use in the browser , and provide authentication details, it does throw the list of ODATA services so it looks good so far till here. I can also invoke these services from Postman, so there is no issue with respect to the link / user / password etc.

 

 

After this step, when I save the API provider and then move to the Manage --> Create API option, and select the recently created API provider and click on Discover(Expectation here is to see the list of ODATA services and to select one) , I always get the  error as shown in image.

 

error.JPG

 

Attempt to re-do the operation does only change the request ID(GUID format ID) every time.

 

Questions >>

1. is there any obvious error in the configuration or anything being missed?

2. the different request ID being generated for every attempt , is it something that can be checked inside logs for more details?

 

Thanks in advance,

Amol Joshi

Why does HelloWorld xsjs service from Learning hub course fail with error 500?

$
0
0

Hi,

I've reached page 423 of the online course and when I try to execute the given xsjs HelloWorld exercise, I get an error 500. I am using a trial account in SAP HCP with an MDC database. I searched online but found nothing helpful. I was unable to add a "developer_mode" parameter to the httpserver section of xsengine.ini as suggested on http://help.sap.com/saphelp_hanaplatform/helpdata/en/a2/acd502e9544de298c3959f250127f5/content.htm?frameset=/en/d0/24177cfc5e49369cc6c4fe87d2faa7/frameset.htm&current_toc=/en/34/29fc63a1de4cd6876ea211dc86ee54/plain.htm&node_id=309&show_children=false

No error, just nothing. Very unhelpful.

 

This is what my code looks like:

 

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

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

var sOutput = "<!DOCTYPE html>"+

    "<html>"+

        "<head>"+

            "<title>Hello, World!</title>"+

        "</head>"+

        "<body>"+

            "<h1>Hello, World!</h1>"+

            "<p>Current server time:"+Date()+"</p>"+

            "<p>Current User:"+$.session.getUserName()+"</p>"+

        "</body>"+

    "</html>";

$.response.setBody(sOutput);

 

...and this is what my .xsaccess file looks like:

 

{

     "exposed" : true, 

                 

     "authentication" :                                           

            {

               "method": "Form"  

            },

 

     "cache_control" : "must-revalidate",

 

     "cors" :                     

            {

             "enabled" : false

            },

                    

     "enable_etags" : false,

 

     "force_ssl" : false,

    

     "prevent_xsrf" : true

}

 

Is anybody able to assist?

Regards,

Johan


Not able to Register FILE ADAPTER (FileAdapter) in DP Agent for HCP account instance

$
0
0

Hi Friends,

 

 

We have an account of HCP (HANA Cloud Platform)

 

We have imported the EIM DATA PROVISIONING UNIT into our Admin User using Eclipse

 

We have followed all the procedure as specified in the following URL:

 

http://help.sap.com/saphelp_hana_options_eim/helpdata/en/4e/23749e599a4c5397df8901e2986b89/content.htm and were able to do following things in

SAP HANA Data Provisioning Agent tool software

 

  • Connect to HANA: Connected

 

  • Agent: Registered

 

  • FileAdapter registration: ERROR

 

We are getting the following error -


Adapter ‘File Adapter’ could not be registered with HANA server. Request failed for ADMIN_REGISTER_ADAPTER Context: Http Error::Internal Server Error

 

FYI: All the required services are running

 

 

 

Thanks and Regards

Prateek Arora

Cannot delete instance

$
0
0

Hi team,

 

The delete button is deactivated and I cannot push it to delete my instance.

 

Here's an image of it.

 

hanaxs_question.png

Does anyone know why is this happening?

 

thank you,

.CV

Events where SAP HANA Cloud Platform is presented

$
0
0

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

 

 

 

Upcoming Events 2016

 

DateEventCountryCityDetailsSAP HCP Expert
June 9SAP HANA Cloud Platform Road Map Webinar (DSAG)Online

Thorsten Schneider

Sven Kohlhaas

June ?SAP CodeJam PassauGermanyPassau
Sep 01 - 05Cloud Foundry Summit Europetbdtbd
Sep 12 - 14TechCrunch Disrupt SF 2016USASan Francisco, CA
Sep 19 - 23SAP TechEd 2016 USUSALas Vegas, NV
Sep 20 - 22DSAG Jahreskonferenz (Annual Conference)GermanyNürnberg
Oct 05 - 08SAP TechEd 2016 IndiaIndiaBangalore
Nov 08 - 10SAP TechEd 2016 EuropeSpainBarcelona

 

 

Past Events 2016

 

DateEventCountryCityDetailsSAP HCP Expert
June 3SAP HANA Cloud Platform Road Map Webinar (EMEA SAP User Groups)Online

Thorsten Schneider

Sven Kohlhaas

May 25 - 26Glue 2016 ConferenceUSABroomfield, CO
May 25SAP HANA Cloud Platform Road Map Webinar (ASUG)Online

Michael Phorn

Sven Kohlhaas

May 23 - 25Cloud Foundry Summit USAUSASanta Clara, CA

Sanjay Patil

Wei-Wei Lin

Pankaj Kumar

Jenny Lundberg

May 18SAP CodeJam SydneyAustraliaSydneyEmil Aleksandrov
May 17 - 19SAPPHIRE NOW + ASUG Annual ConferenceUSAOrlando, FL
May 15 - 19O'Reilly OSCONUSAAustin, TX
Apr 28-29DSAG AK Medien SAP HANA Cloud Platform Workshop & HackathonGermanyWalldorfRetrospective: DSAG AK Medien SAP HANA Cloud Platform Workshop & Hackathon

Matthieu Pelatan

Sven Kohlhaas

Apr 20-22SAP InnoJam MoscowRussiaMoscowPart of SAP Forum MoscowVladimir Pavlov
Apr 19-21Power Week: Build SuccessFactors Extensions on HCPUSAPalo Alto, CAPartner Workshop

Pankaj Kumar

Michael Phorn

Apr 20SAP HANA Cloud Platform Architecture CallOnlineAn introduction and overview of SAP HANA Cloud Platform

Pankaj Kumar

Apr 18-20Power Week: Build SuccessFactors Extensions on HCPGermanyWalldorfPartner WorkshopStanimir Invanov
Apr 19-21JAXGermanyMainzRetrospective: SAP HANA Cloud Platform presence at JAX conference April 19th-21st 2016 in Mainz

Sven Kohlhaas

Ralf Ackermann

Apr 9SAP Next-gen Hackathon on HCPIndiaPuneSAP Next-Gen Hackathon on SAP HANA Cloud Platform

Gaurav Dey

Krishna Kumar S

Apr 5 - 7Power Week: Build S/4 HANA Extensions on HCPUSAPalo Alto, CAPartner Workshop

Pankaj Kumar

Michael Phorn

Mar 31SAP CodeJam St. PetersburgRussiaSt. PetersburgPart of SAP Innovation ForumVladimir Pavlov Yordan Pavlov
Mar 21-23#innotakeoffUSAPalo Alto, CASAP #innotakeoff was a big hit

Sonali Desai

Jin Wong

Mar 15SAP HANA Executive CouncilUSASanta Clara, CAhttps://blogs.saphana.com/2016/01/20/the-sap-hana-executive-advisory-council-2016/Jenny LundbergDan Lahl
Mar 14-18InnoJam++ at CeBIT 2016 by SAP and VolkswagenGermanyHannoverInnoJam++ at CeBIT 2016 by SAP and Volkswagen a Success!

Matthieu PelatanSven Kohlhaas

Mar 14-16SAP Ariba LiveUSALas Vegas, NV

http://www.aribalive.com/2016/las-vegas

 

Writeup from Mike:
SAP HANA Cloud Platform @ AribaLive 2016

Michael Phorn
Mar 7-10EclipseCon NA 2016USAReston, VAEclipses, Clouds, Dirigibles, Dinosaurs...Vladimir Pavlov
Mar 2-4Riga Dev DayLatviaRigahttp://rigadevday.lv/Milen Manov
Feb 26

HANA Cloud Platform updates and roadmap

APJWebinarSession on new and planned features of HANA Cloud PlatformSupriya Mayank Umbarkar
Feb 25Lesbians Who Tech Summit Tech CrawlUSASan Francisco, CATired of the Excuses? Throw Diversity-in-Tech Assumptions Out the Door at #LWTSummitMoya Watson
Feb 23-26SAP Insider HR Conference 2016USALas Vegas, NVSAPinsider HR Conference 2016Dan Kearnan
Feb 16-19SAP Insider HANA VegasUSALas Vegas, NVSAPinsider HANA Conference 2016Dan Kearnan
Feb 5SAP CodeJam Cape TownSouth AfricaCape Town
Feb 4SAP CodeJam DurbanSouth AfricaDurban
Feb 3SAP CodeJam JohannesburgSouth AfricaJohannesburg
Jan 22SAP CodeJam JaipurIndiaJaipur

Anuj Mehta

Gaurav Dey

Jan 8

SAP CodeJam Wroclaw

PolandWroclaw

SAP CodeJam on SAP HANA Cloud Platform in Wroclaw, Poland done

Vladimir PavlovSven Kohlhaas

 

 

 

2015 Events Archive

 

DateEventCountryCityDetailsSAP HCP Expert
Nov 24-25SAP CodeJam Sao Leopoldo (SAP HCP with IoT)BrazilSao LeopoldoHCP and IoT ServicesAaron Williams
Nov 19ASUG HANA Cloud Platform Roadmap webinarUSA (online)Online8-9am Pacific Time - more info and to sign up:  http://scn.sap.com/docs/DOC-33207Jenny LundbergThorsten Schneider
Nov 18-19ISTA 2015BulgariaSofiaDebugging and Profiling Cloud Apps? Sure, you can do it now!Vladimir Pavlov
Nov 18Inaugural #HCPMeetupUSAPalo Alto, CADeveloping Apps and Wine Making - Do the 2 really mix? At HanaHaus, together with HCP marketing Emily MuiMoya WatsonHamsa Buvaraghan Jenny Lundberg Pankaj Kumar ...
Nov 10-12SAP TechEd BarcelonaSpainBarcelonaHome | SAP TechEd 2015 Barcelona
Nov 6-8Ultrahack 2015FinlandHelsinkiLooking to network with developers while exploring something new and exciting?

Dietmar Steinbichler, Olli Ek, Chris Pritchard, Mikael Ostman


Nov 2-4Java2Days 2015BulgariaSofiaConference Topics | Java2Days 2015Vladimir Pavlov
Oct 26-27SAP InnoJam - Coding the Future -- with University Alliances at HanaHausUSAPalo Alto, CASAP InnoJam PaloAlto | SAP University Alliances Student HackathonsWei-Wei LinMoya WatsonPankaj Kumarlakshmi narasimhanSonali Desai
Oct 24SAP CodeJam TaipeiTaiwanTaoyuan CitySAP University Alliances

Ashitha M S

Gowrisankar M

Oct 22-24CEE-SECR 2015RussiaMoscowDemo-rich sessionVladimir Pavlov
Oct 19-23SAP TechEd Las VegasUSALas Vegas, NVHANA Cloud Platform at TechEd: Your 2015 Bucket ListVarious -- see blog
Oct 19Fast Track to Internet of Things (IoT) with SAP HANA Cloud Platform (half-day ASUG Pre-Conference Session on IoT)USALas Vegas, NV ASUG Preconference Seminars | SAP TechEd 2015 Las VegasJenny LundbergMichael Phornlakshmi narasimhan
Oct 18-22GITEX Technology WeekUAEDubai24 hour hackathon

Vladimir Pavlov

Alexander SilgidjianJordan Jordanov
Oct 10SAP Inside Track Bangalore 2015IndiaBangalore

Sessions presented on HCP and new services - Gamification, IoT

Agenda

Arun Rajamani

Anuj Mehta

Oct 2-4HackZurichSwitzerlandZurichHackZurich // The biggest European hackathonVladimir PavlovMichael SambethArne SpeckJulian HundelohMatthias KupczakTony Aschwanden
Sep 18SAP CodeJamIndiaNoidaSharda University, Noida

Shankar Duraisamy

Stephen Cherian

Sep 15SAP HANA Cloud ForumUSANew York, NYOn the road again with the SAP HANA Cloud PlatformEmily Mui
Sep 12#SITsv: SAP Inside Track Silicon ValleyUSAPalo Alto, CASAP Inside Track Silicon Valley 2015: #SITsv - Community Events - SCN WikiMoya Watson
Sep 10SAP CodeJam DetroitUSADetroit, MIAaron Williams
Aug 21SAP CodeJam BangaloreIndiaBangalore

Organized by SAP University Alliances

BMS College of Engineering, Bangalore

Ashitha M S

Krishna Kumar S

July 23-30SAP CodeJam Africa TourSouth Africa

Johannesburg

Pretoria

Cape Town

Port Elizabeth

Report: Lions, cheetahs, springboks, #SAPHCP and #SAPCodeJam


Organized by SAP University Alliances

Vladimir PavlovAlexander Silgidjian
July 20-24OSCONUSAPortland, OROSCON is ON and HCP is up thereErich Karl Clauer
July 23SAP CodeJam PuneIndiaPune

Organized by SAP University Alliances

Symbiosis Centre for Information Technology, Pune

Ankur Kumar

Supriya Mayank Umbarkar

July 14SAP Social Entrepreneur FellowshipUSAPalo Alto

Aaron Williams

Mike Phorn
July 9ASUG Webinar (Open to all): Accelerating IoT in your Organization: Introducing SAP's IoT Development Platform (Episode 8 of 8)OnlineOnlineASUG.com - EventsRui NogueiraAaron Williams
June 25SAP HANA Cloud ForumUSAChicago, ILOn the road again with the SAP HANA Cloud PlatformEmily Mui
June 23SAP HANA Cloud ForumUSAAtlanta, GAOn the road again with the SAP HANA Cloud PlatformEmily Mui
June 19SAP CodeJam SingaporeSingaporeSingaporeOrganized by SAP University Alliances

Anuj Mehta

Stephen Cherian

June 18SAP CodeJam SofiaBulgariaSofiaOrganized by SAP University AlliancesVladimir PavlovAlexander SilgidjianAleksandar Zlatkovski
June 18SAP CodeJam SingaporeSingaporeSingaporeOrganized by SAP University Alliances

Anuj Mehta

Stephen Cherian

June 17SAP HANA Cloud ForumFranceNiceOn the road again with the SAP HANA Cloud PlatformEmily Mui
June 16SAP CodeJam JakartaIndonesiaDepokOrganized by SAP University Alliances

Anuj Mehta

Stephen Cherian

June 12SAP CodeJam EindhovenNetherlandsEindhovenJordan JordanovEmil Aleksandrov
June 11SAP HANA Cloud ForumUSASan Francisco, CAOn the road again with the SAP HANA Cloud PlatformEmily Mui
June 9-10IOT At ScaleGermanyBerlin
June 9SAP HANA Cloud ForumUSAHouston, TXOn the road again with the SAP HANA Cloud PlatformEmily Mui
May 29SAP CodeJam HCP & IoT ’s-HertogenboschNetherlands’s-HertogenboschAaron Williams
May 27SAP CodeJam HCP & IoT TilburgNetherlandsTilburgOrganized by SAP University AlliancesAaron Williams
May 24-27Mastering SAP TechnologiesAustraliaMelbourneLecture and 4h workshop
May 22SAP CodeJam ManilaPhilippinesTaguigOrganized by SAP University Alliances

Anuj Mehta

Arun Rajamani

May 21SAP CodeJam ManilaPhilippinesTaguigOrganized by SAP University Alliances

Anuj Mehta

Arun Rajamani

May 19SAP CodeJam VietnamVietnamHo Chi MinhOrganized by SAP University Alliances

Anuj Mehta

Arun Rajamani

May 12-13SAP InnoJam "Apps for fashion"GermanyWalldorf

Organized by SAP University Alliances

SCN blog post, SCN blog post

Rui Nogueira
May 11-12Cloud Foundry SummitUSASanta Clara2 speaking engagements, 1 panel, 1 boothAndreas Wesselmann, Jenny Lundberg, Wei-wei Lin, Pankaj Kumar
May 7SAUG Brisbane Conference 2015AustraliaBrisbaneBreakout session
May 5-7SAPPHIRE NOW / ASUG Annual ConferenceUSAOrlando
May 1SAP CodeJam HCP & IoT PerthAustraliaPerthAaron Williams
Apr 30SAP CodeJam PerthAustraliaPerthAaron Williams
Apr 24SAP CodeJam ChicoUSAChico, CAChico State UniversityAaron Williams
Apr 20-24JAXGermanyMainzMatthias Steiner
Apr 21-22SAP IT SummitAustriaSalzburgSAP HANA Cloud Platform was presented and an IoT workshop was conducted. A summary of the event is available.Rui Nogueira
Apr 17-24SAP CodeJams in CEE Region

Poland

Slovenia

Serbia

Hungary

Poznan

Maribor

Belgrade

Budapest

Organized by SAP University AlliancesJordan JordanovAleksandar Zlatkovski
Apr 17SAP CodeJam Switzerland (details to follow)SwitzerlandSt. GallenUniversity St. GallenBernd Hofmann
Apr 16-18

SAP CodeJam Peru

UCP

PUCP

UP

PeruLimaRegistration pages: 16th,17th, 18thAaron Williams
Apr 15INDUS Conclave 2015IndiaMumbai

Dinu Pavithran

Padmashree B

Apr 13-14SAP CodeJam ColombiaColombiaBogotaRegistration pages: 13th& 14thAaron Williams
Mar 31 - Apr 2SAP CodeJam MoscowRussiaMoscowAlexander SilgidjianYordan Pavlov
Mar 27SAP CodeJam ETSU USA, TennesseeJohnson CityEast Tennessee State UniversityAaron Williams
Mar 23SAP CodeJam PortugalPortugal Coimbra

Yordan PavlovPeter Kazakov

Mar 21SAP CodeJam Chitkara UniversityIndiaChandigarhOrganized by SAP University Alliances for Chitkara University, Chandigarh

M S Ashitha

Arun Rajamani

Mar 21SAP Inside TrackGermanyFrankfurt
Mar 16 - 20CeBITGermanyHannoverSAP InnoJam at CeBIT 2015Rui Nogueira
Mar 9 - 12EclipseCon 2015 NAUSASan Francisco
Feb 24 - Mar 3ESA App CampFinland, Portugal, UK, Germany, Italy, NetherlandsOrganized by the European Space Agency and supported and sponsored by SAPJens Glander
Feb 7SAP Inside Track Rome 2015ItalyRomeFocusing on IoT specific topics on SAP HANA Cloud Platform. Blog post Rui NogueiraRui Nogueira
Feb 6-7SAP CodeJam South Bend, IndianaUSASouth BendOrganized by SAP University Alliances for the University of Notre Dame, IndianaNikhil Dhairyawan

 

 

Apr 18

Hana Cloud Connector Initial Configuration Failed

$
0
0

Hello,

I am trying to maintian the initial configuration in Cloud Connector.

I entered all the details and i get the error message

 

An authorization problem occurred when downloading the configuration. Check the spelling of your account/user/password: 401 — Unauthorized


I have tried with all passwords.

I have registered in HCP and have a login.


Please let me know how can I proceed further?



Regards,
Revathi

MOON - Mongo, lOOpback, Node on HCP CloudFoundry

$
0
0

Hi there,

 

I just wanted to blog a little about using node.js on CloudFoundry. Wether node.js is a possible solution for your business or not and what are the advantages and disadvantages I'll let you decide, there are plenty of other frameworks than loopback, each with their own strength and weaknesses I just choose it because I wanted to look into it. I am no "This-Framework-rules-them-all" kind of guy, there is always an analysis upfront where eventually a framework might evolve to meet your business requirements. This is just a technical blog about crazy nice stuff

 

 

So let's get started.

  • I assume you already have an HCP CloudFoundry Account and the cli installed, if not reffer to Rui Nogueira's blog
  • You have node.js installed, if not click here
  • Next thing we are going to install loopback.  Basically you just can follow the "Getting Started" section of loopback's website, I did nothing else, I just want show you the CF specifics here.

 

Assuming you followed the instructions to the end(basically you just press enter all the time) you should have something like the following:

1.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Now let's create a manifest.yml (in the root folder of your app) so we can push the app to cloudfoundry.

 

---
applications:
- name: hello-moon  command: node .  buildpack: https://github.com/cloudfoundry/nodejs-buildpack  memory: 128M  services:  - mongo-service

before we push, we want to ignore the node_modules folder. So create a file .cfignore and put the following contents in there

node_modules/

there is normally more stuff in here, as well as in the .gitignore file but leave it like this, what happens is, you reduce the upload size from around 36MB to 8KB, nice and fast

 

Now issue the following commands:

 

cf api https://api.cf.us10.hana.ondemand.com  
cf login
cf push

the result should look like the this:

3.PNG

You can go to the cockpit and call your app

4.PNG

 

The result should look like:

5.PNG

 

but wait, what about persistence? We didn't specify anything, except that we need the MongoDB service? So let's test it:

In the API Explorer(picture above) click on the POST /people and you will get this screen, put in some data.."Try it out!"...

6.PNG

Result:

7.PNG

Seriously? Why is it working? Let's check if there is really some data...

8.PNG

 

it is... to solve the mystery currently we use an inMemory Database, which you can check in the datasource.json in the server folder of your app.

 

So let's tell loopback to use our MongoDB instead:

First you have to note down a few things. Go to your cockpit and click on "Service Bindings" and press the "Show Sensitive Data" Button.

10.PNG


Pease note in a real project I wouldn't do it like this, because in all your commits your database user and passwords would be visible for everyone. Ideally you would access MongoDB environment variables as proposed by the 12factor Guidelines but back to topic:

 

Type

slc loopback:datasource

in your app root folder choose  MongoDB connector and enter all required information (host, uri, user etc.)

9.PNG

 

Now edit /server/model-config.json

and change the line

11.PNG

to your datasource in my case it was MongoDB

12.PNG

 

push your app (cf push)

 

And test it unfortunately I dind't find a way to read the contents of a MongoDB in cloud foundry but maybe someone from the HCP Team can help us out here.

 

But to verify the result i wrote a little script to read out MongoDB:

 

var MongoClient = require('mongodb').MongoClient
var http = require('http')
var url = 'mongodb://allYourSecretStuff'
function handleRequest(request, response) {    var result;    MongoClient.connect(url, function(err, db) {        if(err)throw err        console.log("Connected correctly to server.")        var a = db.collection('person')        var b = a.find().toArray(function(err, docs){        db.close()        response.end("Found " + JSON.stringify(docs) + "  in MongoDB")        })            })
}
var server = http.createServer(handleRequest)
server.listen(process.env.PORT || 3000, function() {    console.log("Server up and running ")
})

Please note you have to replace

var url = 'mongodb://allYourSecretStuff'

with your own MongoDB Url from the sensitive Data Step.. Create a packacke.json

{  "name": "mongo-check-people",  "version": "0.0.1",  "author": "Demo",  "engines": {    "node": "4.4.4",    "npm": "*"  },   "dependencies": {        "express": "3.4.8",        "mongodb": "~2.0"  }
}

and a manifest.yml(take the one you created already and copy it) and deploy the app. in the end you should see your data from MongoDB

14.PNG

 

That's it for today, i hope you enjoyed the MOON stack. We didn't go very deep into what is possible with loopback and node, we have no UI yet, Authentication is missing and so on.

 

Let me know what you think, if I should continue the journey, enlighten me on points i missed and generally have fun

 

Regards Mathias

Getting Creative with SAP HANA Cloud Platform: Special Pricing Now Till June 15

$
0
0

by Daniel Szabo, SAP Store and SAP HANA Cloud Platform team

 

One of the great things about SAP HANA Cloud Platform is that it lets you get creative building apps. So in that spirit, we decided to get creative, too – and came up with a new promotion to make this incredibly easy-to-use cloud offering from SAP even more affordable. Till June 15, you can get the single application edition at half price. That’s right, 50% off.

 

But first, let’s take a look at what developers are actually doing with SAP HANA Cloud Platform. As I wrote in my last blog, it lets them say “yes!” to requests from the business to build new apps and extend existing ones, including the ones that have been sitting around for a while. (Any of those on your desk?) These could include anything from HR or CRM extensions to dashboards or logistics. It’s really fast and really reliable, and of course fully backed by SAP.

 

Here are a few examples to give you an idea of what you can do with it. One development team came up with a mobile app for peer-to-peer recognition that lets employees reward their own colleagues. It integrates in the cloud with the enterprise HR application. This beautiful solution has succeeded in helping the company improve morale and reduce turnover, plus execs and HR managers can analyze performance trends with it.

 

Another group created a customized portal for logging support tickets from multiple vendor solutions. The application logs the ticket, directly connects the tickets to the right person’s queue, and even enables a video chat (of which I’m a big fan) between the support agent and the end user. Tickets are resolved faster and customer satisfaction ratings have increased tremendously.

 

Click here to see action photos!

 

It’s no wonder that SAP HANA Cloud Platform has become such a popular product on SAPStore.com, where you can buy it with the click of a button. There’s even an express checkout option with the promotional code already included. Normally, the single application edition is US$43 per user per month, but with this special promotion, you can get 50% off for the first three months. This edition includes SAP HANA, unlimited Web IDE, mobile, social, security, and collaboration services, just to mention a few. It’s the perfect choice for any developer to get started with SAP HANA Cloud Platform. And if you need help, just call the A Team: you can talk to SAP global support experts 24x7.

 

Anyone interested in leveraging the power of SAP HANA in the cloud ought to be taking advantage of this offer. SAP HANA Cloud Platform is built on open standards and lets you create modern, lightweight, mobile-ready cloud apps using the development skills your organization already has, like JavaScript and HTML5. And building and testing can be done at a fraction of the cost of typical development.

 

So what are you waiting for? June 15 is coming up fast – don’t miss this opportunity to build and extend the apps your team is missing!

How do you create a destination to IoT built in services

$
0
0

I'm trying to create a destination to the IoT built in services as shown in the HANA Academy video:

 

SAP HANA Academy - IoT Services: Built-in OData [2.3.0] - YouTube

 

Capture.PNG

Capture2.PNG

I'm able to access the data using the URI in a browser, however when I attempt to access the destination using the template wizard in WebIDE I get an Unauthorized error.

Capture3.PNG

I'm not sure if I've missed some configuration step (I haven't missed anything in the video series), something has changed or it is an error.  Can anyone point me to a description of how to do this?

 

Thanks,

 

Ross


Public access to UI5 app deployed on HCP

$
0
0

Hi,

 

We have a requirement to publish data from SAP to our external Customers. They do not have a HCP account, how can we expose this data as Public URL using HCP ?

Is there any feature in HCP that allows Public access?

 

Thanks,

Tarun

No columns visible when adding table to attribute view

$
0
0

Hi,

I tried to do the attribute view exercise in Learning Hub's online training for HANA development and I've hit a snag: when adding "SAP_HANA_DEMO".sap.hana.democontent.epm.data::MD.Products to the AT_PRODUCTS attribute view as instructed in the course material, I don't see any columns (see attached screen shot). I can see a data preview, so at least I know the data was imported correctly and I have the privilege needed to view the data. I tried this in both the Eclipse Luna and Eclipse Mars.2 versions of SAP HANA Studio with the same result. Does anyone have any suggestions of what else I can try?

Regards,

Johan

Unable to read repository in Eclipse for Hana Trial

$
0
0

Hello,

 

I am attempting to install the HANA trial so I can get a look at it before we start the upgrade process next year.  I am following the install guide I found here.  I am also using the FAQ at http://scn.sap.com/docs/DOC-28325 .   We do not use proxy here, so under Window -> preferences -> General -> Network Connections, I use "Active Provider:" -> Direct.  I looked at several messages on SCN and I have either tried what they did to resolve the issue or it didn't apply (Like correcting proxy information).

 

After I installed Eclipse and sapjvm_7 on my Windows 7 system I attempted to add HANA to it.  When I go to Help -> Install new Hardware -> https://tools.hana.ondemand.com/luna I get error: 

Unable to read repository at https://tools.hana.ondemand.com/luna/content.xml.

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

!ENTRY org.eclipse.equinox.p2.ui 4 0 2015-06-24 13:06:16.424

!MESSAGE Unable to read repository at https://tools.hana.ondemand.com/luna/content.xml.

!STACK 1

org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at https://tools.hana.ondemand.com/luna/content.xml.

at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:192)

at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleMetadataRepositoryFactory.java:66)

at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:88)

at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)

at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:768)

at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:668)

at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)

at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)

at org.eclipse.equinox.p2.ui.ProvisioningUI.loadMetadataRepository(ProvisioningUI.java:439)

at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getMetadataRepository(MetadataRepositoryElement.java:127)

at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.fetchChildren(MetadataRepositoryElement.java:76)

at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElement.fetchDeferredChildren(RemoteQueriedElement.java:34)

at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:238)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Caused by: javax.net.ssl.SSLException: Received fatal alert: protocol_version

at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)

at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)

at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:535)

at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:403)

at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)

at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)

at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)

at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)

at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)

at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)

at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:259)

at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)

... 1 more

 

I have 2 personal certificates in my IE Certificates.  I used keytool to add those to the cacerts file in sapjvm_7/jre/lib/security.  In Eclipse, I  looked in Help -> Installation Details -> Configuration and I can see that I'm using sapjvm_7.

 

-vm

C:\Program Files\Java\sapjvm_7\jre\bin\javaw.exe

eclipse.launcher.name=Eclipse

eclipse.p2.data.area=@config.dir/../p2/

eclipse.p2.profile=epp.package.jee

eclipse.product=org.eclipse.epp.package.jee.product

eclipse.startTime=1435233210787

eclipse.stateSaveDelayInterval=30000

eclipse.vm=C:\Program Files\Java\sapjvm_7\jre\bin\javaw.exe

eclipse.vmargs=-Dosgi.requiredJavaVersion=1.6

-Xms40m

 

java.class.version=51.0

java.endorsed.dirs=C:\Program Files\Java\sapjvm_7\jre\lib\endorsed

java.ext.dirs=C:\Program Files\Java\sapjvm_7\jre\lib\ext-sap;C:\Program Files\Java\sapjvm_7\jre\lib\ext;C:\Windows\Sun\Java\lib\ext

java.home=C:\Program Files\Java\sapjvm_7\jre

java.io.tmpdir=C:\Users\hearndw\AppData\Local\Temp\

java.library.path=C:\Program Files\Java\sapjvm_7\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\sapjvm_7\jre\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\IXOS\bin;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared\;C:\Program Files (x86)\Roxio\OEM\AudioCore\;C:\Program Files (x86)\OpenText\Viewer\bin;C:\Program Files\OmniBack\bin\;.;;.;;.

java.runtime.name=Java(TM) SE Runtime Environment

java.runtime.version=7.1.030

java.specification.name=Java Platform API Specification

java.specification.vendor=Oracle Corporation

java.specification.version=1.7

java.vendor=SAP AG

-Xmx512m

-jar

How to Configure Alerts in SAP HCI-Process Integration

$
0
0

Hello All,

 

We have requirement to Send out Alert mails to user in case message failure in SAP HCI -Process Integration.I have gone through complete Documentation but unable to find the solution provided by SAP.

 

Has anybody come across Alert Mechanism in SAP HCI -Process Integration ,it would be great if anybody can provide more insight on the same .

 

Regards,

Sriprasad Shivaram Bhat

Not able to create HANA views in eclipse using HANA HCP

$
0
0

Hello Team,

 

I newly created my account on hanatrial.ondemand.com and created 1 HANA schema there, after connecting to HANA HCP account using eclipse I am able to create new tables and load data etc.

 

But when I expand content folder I get below error about Insufficient privilege, isn't it possible to create HANA views on HANA HCP trial. I also tried connecting HANA MDC but it always gives incorrect ID/password error even though correct login credentials are provided.

 

HCP.JPG

Any help in this regard is appreciated. I searched similar threads on SCN but didn't get exact solution.

Viewing all 3285 articles
Browse latest View live


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