Showing posts with label SAP. Show all posts
Showing posts with label SAP. Show all posts

Training on SAP HANA in SAP Dublin office

The second time after the first meeting of SAP-INSIGHT targeted project meeting on last March.


1. SAP and SAP Ireland Introduction.
    - It has over 1000+ employees and 500+ employees in Galway. Recent years it also has R&D divisions for Predictive Analytics and Big Data related products.

2. Create a HANA instance.

3. "Hello World" example in Web-based development Workbench.

4. Connect the instance in Eclipse.

5. A sample mobile application built with AngularJS and linked to SAP HANA Trial backend

Next Steps:

6. Create a Java application with HCP

A sample mobile application built with AngularJS and linked to SAP HANA Trial backend


For HCP trial, every developer will have two schemas (DEV_XXX and NEO_XXX) by default. So, NEO_XXX should be your development schema, meanwhile DEV_XXX is the private schema of your developer user. And usually we need to create objects in NEO_XXX schema instead of DEV_XXX [1].


Figure 1


Make sure you've done some basic steps before it. 

I created in the "hanatrial" package for the example and with the same folder structure of the example on Github.
Figure 2

.xsaccess file contains some access control information and .xsapp indicates the application we are building is a xs application of HANA. (File details can be found on Github)


1. Create Models:


  •  Create two tables (people.hdbtable and taxes.hdbtable) and one sequence (peopleseq.hdbsequence). 
    • Use your NEO_*** SCHEMA for table.schemaName. In my case, it will be "NEO_91NN2NENJITDMWTLGL5DD5INO" as displayed in Fig. 3.

1:  table.schemaName = "YOUR SCHEMA STARTS WITH NEO_*** HERE";  
2:  table.tableType = COLUMNSTORE;  
3:  table.columns = [  
4:       {name = "PPSno"; sqlType = VARCHAR; nullable = false; length = 200;},  
5:       {name = "firstName"; sqlType = NVARCHAR; nullable = false;length = 200;},  
6:       {name = "lastName"; sqlType = NVARCHAR; nullable = false; length = 200;},  
7:       {name = "title"; sqlType = NVARCHAR;length = 200;},  
8:       {name = "cellPhone"; sqlType = NVARCHAR;length = 200;},  
9:       {name = "officePhone"; sqlType = NVARCHAR;length = 200;},  
10:       {name = "email"; sqlType = NVARCHAR;length = 200;},  
11:       {name = "city"; sqlType = NVARCHAR;length = 200;},  
12:       {name = "pic"; sqlType = NVARCHAR;length = 200;}];  
13:  table.primaryKey.pkcolumns = ["PPSno"];  

Figure 3
Figure 4


  • Create "init_data" folder and copy files from Gitbub to your folder.
  • Call the procedure to insert data into people and taxes tablestablespoon.
  • Copy all files to the rest folder (Fig. 6), [Run on Server] to check if the data can be accessed (Fig. 7) by your account.


Figure 7
Figure 6
  • Finally, copy all files to your client folder (and change the relative path in these files).

  • Run index.html or iphone.html. You could see the app is running as displayed in Fig 9, 10.

Figure 9

Figure 10

If the page shows insufficient privilege, give the privilege to p**** user account of yours and then try again.

1:  GRANT EXECUTE,select ON schema "NEO_***" TO p***  

SAP Ireland 방문



프로젝트 미팅때문에 새벽부터 더블린으로 갔는데 시티에서도 한참을 달려서 도착한 CityWest에 위치한 SAP다.

내부의 근무환경은 Free한 분위기가 물씬 풍긴다. 칸막이가 없는 오픈 공간에서 언제 어디서든 회의할 수 있게 모든 벽에 글쓸수 있고 어디서나 토론을 벌릴 수 있게 되어있다.

지난해에 오픈한 Predictive Analytics팀도 사람이 꽤 많이 보인다. 중국인이 3명인가 있다는 사실과 몇십개 나라의 사람들이 모여서 일하고 있고 박사가 꽤 많은 듯.

 R&D는 아일랜드에서 시작한지 불과 6,7 년 밖에 안되지만 다른 나라의 Division을 아일랜드로 옮겨오고 점차 확장하고 있다는 것은 아일랜드 경제에 긍정적인 것 같다.

아쉬운 것은 회의 내용에서 협업적인 프로젝트가 아닌 단순한 툴과 인프라제공에서 끝날 것 같은 느낌. 아무튼 여기서 짧게 라도 경험해도 좋을 것 같은데...

언제 다시 올 수 있을라나..?


Introduction to Predictive Analytics

SAP is to create 60 new jobs in Predictive Analytics. The new R&D roles will be based at SAP’s Citywest headquarters in Dublin. SAP says it is looking for high quality software developers, data scientists and quality specialists to fill the new jobs. 
So... What is Predictive Analytics?? Pretty short and neat introduction.