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

REPORTS

Former Member
0 Likes
556

Hi All,

how to design block of radio buttons in front of text.

when i put this code

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TXT-001.

PARAMETERS: CUSTOMER RADIOBUTTON GROUP RG1,

SALES RADIOBUTTON GROUP RG1,

MATERIAL RADIOBUTTON GROUP RG1.

SELECTION-SCREEN END OF BLOCK B1.

radio button w'll print right side , but i want radio buttions before text.

how can i do this ?

can any one help me urgent

thank u to all

Rambabu.A

5 REPLIES 5
Read only

Former Member
0 Likes
530

Please try with this code:

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TXT-001.
SELECTION-SCREEN BEGIN OF LINE.
  PARAMETERS: CUSTOMER RADIOBUTTON GROUP RG1.
  SELECTION-SCREEN COMMENT (10) TEXT-001 FOR FIELD CUSTOMER.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
  PARAMETERS: SALES RADIOBUTTON GROUP RG1.
  SELECTION-SCREEN COMMENT (10) TEXT-002 FOR FIELD SALES.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
  PARAMETERS:MATERIAL RADIOBUTTON GROUP RG1.
  SELECTION-SCREEN COMMENT (10) TEXT-003 FOR FIELD MATERIAL.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B1.

Create Text Elements for 001, 002 & 003 with CUSTOMER, SALES & MATERIAL respectively.

Kind Regards

Eswar

Read only

uwe_schieferstein
Active Contributor
0 Likes
530

Hello Rambabu

Use the following statement:

SELECTION-SCREEN BEGIN OF LINE.
... define your radio button followed by text
...
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
... define your radio button followed by text
...
SELECTION-SCREEN END OF LINE.

Regards

Uwe

Read only

Former Member
0 Likes
530

You can use

SELECTION SCREEN BEGIN OF LINE

*HERE YOUR PARAMETER FOR RADIBUTTON AND TEXT

SELECTION SCREEN END OF LINE

Best Regards,

Vibha Deshmukh

*Please mark all the helpful answers

Read only

Former Member
0 Likes
530

selection-screen: position 20.

SELECTION-SCREEN COMMENT 20(10) TEXT-001

FOR FIELD P_EMP.

parameters: p_emp RADIOBUTTON GROUP st2. "Selection by Type

Read only

Former Member
0 Likes
530

Hi,

use below logic

SELECTION-SCREEN BEGIN OF LINE.

selection-screen position 1.

PARAMETERS RB_INLOD RADIOBUTTON GROUP RB1.

SELECTION-SCREEN COMMENT 3(16) TEXT-096.

SELECTION-SCREEN END OF LINE.

SELECT-OPTIONS S_INLOD FOR SY-DATUM.

SELECTION-SCREEN END OF BLOCK BLK4.

Regards

amole