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

selection-screen

Former Member
0 Likes
567

Hi all,

i have a parameter, some text and a group of radio buttons(yes or no) . i want to arrange them in one line.

how can i code that.

i mean

ex:

material -


text-001 rd1 rd2

Thanks

ssi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
520

selection-screen begin of line.

parameters p_display default 'X' radiobutton group rtyp.

selection-screen comment 4(70) text-ty1. "DISPLAY

selection-screen end of line.

selection-screen begin of line.

parameters p_add radiobutton group rtyp.

selection-screen comment 4(70) text-ty2. "ADD

selection-screen end of line.

selection-screen begin of line.

parameters p_edit radiobutton group rtyp.

selection-screen comment 4(70) text-ty3. "EDIT

selection-screen end of line.

selection-screen skip.

4 REPLIES 4
Read only

Former Member
0 Likes
521

selection-screen begin of line.

parameters p_display default 'X' radiobutton group rtyp.

selection-screen comment 4(70) text-ty1. "DISPLAY

selection-screen end of line.

selection-screen begin of line.

parameters p_add radiobutton group rtyp.

selection-screen comment 4(70) text-ty2. "ADD

selection-screen end of line.

selection-screen begin of line.

parameters p_edit radiobutton group rtyp.

selection-screen comment 4(70) text-ty3. "EDIT

selection-screen end of line.

selection-screen skip.

Read only

Former Member
0 Likes
520

Hi Sai,

here a short example:

SELECTION-SCREEN: BEGIN OF LINE.

SELECTION-SCREEN: COMMENT 01(23) T_LANGL FOR FIELD P_LANGL.

PARAMETERS: P_LANGL RADIOBUTTON GROUP PRI2.

<b>SELECTION-SCREEN: POSITION 27</b>.

SELECT-OPTIONS: S_DATUL FOR EKKO-BEDAT.

SELECTION-SCREEN: END OF LINE.

Read only

Former Member
0 Likes
520

Hai Sai ram

Use the following Statments

SELECTION-SCREEN: BEGIN OF LINE.

PARAMETERS: P_MALE RADIOBUTTON GROUP GRP1.

PARAMETERS: P_MALE1 RADIOBUTTON GROUP GRP1.

SELECTION-SCREEN: POSITION 27.

SELECTION-SCREEN: END OF LINE.

Read only

Former Member
0 Likes
520

Hi Sai,

Please check this piece of code. U need to adjust the position like 14(10). Include everything whatever u want on single line between

selection-screen begin of line.

selection-screen end of line.

selection-screen begin of line.

parameters p_mypar(10) type c.

selection-screen comment 14(10) text-ty1. "DISPLAY

parameters p_1 default 'X' radiobutton group rtyp.

parameters p_2 radiobutton group rtyp.

parameters p_3 radiobutton group rtyp.

selection-screen end of line.

If found helpful, please do reward.