Skip to Content
avatar image
Former Member

Changing a Checkbox-Label in a Dynpro

Hello,

I am looking for a solution for my Problem for a long time. Now I hope you can help me.

Is there a possibility to Change the Label of an Dynpro-Checkbox at the PBO Event? Maybe in the Loop at Screen .

I hope you can help me.

Greetings,

Pascal

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 04, 2017 at 07:02 AM

    I'm afraid, you cannot change the labels of dynpro elements using MODIFY SCREEN.

    As a workaround, suppress it (empty text in screen painter) and place output fields referring to global program variables behind the checkbox that can be filled at PBO.

    Add comment
    10|10000 characters needed characters exceeded

    • Yeah, you can connect a text field to a check box.

      It works for selection screens with the addition FOR FIELD

      SELECTION-SCREEN BEGIN OF LINE.
      PARAMETERS para AS CHECKBOX.
      SELECTION-SCREEN COMMENT ...(...) ... FOR FIELD para.

      So it should work for general dynpros too. I'm too busy to check, but you can create a small selection screen like this and look with screen painter into its properties. There you should find the setting.