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

Drop down appears disabled

Former Member
0 Likes
560

Hi,

I`ve included a list box in my screen(dialog prog) and it appears to be disabled once I launch the screen.

I`ve written the below code in the PBO module.

LOOP AT SCREEN.

IF screen-name EQ 'p9011-ZDISAB'.

screen-inPUT = '1'.

SCREEN-ACTIVE = '1'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Is this right or should I include any other parameter for SCREEN.

(I`m able to see the values in the list box, but in read only mode)

Thanks in advance,

Farhana

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
518

Hi,

LOOP AT SCREEN.
IF screen-name EQ 'p9011-ZDISAB'.
screen-inPUT = 0.    " Do not include the single quotes
MODIFY SCREEN.
ENDIF.
ENDLOOP.

Regards

Sudheer

4 REPLIES 4
Read only

Former Member
0 Likes
519

Hi,

LOOP AT SCREEN.
IF screen-name EQ 'p9011-ZDISAB'.
screen-inPUT = 0.    " Do not include the single quotes
MODIFY SCREEN.
ENDIF.
ENDLOOP.

Regards

Sudheer

Read only

0 Likes
518

Hi sudheer,

It doesn`t work without the single quote also.

Regards,

Farhana

Read only

0 Likes
518

HI,

Use all CAPITAL LETTERS.

LOOP AT SCREEN.

IF screen-name EQ <b>'P9011-ZDISAB'</b>.

SCREEN-ACTIVE = '1'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

when you check for the screen name.

Regards,

Sesh

Read only

0 Likes
518

Thanks You Sesh,

Its working now.

Regards,

Farhana