Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
BartHeijne
Partner - Contributor
Partner - Contributor

Load data from SAP S/4 HANA Cloud Public Edition

Hi,

I want to start building a script to load data from SAP S/4 HANA Cloud Public Edition.
I need financial data, logistic data, etc.
Does anyone have a script for me which I can use to start?

There is a lot of API documentation, like SAP Business Accelerator Hub but if possible I don't want to start from scratch. 

Many thanks, 
Bart

 

 

Labels (1)
  • API

5 Replies
herculesalex
Contributor
Contributor

Mesma necessidade, alguma solução?

BartHeijne
Partner - Contributor
Partner - Contributor
Author

I build it from scratch with a REST connection. You have to use multiple rest connections depending in the data you want to retrieve. And you have to grant access within SAP HANA for each connection.

herculesalex
Contributor
Contributor

pode enviar um exemplo?

britanneywiley
Contributor
Contributor

Hi Bart,

A good starting point is to use SAP’s OData and REST APIs available through the SAP Business Accelerator Hub. These APIs cover most data domains in S/4HANA Cloud Public Edition, including Finance, Logistics, and Sales. You can connect to them using tools like Postman, Python (requests or pyodata), or SAP Cloud SDK depending on how you plan to build your script.

If you just need a base to start from, you can begin with a simple Python script that authenticates through OAuth2, calls an API like /A_FinancialActualPostings (for finance) or /API_BUSINESS_PARTNER (for master data), and then exports the JSON response to CSV or a database. Once that works, you can expand to other endpoints.

I came across a similar discussion and some structured examples while reviewing Pass4Future’s SAP S/4HANA Cloud study material, where they highlighted how to combine API calls and integration layers to pull transactional data efficiently. Their examples can give you a good sense of how to design your initial script structure.

Let me know if you need any futher help

britanneywiley
Contributor
Contributor

Hi Bart,

A good starting point is to use SAP’s OData and REST APIs available through the SAP Business Accelerator Hub. These APIs cover most data domains in S/4HANA Cloud Public Edition, including Finance, Logistics, and Sales. You can connect to them using tools like Postman, Python (requests or pyodata), or SAP Cloud SDK depending on how you plan to build your script.

If you just need a base to start from, you can begin with a simple Python script that authenticates through OAuth2, calls an API like /A_FinancialActualPostings (for finance) or /API_BUSINESS_PARTNER (for master data), and then exports the JSON response to CSV or a database. Once that works, you can expand to other endpoints.

I came across a similar discussion and some structured examples while reviewing Pass4Future’s SAP S/4HANA Cloud study material, where they highlighted how to combine API calls and integration layers to pull transactional data efficiently. Their examples can give you a good sense of how to design your initial script structure.