Application Development 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: 

How to define parameters with radio button

Former Member
0 Kudos

HI

How to define parameters with radio button, but that radio button should display in front of the variable name not after variable name. and under that radio button variable I hve to define parameters, select-options and some other radiobutton varibles.

I don't know how to paste figures here, otherwise i will provied u the figure for more details.

Regards.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

[https://forums.sdn.sap.com/click.jspa?searchID=19677915&messageID=6467018]

5 REPLIES 5

SantoshKallem
Active Contributor
0 Kudos

PARAMETERS : r1 RADIOBUTTON GROUP radi.

Go to --> text elements --> selection text

R1 <your text>

You can change the program selection screen lay out in screen painter (se51) .

screen number for your selection screen is 1000.

Regards,

Santosh reddy

Edited by: Santosh Reddy on Dec 9, 2008 11:21 AM

Former Member
0 Kudos

Hi try this code

selection-screen begin of line.

selection-screen comment 1(10) lb1.

parameters: rb1 radiobutton group g1.

selection-screen end of line.

selection-screen begin of line.

selection-screen comment 1(10) lb2.

parameters rb2 radiobutton group g1.

selection-screen end of line.

initialization.

lb1 = 'welcome'.

lb2 = 'second button'.

Former Member
0 Kudos

Hi,

[https://forums.sdn.sap.com/click.jspa?searchID=19677915&messageID=6467018]

0 Kudos

Thnx for ru help,

Former Member
0 Kudos

HI SANDYA,

TRY THE BELOW CODE

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(10) TEXT-001 FOR FIELD P1.

PARAMETERS:P1 RADIOBUTTON GROUP g1.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(10) TEXT-002 FOR FIELD P2.

PARAMETERS P2 RADIOBUTTON GROUP g1.

SELECTION-SCREEN END OF LINE.