SAP Datasphere y Python: solución de exportación de datos con un solo clic

martes, 19 de agosto de 2025, 2:32 am ET1 min de lectura

A Python script has been developed to connect to SAP Datasphere, run queries on each view from a list, and save the results as Excel files in a local drive path. The script requires the hdbcli, sqlalchemy, and sqlalchemy-hana packages to be installed. A database user must be created in SAP Datasphere with read access, and the host, port, username, and password must be copied. The script then loops through each view in the view list, executes the SQL query, fetches the results, and converts them to a DataFrame, which is then saved as an Excel file.

SAP Datasphere & Python: One-Click Data Export Solution

Comentarios



Add a public comment...
Sin comentarios

Aún no hay comentarios