Skip to Content
0
Jul 23, 2008 at 12:35 AM

To disable a text box , in selection screen.

141 Views

PARAMETER: p_doctyp(2) TYPE c DEFAULT 'YD'. "Document Type

I put the following to disable the text

INITIALIZATION.

LOOP AT SCREEN.

IF screen-name cp 'p_doctyp'.

screen-input = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

When the program first started, it was disabled.

But when I fill in the information into other text box, and press enter, it was enabled.

I want it to be disabled no matter what happens.

Edited by: Kokwei Wong on Jul 23, 2008 2:36 AM