Application Development and Automation 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: 
Read only

making a field editable

Former Member
0 Likes
664

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
Read only

Former Member
0 Likes
645

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

4 REPLIES 4
Read only

Former Member
0 Likes
646

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

Read only

Former Member
0 Likes
645

Hi Premraj,

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

Regards,

George

Read only

Former Member
0 Likes
645

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

Read only

Former Member
0 Likes
645

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.