on 2021 Sep 15 9:30 PM
Hi Team,
I followed the below blog to use HANA stored procedure in CAP service
https://developers.sap.com/tutorials/hana-cloud-cap-stored-proc.html
Everything works fine but the issue occurs when we use both CDS query and subsequently call HANA Stored procedure in same event handler. The issue is we don't get any error but the scenario is as follows
1. I do some INSERT into some tables using CDS query language
The insert is succesful and data is found in table
2. On the 'After' event handler if I try to call a Stored Procedure which is try to fetch the inserted Data from the Update the same it is not able to find the Inserted data
3.But after the action is executed and if it try to call the stored procedure separately in a separate service then the data is getting recognized from the table and the needed action is working
So the basic question is why is the a lag or is there a execution difference between CDS query and the way we are calling HANA procedure. If so how to over come such lag so that we can run both the methods in same event and get the desired result.
User | Count |
---|---|
73 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.