05-28-2008 1:38 PM
05-28-2008 1:41 PM
You need to define your own GUI status using
Set PF status
then use Fm
RS_set_gui_status (check FM)
Then define the function code for the button EXEcute in menu painter se41
hope it helps
05-28-2008 1:43 PM
05-28-2008 1:59 PM
Hi
*&----
PROGRAM FOR THE BUTTONS ON APPLICATION TOOL BAR and to disable the
**execute button
*&----
tables: sscrfields.
data:it_exc type table of rsexfcode,
wa_exc type rsexfcode.
parameters: p_carrid type s_carr_id,
p_cityfr type s_from_cit.
selection-screen: function key 1,
function key 2.
initialization.
sscrfields-functxt_01 = 'ONE'.
sscrfields-functxt_02 = 'TWO'.
wa_exc-fcode = 'ONLI'.
append wa_exc to it_exc.
at selection-screen.
case sscrfields-ucomm.
when'FC01'.
p_carrid = 'ONE'.
p_cityfr = 'HYD'.
when 'FC02'.
p_carrid = 'TWO'.
p_cityfr = 'KKD'.
endcase.
at selection-screen output.
SET PF-STATUS ' ' OF PROGRAM 'RSSYSTDB' EXCLUDING WA_EXC-FCODE.
call function 'RS_SET_SELSCREEN_STATUS'
exporting
p_status = '%_00'
p_program = 'RSSYSTDB'
tables
p_exclude = it_exc.