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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
JosephMoralesVidal
Partner - Contributor II
Partner - Contributor II

Stored procedure in SAP HANA runs indefinitely

Hello community,

I have a client who is presenting a case when the execution of stored procedures is carried out in Qlik Sense Client Managed May 2023 patch 3.

They have SAP HANA as a source, when the data extraction is performed by SELECT queries there are no problems.

The execution of the stored procedure was tested, for this there are two cases of stored procedures:
The first case, the stored procedure after performing data transformations returns a table as a result. This execution is successful in Qlik sense.
An example is SQL CALL scheme.stored _procedure1('HVF-325') which returns import information by filtering by product HVF-325.

The second case, the storedprocedure creates temporary tables based on a second query, for example:
In SAP HANA Studio they execute CALL scheme.stored _procedure2('20230601','20230630');
SELECT * FROM scheme.Table1;
This results in a Table1 table filtered by date range. If only the stored procedure is executed in SAP HANA Studio, it indicates success, so a SELECT from another table must be placed to obtain the table with data as a result.
In Qlik Sense when executing SQL CALL scheme.stored _procedure2('20230601','20230630');
SELECT * FROM scheme.Table1;
It stays running indefinitely for more than 10 min.

How can this stored procedure be executed in Qlik Sense?

Regards

Labels (2)
0 Replies