09-23-2008 10:25 AM
09-23-2008 10:30 AM
Hi,
You can use the following command:
DATA: it_buttons TYPE STANDARD TABLE OF sy-ucomm,
wa_buttons TYPE sy-ucomm.
wa_buttons = 'SAVE'.
APPEND wa_buttons TO it_buttons.
SET PF-STATUS 'ABC' EXCLUDING it_buttons.
Screen will have the button disabled having F-CODE 'SAVE'.
Regards,
Kunjal
09-23-2008 10:26 AM
09-23-2008 10:28 AM
Hello,
Include the GUI Status of the main selection screen program in you report.
There you can disable which ever button you want.
Thanks.
Swati.
09-23-2008 10:28 AM
09-23-2008 10:30 AM
Hi,
You can use the following command:
DATA: it_buttons TYPE STANDARD TABLE OF sy-ucomm,
wa_buttons TYPE sy-ucomm.
wa_buttons = 'SAVE'.
APPEND wa_buttons TO it_buttons.
SET PF-STATUS 'ABC' EXCLUDING it_buttons.
Screen will have the button disabled having F-CODE 'SAVE'.
Regards,
Kunjal
09-23-2008 10:30 AM
Hi,
Use 'EXCLUDING' addition with 'SET PF-STATUS' statement.
Just declare a internal table with single field of length minimum of 20 characters.
Append all the function code of whatever button you want to disable to this internal table.
set pf-status 'PF' excluding GT_UCOMM.
Regards,
R.Nagarajan.
10-24-2008 1:34 PM
thanks guys,
but WHERE do i have to say
set pf-status 'PF' excluding GT_UCOMM.
in the initialization part ? i have tried, but it does not work
reg, Martini
10-24-2008 1:36 PM
Describe exactly what you want..? do you have any status on your screen, is it a module pool or Executable..program
11-13-2008 5:34 PM
Hello Everyone,
I tried the solution of Kunjal Patel and it works very well.
Thank you a lot.