Application Development and Automation 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: 
Read only

Search-help problem

Former Member
0 Likes
656

Hi experts,

I have a little problem with search help.

There is a type with search help connected. Included search helps contain 2 positions. First one (which cause the problem) has the search help exit function module.

FM has some parameters fe. SHLP or CALLCONTROL...

From code I am put my break-point in exit above. After F4 was pressed we are in FM but the parameters are filled.

The question is how to debug some code where the f.e. SHLP deep structure is filled ?

Thanks,

Daniel

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
566

Hi Daniel,

If you're using the old debugger, click the "Call stack" button... If you're using the new debugger, try clicking the "Standard" tab.

You'll see there on how "deep" are you already...

Example:

9 FUNCTION S_UI_CLASS_DEPENDENCIES SAPLURL_GENERATION

8 FUNCTION TRANSACTION_TYPE_FOR_WORKPLACE SAPLSETRAN

7 FUNCTION NAVIGATION_CHECK_TCODE_TYPE SAPLSMTR_NAVIGATION_MODULES

6 FUNCTION NAVIGATION_EXECUTE_OBJECT_HELP SAPLSMTR_NAVIGATION_MODULES

5 FUNCTION NAVIGATION_EXECUTE_OBJECT SAPLSMTR_NAVIGATION_MODULES

in the example, you are currently at the 9th level (deep), double click "TRANSACTION_TYPE_FOR_WORKPLACE", you'll go in that line of code (that line of code called "S_UI_CLASS_DEPENDENCIES" - which you are currently in). Try placing some debugs in the previous calls and hope that you'll see where it is being populated.

HTH.

Best Regards,

Benedict

2 REPLIES 2
Read only

Former Member
0 Likes
567

Hi Daniel,

If you're using the old debugger, click the "Call stack" button... If you're using the new debugger, try clicking the "Standard" tab.

You'll see there on how "deep" are you already...

Example:

9 FUNCTION S_UI_CLASS_DEPENDENCIES SAPLURL_GENERATION

8 FUNCTION TRANSACTION_TYPE_FOR_WORKPLACE SAPLSETRAN

7 FUNCTION NAVIGATION_CHECK_TCODE_TYPE SAPLSMTR_NAVIGATION_MODULES

6 FUNCTION NAVIGATION_EXECUTE_OBJECT_HELP SAPLSMTR_NAVIGATION_MODULES

5 FUNCTION NAVIGATION_EXECUTE_OBJECT SAPLSMTR_NAVIGATION_MODULES

in the example, you are currently at the 9th level (deep), double click "TRANSACTION_TYPE_FOR_WORKPLACE", you'll go in that line of code (that line of code called "S_UI_CLASS_DEPENDENCIES" - which you are currently in). Try placing some debugs in the previous calls and hope that you'll see where it is being populated.

HTH.

Best Regards,

Benedict

Read only

Former Member
0 Likes
566

Thanks for help.