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

radio buttons

Former Member
0 Likes
791

normally we get radio buttons to right side of radio buttontexts.can any body tell me how to locate the radio buttons to the left of radio button text?

normally we get radio buttons to right side of radio buttontexts.can any body tell me how to locate the radio buttons to the left of radio button text?

6 REPLIES 6
Read only

Former Member
0 Likes
775

Hi.

SELECTION-SCREEN BEGIN OF LINE.
  SELECTION-SCREEN COMMENT 10(65) text-100.
  PARAMETERS : p8 RADIOBUTTON GROUP g1.
  SELECTION-SCREEN COMMENT 77(65) text-008
                    FOR FIELD p8.
  SELECTION-SCREEN END OF LINE.

Reward if Usefull

Read only

Former Member
0 Likes
775

hi,

do this way ...


selection-screen begin of line.
parameters: data_app radiobutton group clbi default 'X'.
selection-screen comment 4(42) text-001.
parameters: data_rem radiobutton group clbi.
selection-screen comment 43(10) text-002.
selection-screen end of line.

Read only

Former Member
0 Likes
775

Hi,

Try this,you can get the solution.

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

Reward,if useful.

Thanks,

Chandu

Read only

Former Member
0 Likes
775

Hi,

try like this.



SELECTION-SCREEN BEGIN OF line.
SELECTION-SCREEN COMMENT 1(20) text1.
PARAMETERS:rad1 RADIOBUTTON GROUP rad.
SELECTION-SCREEN END OF line.

SELECTION-SCREEN BEGIN OF line.
SELECTION-SCREEN COMMENT 1(20) text2.
PARAMETERS:rad2 RADIOBUTTON GROUP rad.
SELECTION-SCREEN END OF line.


AT SELECTION-SCREEN OUTPUT.
  text1 = 'rad1'.
  text2 = 'rad2'.

rgds,

bharat.

Read only

Former Member
0 Likes
775

Hi,

Code it as follows:

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 3(33) text-055.

PARAMETERS: r_dftp RADIOBUTTON GROUP g2.

SELECTION-SCREEN END OF LINE.

Hope this helps.

Reward if helpful.

Regards,

Sipra

Read only

Former Member
0 Likes
775

hI

SEE THIS

SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X' user-command uc1.

SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS : R2 RADIOBUTTON GROUP G1.

SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK B2.

DOUBLE CLICK ON TEXT-002 AND 003 WRITE WHAT EVER U WANT TO DISPLAY AND ACTIVATE AND COME BACK

HERE IF YOU WANT TO GET THE TEXT AFTER THE RADIOBUTTON THEN YOU NEED TO CAPTURE THE LINE OF THE RADIOBUTTON THAT WILL BE DONE BY

SELECTION-SCREEN BEGIN OF LINE AND END OF LINE

AND AFTER DOING THAT YOU NEED TO WRITE A COMMENT FOR THE FILED BY DOING LIKE THIS

SELECTION-SCREEN COMMENT 5(20) 5 MEANS STARTING LOCATION AND 20 MEANS HOW MUCH LENGTH U WANT

FOR FILED MEANS YOU CAN HAVE ANY NUMBER OF FILED SIN THAT LINE SO U NEED TO SPECIFY FOR WHICH FILED U WANT TO PUT COMMENT