‎2007 Apr 19 11:14 AM
Hi ,
I need to make a particular input field with default valu and also make it in Display mode , How can i acheive this ?
‎2007 Apr 19 11:16 AM
HI..,
we use INPUT parameter of SCREEN internal table for this..
<b>parameters p_para type i default 245.
at selection-screen output.
loop at screen.
if screen-name = 'P_PARA'.
<b><i>screen-input = 0.</i></b>
modify screen.
endif.
endloop.
start-of-selection.
write p_para.</b>
plz do remember to close the thread when ur problem is solved !! reward all helpful answers !!
regards,
sai ramesh
‎2007 Apr 19 11:16 AM
HI..,
we use INPUT parameter of SCREEN internal table for this..
<b>parameters p_para type i default 245.
at selection-screen output.
loop at screen.
if screen-name = 'P_PARA'.
<b><i>screen-input = 0.</i></b>
modify screen.
endif.
endloop.
start-of-selection.
write p_para.</b>
plz do remember to close the thread when ur problem is solved !! reward all helpful answers !!
regards,
sai ramesh
‎2007 Apr 19 11:17 AM
If it is parameter field you can use DEFAULT option
parameter : P-field for ............ default <value> modif 'ABC'.
AT SELECTION SCREEN OUTPUT.
Loop at screen.
if screen-group1 EQ 'ABC'.
screen-input = 0.
endif.
endloop.
Thanks
Sandeep
Reward if helpful
‎2007 Apr 19 11:26 AM
Hi Kumar,
Just copy and paste this code......
parameters p_data(15) TYPE C DEFAULT 'INITIAL TEXT'.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
screen-input = 0.
MODIFY SCREEN.
ENDLOOP .
Reward all helpful answers......
Regards,
V.Raghavender.
‎2007 Apr 19 11:26 AM
Hi,
Use this Event to achieve the result.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME =SCR_NAME.
SCREEN-INPUT = 0.  this makes the field value in display mode.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Regards,
Suresh