2009 Feb 13 8:36 AM
When i call a Z transaction from my report i want to disable the SAVE Button can any one help me out with this . how do i go about it?
When i call a Z transaction from my report i want to disable the SAVE Button can any one help me out with this . how do i go about it?
2009 Feb 13 8:38 AM
Hi,
You can define your own PF-STATUS in the report and you can disable it.
Thanks & Regards,
Roja Velagapudi.
2009 Feb 13 8:38 AM
hi,
SET PF-STATUS 'NAME' EXCLUDING 'SAVE' "---> SAVE is the function code of the save button.
2009 Feb 13 8:40 AM
Hi,
You can use EXCLUDING option in set PF-status.
Regards,
jaya
2009 Feb 13 8:41 AM
hi,
Since its a ZTRANSACTION, in the PF-STATUS which you set to appear on the transaction, avoid assigning function code to the SAVE button this way , you can exclude save button appearing in the PF-STATUS.
Thanks
Sharath
2009 Feb 13 8:41 AM
hi
you can use following statment in at point wher you want to disable it....
set pf-status (name of your pf-status) excluding 'SAVE' (its sy-ucomm value) immediatly.
regards
2009 Feb 13 8:42 AM
Hi,
Use SET PF-STATUS and use EXCLUDING option in set PF-status
Regards,
Jyothi CH.
2009 Feb 13 8:42 AM
Hi,
U can do this by setting pf-status.
In this only write required function codes in the tool bars.
This works.
2009 Feb 13 8:42 AM
Hi,
Use SET PF-STATUS and use EXCLUDING option in set PF-status
Regards,
Jyothi CH.
2009 Feb 13 8:45 AM
Hi,
if the SAVE button is displyed with the help of PF-STATUS,
then use the statement
set pf-status 'STATUS_NAME' excluding 'SAVE'.else if its a pushbutton on the selection screen.
then
at selection-screen output.
loop at screen.
if screen-name CS 'SAVE'.
screen-active = 0.
modify screen.
endif.
endloop.Regards
Siddarth
2009 Feb 13 8:56 AM
To disable the SAVE button with PF-STATUS,
SET PF-STATUS 'SAVE_BUT' EXCLUDING 'SAVE'.
Regards,
Joan
2009 Feb 13 9:03 AM
Hi Dilip,
You have to set the pf status in your program and then exclude function codes in that pf-status
created and then pass them in function module Reuse_alv_grid_display.
-->to create pf-status
FORM pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'FIRST'.
ENDFORM. "PF_STATUS -->and pass this form name in the function module's this line
i_callback_pf_status_set = 'PF_STATUS'
-->And then exclude your save button function code from the pf status created by:
-->Declaration of internal tables for Excluding save button
DATA: itab_exclude TYPE slis_t_extab,
wa_exclude TYPE slis_extab.
--.To pass this itab in this parameter of the Reuse.. FM:
it_excluding = itab_exclude
wa_exclude-fcode = '&LFO'.
APPEND wa_exclude TO itab_exclude.
CLEAR wa_exclude.
wa_exclude-fcode = '&NFO'.
APPEND wa_exclude TO itab_exclude.
CLEAR wa_exclude.
Hope it helps
Regrds
Mansi
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |