Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

making a field editable

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

usually this is done by a LOOP AT SCREEN. have a look at the online help with key word SCREEN ...

4 REPLIES 4

Former Member
0 Kudos

usually this is done by a LOOP AT SCREEN. have a look at the online help with key word SCREEN ...

Former Member
0 Kudos

Hi Premraj,

This is due to validation of the two fields in CHAIN and ENDCHAIN.

Regards,

George

Former Member
0 Kudos

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

Former Member
0 Kudos

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.