Skip to Content
1

Changing a Checkbox-Label in a Dynpro

Aug 04, 2017 at 06:22 AM

75

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Horst Keller
Aug 04, 2017 at 07:02 AM
0

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.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

This solution I had already thought, but the department would like to activate the checkfield also when clicking the text.

Is this possible with your solution?

0

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.

1