SAP HANA Exercises Tips

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

SAP HANA Exercises Tips

Sandbox access is available by joining the community


https://community.wdf.sap.corp/sbs/groups/hana-app-developers.
Once you sign up in about a week you will receive email with credentials.

HANA Studio
Follow the instruction in the email.
Tip: The folder given in the instruction might be wrong
Connect to \\production.wdf.sap.corp\newdb\NewDB100\rel\
Then go to folder 23 select studio and install. Once studio is installed use your I
number and password for the connection to HANA inside your studio. You do not
need userid to connect to the folder.

COPA Exercise
Download the experiential learning and use that along with TZHANA exercises.
Tip: Before you start creating attribute, analytic and calculation views load the
COPA tables to your schema. You can access only data in your schema in the
analytic and calculation view due to restrictions in sandbox. No permission to give
GRANT access to other schema.
COPA Load
To load COPA data to schema follow instruction given towards the end of the COPA
Experiential learning with the following changes
Change the SQL ( Last few lines ) to
IMPORT FROM '/mnt/hana_dropbox/sandbox/I806119/T005T.ctl';
update I806119.T005T merge delta index;
Do this for all the tables. Make sure you use your own I number

Change the CTL file to


import data into table I806119."T005T"
from '/mnt/hana_dropbox/sandbox/CO-PA Model and Data/CO-PA
Tables/CSV/T005T.csv'
record delimited by '\n'
fields delimited by ','
optionally enclosed by '"'
error log 'T005U.err'
Change the INumber to reflect your INumber
Attribute View
Make sure you select your tables from your own schema not from COPA schema or
some other.
If there are activation issue open SQL editor and execute below SQL making sure
you replace the I Number
GRANT SELECT on I806119 to_SYS_REPO with grant option;

Analytic View
When you create the filter as per the exercise create an additional filter on MANDT
Operator EQUAL value 800
Otherwise data preview on your analytic view will show 0 records.
Calculation View
Make sure the data types of the calculated key figures in both the analytic views are
the same. Else it will give error during activation.
Last but not least if you encounter any issues search the HANA community the
answer is probably there. Else post a question. There are some fantastic minds
there who guide you through the issues.

You might also like