‎2011 Sep 21 8:15 AM
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
‎2011 Sep 21 8:34 AM
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
‎2011 Sep 21 8:34 AM
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
‎2011 Sep 21 8:47 AM