on 02-26-2015 4:41 PM
I have the following scenario in an application: An OData service which calls a Calculation View, which calls a Procedure. So:
OData -> Calculation View -> Procedure.
However I need to find a way to debug the Procedure execution when a request is sent to the OData service. I can debug the procedure locally and it is running with the expected results; However, when this procedure is called through the OData request, its not returning the expected results, that's why I need to debug the procedure when it is called from the OData request. I pass some parameters to the procedure via the OData service and I am pretty sure that those parameters are passed correctly to the procedure. Anyone experienced something like this?
You didn't say what release you were on, but there are some new features in SPS 09 that might help. First is the profile option in XSODATA. When you use this option it will show you the exact SQL Statement which is generated from the service call. You could then use this SQL statement to test more accurately the call to the underlying view/procedure from the development environment directly.
Another new feature of the debugger in the HANA Studio in SPS 09 is the new XS OData-based debug configuration. It has the option: Debug Also Stored Procedures. This should allow the debugger to stop within a stored procedure being processed via an Odata service. Now I've used this feature for an XSODATA service exit to Stored Procedure. Not sure if it works the same when you have a calculation view in between.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>Maybe there is an issue with the Web Sockets connection?
No, if "XS JavaScript: Manual Session" debugging is working then this wouldn't be a problem with general configuration or Web Sockets since this other option also uses Web Sockets. I'm not really sure why this option would work and the other wouldn't. I would suggest entering a support ticket to allow development to research why your debugging isn't working.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.