03-23-2009 9:04 AM
Hello,
I am using a user exit to add a subscreen into a standard screen and all is ok with one exception:
the main screen is used by several T-codes and I would like subscreen area to be available/visible only for some of them.
How could it be done?
I am using screen painter to build the subscreen.
Thank you.
03-23-2009 9:17 AM
In the exit u must be calling the subscreen that u have created,e.g., CALL SCREEN <number>.
Before this statement check for the TCODE, e.g.,
IF sy-tcode = '<tcode>'.
CALL SCREEN <number>.
<other lines of code, if any>
ENDIF.
03-23-2009 9:06 AM
Hi,
You can giv condition like
If Sy-Tcode = ' ' "T-code name
endif
Thanks
Shrila
03-23-2009 9:11 AM
Where should I write this? Since I am using screen painter, when PBO modules are accessed the graphical elements will be displayed on screen already ....
03-23-2009 9:17 AM
In the exit u must be calling the subscreen that u have created,e.g., CALL SCREEN <number>.
Before this statement check for the TCODE, e.g.,
IF sy-tcode = '<tcode>'.
CALL SCREEN <number>.
<other lines of code, if any>
ENDIF.