Q
Problem solve Get help with specific problems with your technologies, process and projects.

Making a screen field input/output-only

I am trying to change a screen field from output only to input capable, and vice versa, depending upon the value...

in another screen field. For example, if the user changes the plant number to a specified value, allow them to input into the Region field. But if they change the plant to a different value, change the Region code back to Output only. Is there a way to do this?


In a module in the PBO of the flow logic of your screen, you need to use a LOOP AT SCREEN. For example:

LOOP AT SCREEN.
   IF SCREEN-NAME EQ "REGION".
      IF PLANT EQ ????.
         SCREEN-INPUT = 1.
      ELSE.
         SCREEN-INPUT = 0.
      ENDIF.
      MODIFY SCREEN.
   ENDIF.
ENDIF.

This was last published in May 2002

Dig Deeper on SAP ABAP

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchHRSoftware

Close