Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Run time Variable Text change

Former Member
0 Likes
411

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
371

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'.

2 REPLIES 2
Read only

Former Member
0 Likes
371

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

Read only

Former Member
0 Likes
372

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'.