Simple Javascript DB-to-File Data Manipulation
Manipulation of data from an SAP HANA database table using plain Javascript (ECMAScript 2009 / ES5) and writing the manipulated data to a file.
Prerequisites
-
a connection to an SAP HANA database.
-
a database table in SAP HANA containing data.
Configure and Run
-
Enter the SQL statement that reads the input data from the SAP HANA database table in the Content configuration parameter of the SQL Statement operator.
-
Choose the connection for the input data in the Connection configuration parameter of the Get Data from DB operator.
-
Click on the Script button of the Process Data operator and enter the Javascript code that performs the data manipulation. Check the documentation for details. Please note that the operator supports ECMAScript 2009 (ES5) specifications.
-
Enter the file path for the data manipulation result in the Path configuration parameter of the Write Results File operator.
-
Run the resulting graph by clicking the Run button.