Skip to Content

I have wrote a small tutorial that will walk you through the creation of the Developer Center account, CloudShare, creation of row and column tables, upload of a CSV file to SAP HANA, creation of Stored Procedure, creation of a view and graphic analysis using SAP HANA Studio own tools.

You can read or download the tutorial on the following link: Getting started with SAP HANA Developer Center.

The tutorial is also available on Experience HANA on the following link: Getting started with SAP HANA Developer Center.

Hope you like it 🙂


To report this post you need to login first.


You must be Logged on to comment or reply to a post.

  1. Andy Silvey

    Hi Blag,

    our corporate proxy is blocking DropBox .com

    Any chance you can put the pdf on SDN ?

    Excellent work thank you.


  2. Sergio Azzaretti

    Thanks Alvaro for the nice guide.

    One suggestion to obtain the same result of procedure GetPersonYears(). The example is good to understand stored procedure scripting but the same result can be achieved using only SQL language:

    insert into “EMPLOYEE”

    select ID, name ||’ ‘ || last_name AS NAME,

    FLOOR(days_between(DOB, now())/365) AS _YEARS

    from “PERSON”;

    and without cursor it should be more efficient in terms of perfomance.

    What do you think?



    1. Alvaro Tejada Galindo Post author


      I know 🙂 I just wanted to show something more complex and fancy than just plain SQL…but taking your suggestion into account, next time I’m going to include all the ways to achieve the same thing 😉 Thanks for your comment! 😎



  3. Former Member

    Perfect documentation for beginners.

    Followed it and got the expected result in one-shot (Not a single issue at all).

    Awesome job Blag !



  4. Former Member

    Thanks Blag, Perfect starting point for the aspirants! However, I did signed-up for 1 month HANA trial, but when I log-in to Cloudshare, I cannot find any environments and systems. Can you please advise?



  5. Former Member


    This is a brilliant document for beginners. BTW just passed my HANA certification. This technology is simply superb 🙂

    Regards, Kathirvel

  6. Former Member


    I am stuck here. on page 19 it says  “SELECT * FROM SYSTEM.FTP_SERVER” . But i dont know where to write this query. I mean where do i navigate in the hana studio so that i get the editor to write the SQL query. I have created all the 3 tables as per the guide.  Sorry i am not familiar with the hana stuido or any BI tool.

    it would be great if you could help me with this


    1. Alvaro Tejada Galindo Post author


      Go to page 12. When you right click on the Tables Folder, you will see that there’s an option called “SQL Editor” 😉 Also, on page 13, when you right click on a table a go to Generate –> Insert Statement, you can delete the generated insert line and use any other SQL query 🙂



  7. Former Member

    Thanks Alvaro share,I did signed-up HANA trial, but  I cannot find my CloudShare user, and the SAP HANA information. Can you please advise?

    1. Alvaro Tejada Galindo Post author

      Aloe fan:

      If you request your SAP HANA yesterday, then you will have your invitation mail by today 🙂 If tomorrow you still don’t get it, please let me know.



  8. Former Member

    I have signed up for the 30 day SAP HANA/Visual Intelligence  trial environement. I have uploaded the Customer.csv file as well as the Customer.ctl control file  to the ftp server( in my folder=>/P1433873838/)

    When I execute this statement in SQl Editor within HANA Studio=>IMPORT FROM ‘/dropbox/P1433873838/Customer.ctl’;

    Am I missing a step, which will help make this ftp folder visible to the cloudshare desktop?

    I need help,the above command does not execute, and the error I see is=>

    SAP DBTech JDBC:[257] at 13:sql syntax error incorrect syntax  near” line 1 col 13(at pos 13)

    How do I resolve this? Please advise.

    1. Alvaro Tejada Galindo Post author


      Two simple things 🙂 First…I change the permission on your file (Right click –> File Permissions) and add the “Read” permission…

      Also, in your file your calling Customer.csv, while your actual file is called CUSTOMER.csv

      Please try again and let me know 😉



      1. Former Member

        Alvaro – this helped, thanks you very much!.

        And the other thing I had to do was to change the definitions of all my tables to column store.

  9. Benedict Venmani Felix

    Hi Alvaro,

    I am facing some problems with User authentication. I was able to log-in and try it out the first time but now I am getting an error,

    I am able to “add system” using the user name and password received from inmemorydevcenter. In the navigator pane the added system is displayed-DCJ(P935244), but when I try to access it I am getting the message “Invalid User name or password”.

    Please help.



  10. Former Member

    Hi Alvaro,

    I am stuck in page 26 with an error while creating the procedure.

    I have managed to populate years using a different script. I am trying to use the same script of you and I am getting an error as

    Could not execute ‘CREATE PROCEDURE GetPersonYears() LANGUAGE SQLSCRIPT AS v_age VARCHAR(10) := ”; v_years VARCHAR(2) …’

    SAP DBTech JDBC: [1281] (at 268): wrong number or types of parameters in call: C_CURSOR1: line 9 col 16 (at pos 268)  “

    Please advise…


    PROCEDURE GetPersonYears()




    VARCHAR(10) := ;


    VARCHAR(2) := ;


    c_cursor1(v_age VARCHAR(10)) FOR


    ID, NAME || ‘ ‘ || LAST_NAME as “NAME”,days_between(DOB,now()) as “AGE”





    cur_row as c_cursor1 DO


    cur_row.age > 100 THEN

    v_years :=

    floor(cur_row.age / 360);


    into EMPLOYEE









      1. Fabian Schlarmann

        Very nice tutorial for beginners, many thanks!

        I ran into the same issue than you, the solution would be to pass the parameter into the cursor:

        FOR cur_row AS c_cursor1(v_age) DO …



  11. Christian Punz

    hi Blag,

    very nice tutorial which helped me to dig into HANA for the first time. unfortunately i did not manage to upload the CSV, since i could not figure out where to place the statement

    IMPORT FROM ‘/dropbox/Blag/Area.ctl’;



    1. Alvaro Tejada Galindo Post author


      Thanks for you comment and thanks for providing a solution…my HANA server doesn’t complain about a missing parameters for the cursor…but if yours does..then you’re solution is very helpful for everyone 😎



    2. Alvaro Tejada Galindo Post author

      Christian:  Of course you need to replace “/Blag” with your own folder 🙂

      And you have to type it on a Script file…you can do that by doing a right-click and selecting SQL Editor.



      1. Christian Punz

        hi Blag,

        the replacement was no problem, i had a slight idea that my name is not blag 😉 .

        the only misunderstanding was the “script file”. some days ago i found out that i have to load the script-content into the “SQL-editor”. that worked fine. thanks! unfortunately my trial-period is exhausted now 😥




Leave a Reply