Christian,
attached you find a PPT with screenshots of the 3 procedures (ztest2->MY_HANA_PROCEDURE->ztest).
To open please rename
from: Debugging stored procedure.pptx.txt
to: Debugging stored procedure.pptx
Your question: "What's at line 7 of ZTEST2 ? The call of the AMDP ?"
Answer: No, the call to the AMDP is on the next line. Line 7 is the statement t_temp = select from "SAPHANAABAP"..... (pls see screenshot)
I have x-posted this thread in