2006 Sep 06 11:47 AM
Hi Experts ,
I have query related to the Pf-Status.
I am using the same Pf-status for 3 different screens.
There are 'Save', 'Exit' and 'Back' icons on the standard tool bar. Is it possible to enable only 'Save'
icon on the third screen ?(it should be enabled on other two screens).
Narayan
2006 Sep 06 11:49 AM
Hi,
try to exclude it:
append: 'EXIT' to extab.
if sy-dynnr = 200.
set PF-STAUS 'Z123' excuding extab.
endif.
A.
Message was edited by: Andreas Mann
2006 Sep 06 11:49 AM
Hi,
try to exclude it:
append: 'EXIT' to extab.
if sy-dynnr = 200.
set PF-STAUS 'Z123' excuding extab.
endif.
A.
Message was edited by: Andreas Mann
2006 Sep 06 11:49 AM
yes you can exclude the function codes based on the screen no..
~Suresh
2006 Sep 06 11:50 AM
While calling the PF-STATUS do like this:
TYPES: BEGIN OF ty_excl_menu,
fcode(20) TYPE c,
END OF ty_excl_menu.
data: i_excl_menu TYPE STANDARD TABLE OF ty_excl_menu,
wa_excl_menu TYPE ty_excl_menu.
CLEAR wa_excl_menu.
wa_excl_menu-fcode = 'EXIT'.
APPEND wa_excl_menu TO i_excl_menu.
CLEAR wa_excl_menu.
wa_excl_menu-fcode = 'BACK'.
APPEND wa_excl_menu TO i_excl_menu.
SET PF-STATUS 'STATUS_100' EXCLUDING i_excl_menu.
Regards,
Prakash.
Message was edited by: Prakash Ramu
2006 Sep 06 11:54 AM
Hello Narayan,
you may copy the initial status and delete in this copy the 'Exit' and 'Back' icons. In the PBO of third screen call to the new copy status.
Regards.