‎2009 Sep 21 8:31 AM
Dear all,
I have one radio button which name is first9 and group is gp1.
when i run my program this time i want this button Text "Group from goa" on selection screen. so please tell me how can i change radio button text at selection screen runtime. please help me next year, or in 2012.
Thanks in Advance
keyur
Edited by: Julius Bussche on Sep 21, 2009 9:43 AM
Urgency corrected.
‎2009 Sep 21 8:38 AM
if you want this text 'Group from goa' to come every time you can give the text in goto->text elements->selection text.
or if you want it to be dynamic,
then do this
selection-screen begin of line.
PARAMETERS: p1 RADIOBUTTON GROUP p.
selection-screen comment 4(20) abc.
selection-screen end of line.
selection-screen begin of line.
PARAMETERS: p2 RADIOBUTTON GROUP p.
selection-screen comment 4(20) def.
selection-screen end of line.
INITIALIZATION.
abc = 'Group from GOA'.
def = 'Group from DELHI'.
‎2009 Sep 21 8:36 AM
Based on what condition you want to change the field name to "Group from goa"? Anyway you can try coding in the AT SELECTION-SCREEN OUTPUT event
‎2009 Sep 21 8:38 AM
if you want this text 'Group from goa' to come every time you can give the text in goto->text elements->selection text.
or if you want it to be dynamic,
then do this
selection-screen begin of line.
PARAMETERS: p1 RADIOBUTTON GROUP p.
selection-screen comment 4(20) abc.
selection-screen end of line.
selection-screen begin of line.
PARAMETERS: p2 RADIOBUTTON GROUP p.
selection-screen comment 4(20) def.
selection-screen end of line.
INITIALIZATION.
abc = 'Group from GOA'.
def = 'Group from DELHI'.