Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to debug a procedure invoked by an OData request?

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?

Former Member

>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.

1 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question