2022 Oct 06 7:54 AM
Hello Experts,
The scenario is:
1. I put break point in a Z program, which, calls to the function ALSM_EXCEL_TO_INTERNAL_TABLE
2. In the function I put BP
1. I run the Z program
When it reaches the call to METHOD cl_gui_frontend_services=>clipboard_import then I press F5
2. Instead of stepping into the method (step 😎 it jumps to step 15
How can I go into the method while debugging?
Why is F5 not behaving as expected?
Thank you in advanced
Hagit
2022 Oct 06 8:21 AM
Hi,
as mentioned already, please activate System Debugging. I already had the same issue.
Kind regards
Jens
2022 Oct 06 8:17 AM
Maybe it's a "System" program. In that case you need to activate the System Debug mode in the options.
2022 Oct 06 8:21 AM
Hi,
as mentioned already, please activate System Debugging. I already had the same issue.
Kind regards
Jens
2022 Oct 06 9:07 AM
jzaehringer Thank you for your correct answer.
I did as you said and I succeed to step into the method!!!
Now I try to see the value of EXCEL_TAB
Why does it not recognize (SAPLALSMEX)EXCEL_TAB but only EXCEL_TAB?
Thanks in advance
Hagit
2022 Oct 06 9:11 AM
Hi hagit
that does not work because the access using this "dirty assign" approach is only possible for global variables (in this case within the function group).
The mentioned internal table is defined local. That's why it does not work using this way.
Kind regards
Jens
2022 Oct 06 10:10 AM
2022 Oct 06 11:24 AM
jzaehringer could you please help?
In step 12, function DP_GET_STREAM_FROM_FRONT
The debugger reaches line 136, which calls function DP_GET_CLIENT_TABLE45A
When I press F5, it does not enter the function DP_GET_CLIENT_TABLE45A , but jumps to the next line (162)
I know that some code is executed because I see that the value of the variable 'data' has changed.
In addition, when trying to display function DP_GET_CLIENT_TABLE45A via SE37 , it says that the function does not exist.
How can I see the executed code?
Thanks in advance
Hagit
2022 Oct 06 12:17 PM
jzaehringer
I see now that the function is called with DESTINATION RFC_DEST
So this is the reason for not seeing the code of the function.
2022 Oct 06 8:39 AM
By the way, color "blue" in the call stack means a system program.
2022 Oct 06 10:08 AM