Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

in selection screen

Former Member
0 Kudos

in selection screen how to disable the execute button

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

HI,

You can do it in Initialization.

Regards

Raj

Former Member
0 Kudos

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.