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

PRO+

Content

Find more PRO+ content and other member only offers, here.

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.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close