Dynamic Change of Text for Radio Button in Classic ABAP Dynpro
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.
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