HOWTO – Import SFLIGHT sample data into HANA from a local computer
As you discovered few seconds ago, HANA doesn’t come with any preloaded sample data.
So, before starting to play with your brand new system, you need to find and load some data.
Luckily SAP provides for free its flight data model (you can download it here) – it’s a good starting point since it contains a sufficient amount of data and a limited number of tables.
In the next steps I’m going to explain (or better I’m going to try) how you can import SFLIGHT into HANA System directly from your local machine.
1 – Unzip the SFLIGHT archive
2 – On HANA Studio, expand the desired system.
3 – Right click on the folder Catalog and then click on Import.
4 – Select Import Catalog Objects from Current Client and then click on Browse…
5 – Navigate to the folder where you previously extraceted the SFLIGHT archive; select the unzipped folder and click on OK.
6 – Click on NEXT.
7 – Select all (CTRL + A) the items showed on the left and click on Add.
8 – Click on Next.
9 – To import tables and the corresponding data, select Catalog and Data and then set a convenient Number of Parallel Threads; click on Finish.
10 – The procedure will run for few seconds but, at the end, refreshing (F5) the Navigator View, the SFLIGHT schema will “magically” appear.
Now you’re ready to start the exploration of SAP HANA. Have fun!
Useful - thanks a lot for sharing.
Thanks for sharing, its really useful.
Very good....great for training !!! thank you !!!!
Thanks Riccardo, that was real useful. I was using the eFashion data which is not much and creating my own data till now.
Benedict
works!
Useful.
Thanks for sharing.
Regards
Kamal
Thank you.....
Nice ..Keep Posting
Good Job...Nicely presented...




Thanks interesting
Very useful! Thank you very much!
Thank you..., worked on my Demo openSUSE HANA propper ;-)....
Hi Ricardo,
which tool to use to create data exports like sflight data model, to export some other data from ABAP?
Thanks,
srdjan
Thank you for sharing
Thank you Ricardo for sharing!
Link has stopped working 🙁
I have adjusted the link; please try again.
Link is not working Link.
Anyone knows where can I download it now?
I have adjusted the link; please try again.
Hi,
Seems like the download link is not working.
Thanks
Pavan
I have adjusted the link; please try again.
Can you please check the link again. The file sharing platform produces unsecure crap the most time.
Thanks ,Florian.
You are right, link does not work anymore.Can anyone please share this file?
Regards,
Vipul
Hi Ricardo,
Link is not working. It links to file sharing platform and if I download it from there, it has executable with malicious virus...Is it possible for you to upload and share this file from Git.com? that will solve problem for ever.
Regards,
Vipul
I meant www.github.com....
No, it´s not working. Anyone knows where can I get sflight.zip?
Help, I need the SFLIGHT.zip file!
Link adjusted
Anyone knows where can I download it now?
Link adjusted
Thanks for sharing!
Hello Ricardo,
I am trying to import above provide flight data to my HANA XS Advanced express edition instance which is hosted in google cloud. The import is always getting struck in "import catalog objects from C:\temp\sflights Database for HANA\index\SFLIGHT\SB\SBOOK\table.xml"
Could you please help me on this.
Thanks,
Hani
Data imported. Left the import for half n hour and it got imported :). Apologies for the false alarm. Not deleting the comment as others too might face this delay :). Many thanks Ricardo for SFLIGHT data!!!
Thanks Riccardo - very helpful!
Thanks Riccardo. Great blog.
Here is a version of the zip that works with the Database Explorer in a .tar.gz.
https://blogs.sap.com/2018/12/18/howto-import-sflight-sample-data-into-sap-hana-from-a-local-computer/