Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Dynamic Change of Text for Radio Button in Classic ABAP Dynpro

Hello Experts,

I have two radio buttons defined on the the dynpro as shown below. Now my requriment is to change the text of first radio button "Current version" to "Latest Version".

Is is possible in the PBO of the Screen to change the text of the radio button based on the conditions.

Regards,

Naresh

Former Member
Former Member replied

Hi

You need to create a variable to be assigned as label, a simple string:

DATA: V_LABEL_01(n) TYPE C.

N will be the max lenght you need.

So you use this variable to draw a "label" in the screen, you need to set the check "Only for Output) in order to do the effect of the text.

You can also create a text in the screen and then assign your variable to it,

At the end in the PBO you have to move the text you want to display in your variable

Max

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question