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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
vintac
Partner - Contributor III
Partner - Contributor III

tSAPODataInput no setting Headers

Hello,

i have to extract data from SAP s/4 Hana and i'm using the SAP OData components, but i can't find where to define headers. Am i missing something or this feature is really not available?
Actually the general tODATAInput offers the possibility to setup headers, why not in SAP ones?

Thanks,

Vincenzo

Labels (3)
1 Solution

Accepted Solutions
stecava
Partner - Contributor II
Partner - Contributor II

Yes, the SAP OData component is quite limited in this scenario, and I  haven’t found any workaround to set custom headers so far.

You could try using the generic OData Input component instead, but it only works with OData v4, while SAP should be exposing v2 services,  so it might not be compatible in most cases

View solution in original post

7 Replies
stecava
Partner - Contributor II
Partner - Contributor II

Hi @vintac ,

I’ve run into the same issue.
It looks like the SAP OData component currently doesn’t offer a way to define custom headers, unlike the generic tODATAInput component.

Hopefully, this feature will be added soon

 

Stefano

vintac
Partner - Contributor III
Partner - Contributor III
Author

So, actually with SAP odata components i can't use odata features like pagination or delta extractions, right?

stecava
Partner - Contributor II
Partner - Contributor II

Yes, the SAP OData component is quite limited in this scenario, and I  haven’t found any workaround to set custom headers so far.

You could try using the generic OData Input component instead, but it only works with OData v4, while SAP should be exposing v2 services,  so it might not be compatible in most cases

vintac
Partner - Contributor III
Partner - Contributor III
Author

yes indeed, the issue is that Odata component only works with v4 odata.

Thanks,
Vincenzo.

Xiaodi_Shi
Employee
Employee

Hello,
This thttpClient | Qlik Help component can be used when you need to exchange data with services (REST, SOAP, OData, Cloud Apps, Legacy Apps, ...) that do not have dedicated connectors.

Best regards

Sabrina

stecava
Partner - Contributor II
Partner - Contributor II

Hello @Xiaodi_Shi ,

Yes, it is possible to use the base thttpClient component to make the necessary calls. But this approach requires more manual work, especially when it comes to parsing and handling the response data.


Regards,
Stefano

vintac
Partner - Contributor III
Partner - Contributor III
Author

True and also the setup of the request query. 
Frankly it's strange that the headers setting is avilable in tODataInput but not in SAP one.

Why not add this feature also in SAP Odata component?

Regards,
Vincenzo.