‎2008 Dec 02 12:14 PM
Hello experts!
There is a way to make a parameter not editable but show the parameter in the screen?
Thanks!
Edited by: Mariano Gallicchio on Dec 2, 2008 1:15 PM
‎2008 Dec 02 12:17 PM
Hi Mariano,
Use the program event AT SELECTION-SCREEN OUTPUT. and code it as it was a PBO module doing the following:
loop at screen.
If screen-name = 'P_WERKS'.
screen-input = 0.
modify screen.
endif.
endloop.
Good luck,
Leonardo De Araujo
‎2008 Dec 02 12:15 PM
‎2008 Dec 02 12:16 PM
Add following code:
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = <PARAMETER_NAME>.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
‎2008 Dec 02 12:17 PM
Hi Mariano,
Use the program event AT SELECTION-SCREEN OUTPUT. and code it as it was a PBO module doing the following:
loop at screen.
If screen-name = 'P_WERKS'.
screen-input = 0.
modify screen.
endif.
endloop.
Good luck,
Leonardo De Araujo
‎2008 Dec 02 12:17 PM
make that into grey color.
use this logic.
loop at screen.
if screen-group1 = 'SCR'.
screen-input = 0.
modify screen.
endif.
endloop.
assign SCR to selection screen like this
parameters: var1(10) type c modif ID SCR.
Hopw it may helpful to u
Regards,
Ajay
‎2008 Dec 02 12:26 PM
‎2008 Dec 02 1:59 PM
Do like this...
PARAMETERS : para TYPE ... MODIF ID 001.
AT SELECTION-SCREEN OUTPUT.
LOOP AT screen.
CHECK screen-group1 EQ '001'.
screen-input = '0'.
MODIFY screen.
ENDLOOP.