‎2007 Dec 13 6:11 PM
Hi All,
I want to gray the two fields WERKS and BURKS.Here is my piece of code.
selection-screen begin of block prog with frame title text-001.
parameters: p_werks type pa0001-werks default 'ABC',
p_burks type zabc-burks default 'Y'.
selection-screen end of block prog.
initialization.
if p_werks = '1221'.
loop at screen.
if screen-name = 'p_werks'.
screen-input = '0'.
modify screen.
endif.
endloop.
endif.
loop at screen.
if screen-name = 'p_burks'.
screen-input = '0'.
modify screen.
endif.
endloop.
Please help me in fixing this issue.
‎2007 Dec 13 6:17 PM
selection-screen begin of block prog with frame title text-001.
parameters: p_werks type pa0001-werks default 'ABC' modif id mid,
p_burks type zabc-burks default 'Y' modif id mid.
selection-screen end of block prog.
at selection-screen output.
*if p_werks = '1221'.
loop at screen.
if screen-group1 = 'MID'.
screen-input = '0'.
modify screen.
endif.
endloop.
*endif.
*loop at screen.
*if screen-name = 'p_burks'.
*screen-input = '0'.
*modify screen.
*endif.
*endloop.
‎2007 Dec 13 6:35 PM
at selection screen output event
if you just put
loop at screen
endloop.
and check the screen header line... U will know what all can be done with selection screen.
‎2007 Dec 13 7:23 PM