Skip to Content

Is it safe to write in the filesystem in SCP?

Jan 02 at 04:26 PM


avatar image

We are developing a sales portal in SCP, some technologies that we are using are: Spring framework, Quartz Scheduler, Hana DB, SAP UI5, SAP HCI.

My requirement is to load large volume of data (customer master, product catalog). An external system is going to send us a zip file that contains the data, so we need to unzip the file, process it, save it and finally delete it.

I made a test writing the zip file into the filesystem in SCP and everything is ok, but I have some questions about the filesystem:

- Is it a good practice to write into it?

- Is it secure to write there?

- How much space is there?. Is the free space going to change in the future?

- Is the write permission going to change in the future?


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Ivan Mirisola
Jan 03 at 05:37 PM

Hi Ivan,

SCP's NEO filesystem gets rewritten every time the app is re-started or re-deployed. So it is not reliable to store application files on it.

One approach could be to store this ZIP file using open CMIS APIs at the "Document Center" service. There are REST APIs to store documents, so one could use SCI to retrieve and store the zip file. Once there, you could retrieve it using the openCMIS APIs for Java, unzip it and then insert the data into the HANA DB according to your needs.

HDBTI is a HANA Repository artifact that is used to import initial load on a HANA DB. It is quite useful to populate master data, but it isn't to be used for a repetitive task. If this is such case, please use hdbti instead.


10 |10000 characters needed characters left characters exceeded