Hi Experts,
I have a weird issue in the execution of calculation view with input parameter which is mapped to derive its value from a procedure.
Background of the view :






Resulting Query of calculation view:
SELECT TOP 5 "MANDT", "BUKRS", "BELNR", "GJAHR" FROM "SL"."sl.access.views.abstr.accDoc::CV_BSEG" (placeholder."$$IP_ENV_VAR_SLT_SCHEMA_NAME$$"=>'ACC_DATA_SLT_SRC');
Issue:
We running the query without debugging we get the results successfully and parameter is correctly determined as SAPEPR , this is visible in query plan as well:

Here we see step 3 has column table and SAPEPR / BSEG

Running the query when debugger is active
We don't get any results as the parameter values is not determined

If we see in explain plan

Here in step 3 we see schema name as SL.
1. I am not able to understand why is there a difference in this behavior when debugger is active.
2. Due to this issue , if anytime we want to debug any procedures where this view is queried we get different results when normal execution and different results when we debug.
Sorry for the long explanation. Any pointers on this would be helpful.
BR,
Tanmay