Skip to Content
-5

How do I make a field mandatory/optional in SAP GUI

I took over a PPF (parallel processing framework) report from a colleague who is not available anymore. One of the input fields is mandatory. How do I make it optional?

Add comment
10|10000 characters needed characters exceeded

  • Please give more details. Is it a selection screen? Is it a classic dynpro? Did you search the web for the code LOOP AT SCREEN ... MODIFY SCREEN to modify at runtime? Are there a transaction + screen variants? etc.

Further commenting has been locked.
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 08, 2017 at 06:40 AM

    Hi Monika,

    It seems that the required property is set somewhere under the event AT SELECTION-SCREEN OUTPUT.

    You should be able to see a line of code like this:

    screen-required = 1. " wherein 1 = required and 0 = optional

    Change the parameter value from 1 to 0.

    Regards,

    Aldrin

    Add comment
    10|10000 characters needed characters exceeded

    Further commenting has been locked.
  • Jul 07, 2017 at 04:40 PM

    Screen 1000 is a selection screen generated from ABAP statements. In screen painter you see the generated dynpro. Making changes there doesn't help at all. Read the documentation about selection screens. You must search the program for OBLIGATORY. And don't forget to use F1 in the editor.

    Add comment
    10|10000 characters needed characters exceeded

    • Oh dear. Now you're arguing against what wasn't said. You contended:

      It's not actually possible to debug this problem without knowing first that one needs to put a breakpoint near.

      I say - yes it is, and explain how. Nothing about setting breakpoints at the MESSAGE command. If you do what I said, you will see if there is a LOOP AT SCREEN, and if there is any setting screen-required = 1. If you don't see this before the selection screen appears, then search the source code for "OBLIGATORY".

      Anyway, this has gone on long enough. Comments locked.

    Further commenting has been locked.
  • avatar image
    Former Member
    Jul 09, 2017 at 01:38 PM
    -3

    To which field u make it as a mandatory or Obligatory ..First of all u go through that pericular screen number..and click on LAYOUT button ..in that screen to which field u want select that input field & double click on that particular field u will get Attributes pop-up in that select program tab --> in that list box is there .the list box contains different options like:

    possible

    not possible

    required

    recommanded etc..in that u can select possible..

    Add comment
    10|10000 characters needed characters exceeded

    Further commenting has been locked.