on 2020 Jul 01 9:45 AM
Hi Community Members,
I have a requirement where I need to extract data from the text file and load it into the HANA tables. The text file is contained data as shown in the attached file.
Highlighted one show fields and corresponding data for example:
data Input # :
"Slot1:Profibus (Dual, MS)
Slot2:No Interface
Slot3:15V User (Single, Isolated)"
The needed output as below
Would anyone like to share an experience or suggest how can it be done?
It will be a great help and appreciated.
Thank You
Sunil Sharma
We had a similar situation to load large file to HANA DB directly with some data transformations to it. We leveraged SAP PO that was already setup in our landscape to transform/cleanse the data and then send it to HANA file share where a CRON job would load it to HANA table. But this was couple of years ago and might not be an ideal solution.Have a look at these Q&As for some pointers
If your source cant cleanse the data and send, you ideally use a middleware to do that for you and within your client place there must be something that can either do of of it a) Pick the files from source & send it securely to desired destination securely b) Perform data cleansing/transformation. If there is no middleware then your only option is to do it in HANA
https://answers.sap.com/questions/453442/automate-data-load-from-flat-file-into-sap-hana.html
https://answers.sap.com/questions/10437968/how-to-automate-the-csv-files-to-load-the-updated-.html
https://answers.sap.com/questions/11364709/how-to-import-data-from-csv-into-sap-hana-at-a-sch.html
https://answers.sap.com/questions/9469333/how-to-run-batch-file-to-invoke-a-ctl-file-to-impo.html
Also it might be worth checking
- SDI for acquiring and cleansing by setting up flowgraphs
- XS advanced job scheduler
Thanks
Abhishek Shanbhogue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.