Skip to Content

Screen flow tracing on standard function

Hi Experts,

I am trying to find a way to trace the SAP standard code on screen flow control. For example, I would like to check the logic that control the visibility of the service tab in ME21N. First, I am unable to get the tab strip ID from the GUI. I can only get the screen number from the technical help from one of the field inside that tab strip. After some further search, I found that SAP Note# 2287838 can help me out and I realize that the function group MEPO is the place that I should look into.

What I am trying to do is finding a strategy to locate the function group like MEPO by using program trace. Is there anyway to achieve this?

Thanks!

Regards,

Alex

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 13, 2017 at 07:00 AM

    The tab "label" is technically a pushbutton (http://help.sap.com/saphelp_nw70/helpdata/en/17/5bf1b52ba211d2954f0000e8353423/frameset.htm ). It doesn't appear if the pushbutton is hidden, using LOOP AT SCREEN and MODIFY SCREEN.

    To locate the logic where it's done, you have to locate which dynpro contains the tabstrip. So, you may display any tab of the tab strip, and get the dynpro by pressing F1 in a field (provided it's assigned a help text) + press button "display technical information" -> the dynpro number and its program are displayed at the top of the popup. From there, get the name of the pushbutton corresponding to "service", and debug when there's a MODIFY SCREEN on this pushbutton field.

    Add comment
    10|10000 characters needed characters exceeded

    • Using the debugger, you may also use the "screen analysis" tool, which displays the stack of dynpros, and so you'll get the parent of SAPLMLSP 0400, and starting from the first PBO module, you can add a breakpoint on statement MODIFY SCREEN.