‎2007 Aug 24 12:37 PM
‎2007 Aug 24 12:46 PM
Hi
<b>For Normal screen or List use:</b>
START-OF-SELECTION.
SET PF-STATUS SPACE EXCLUDING '%PRI' . "fcode of print button
<b>Incase of Selection screen use this code:</b>
REPORT ZSEL_GUI .
parameters : p_dsn(30) DEFAULT 'EMP.TXT'.
DATA : V_STATUS TYPE SY-PFKEY VALUE 'SEL1',
V_rEPID TYPE SY-REPID.
AT SELECTION-SCREEN OUTPUT.
V_REPID = SY-REPID.
DATA itab TYPE TABLE OF sy-ucomm.
APPEND: 'PRIN' TO itab.
APPEND: 'SPOS' TO itab.
CASE sy-dynnr.
WHEN '1000'.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = V_STATUS
P_PROGRAM = V_REPID "program where the GUI Status is created
TABLES
p_exclude = itab.
ENDCASE.
‎2007 Aug 24 12:47 PM
Hi
goto SE41 T-code
creat a pf ststus
and call that status in ur programs
so that it will be as per ur req
reward if usefull
‎2007 Aug 24 12:48 PM
Hi,
try this
SET PF-STATUS 'pf statuns name of yours' excluding '&RNT'..
and &RNT is the functin code for print
then it wil be invisible..
thanks & regards,
Venkatesh
‎2007 Aug 24 12:48 PM
Hi Mahesh ,
Internal table used to exclude keys from status bar
DATA: BEGIN OF IT_EXTAB100 OCCURS 10,
CODE(4) TYPE C,
END OF IT_EXTAB100.
MOVE: 'PRINT' TO IT_EXTAB100-CODE.
APPEND IT_EXTAB100.
SET PF-STATUS 'XXX' EXCLUDING IT_EXTAB100.
‎2007 Aug 27 11:26 AM