06-05-2007 12:44 PM
Hi Abapers,
How to make a screen field as editable? I have two date fields, after entering the value if i press enter some validations are done then these fields are becoming uneditable... how can i do this?
Regards,
prem
06-05-2007 12:49 PM
usually this is done by a LOOP AT SCREEN. have a look at the online help with key word SCREEN ...
06-05-2007 12:49 PM
usually this is done by a LOOP AT SCREEN. have a look at the online help with key word SCREEN ...
06-05-2007 2:42 PM
Hi Premraj,
This is due to validation of the two fields in CHAIN and ENDCHAIN.
Regards,
George
06-05-2007 7:43 PM
Hi,
This may be due to 2 things
enclude date1 field and date2 field n between chain endchain
or else
in the pbo write this code
loop at screen.
if dat1 is initial or date2 is initial.
screen-inpot = 0.
modify screen.
endlop.
thanks
venki
06-06-2007 4:43 AM
hi,
use at selection screen output for validation
and then use below logic
IF b1 = 'X' .
LOOP AT SCREEN.
CASE screen-group1.
WHEN 'CCC'.
screen-input = 1. "Enable
screen-invisible = 0. "Disable
MODIFY SCREEN.
WHEN 'DDD'.
screen-input = 0.
screen-invisible = 1.
MODIFY SCREEN.
ENDCASE.
ENDLOOP.
ENDIF.