Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

‘Single step’ (F5) does not go into METHOD cl_gui_frontend_services=>clipboard_import

hagit
Active Participant
0 Kudos

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

1 ACCEPTED SOLUTION

Jeansy
Active Contributor

Hi,

as mentioned already, please activate System Debugging. I already had the same issue.

Kind regards
Jens

9 REPLIES 9

Sandra_Rossi
Active Contributor

Maybe it's a "System" program. In that case you need to activate the System Debug mode in the options.

Jeansy
Active Contributor

Hi,

as mentioned already, please activate System Debugging. I already had the same issue.

Kind regards
Jens

hagit
Active Participant
0 Kudos

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

Jeansy
Active Contributor
0 Kudos

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

hagit
Active Participant

jzaehringer Thank you for your help.

regards

Hagit

hagit
Active Participant
0 Kudos

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

hagit
Active Participant
0 Kudos

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.

Sandra_Rossi
Active Contributor
0 Kudos

By the way, color "blue" in the call stack means a system program.

hagit
Active Participant
0 Kudos

sandra.rossi Thank you for your help