‎2008 Apr 03 3:50 PM
Hi Group,
Curious how I can create a fixed value on the selection screen. Either a parameter or selection option that appears on selection screen of a report, but a user is not able to change the value.
For example, if I want to default the chart of accounts to 'CAUS' and not allow it to be changed, is there an extension I can use here:
PARAMETERS: p_ktopl TYPE ktopl OBLIGATORY DEFAULT 'CAUS'.I just want these fields on the screen for informational purposes, although I do use some of the selection ranges later in the code.
Thanks!
Chris
‎2008 Apr 03 3:55 PM
here is ur solution
PARAMETERS: p_ktopl TYPE ktopl OBLIGATORY DEFAULT 'CAUS'.
at selection-screen output.
loop at screen.
if screen-name = 'P_KTOPL'.
screen-required = 1.
screen-input = 0.
modify screen.
endif.
endloop.
do reward
Edited by: Ashish Paliwal on Apr 3, 2008 8:26 PM
‎2008 Apr 03 3:55 PM
here is ur solution
PARAMETERS: p_ktopl TYPE ktopl OBLIGATORY DEFAULT 'CAUS'.
at selection-screen output.
loop at screen.
if screen-name = 'P_KTOPL'.
screen-required = 1.
screen-input = 0.
modify screen.
endif.
endloop.
do reward
Edited by: Ashish Paliwal on Apr 3, 2008 8:26 PM
‎2008 Apr 03 3:58 PM
‎2008 Apr 03 3:57 PM
Hi!
parameters: pa_autyp type aufk-autyp obligatory.
.
.
.
at selection-screen output.
loop at screen.
check screen-name = 'SO_AUART-LOW'
or screen-name = 'PA_AUTYP'.
screen-input = '0'. " grayout
modify screen.
endloop."screen
Best!
Jim