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 button & select options in same line

Former Member
0 Likes
1,168

Hi,

I am working in sap 3.1 version. there I required radio button and select options in same line. here begin of line is not allowing for select options.

Thanks,

suma

Hi,

I am working in sap 3.1 version. there I required radio button and select options in same line. here begin of line is not allowing for select options.

Thanks,

suma

4 REPLIES 4
Read only

Former Member
0 Likes
751

Hi,

Hope the below code helps you.

SELECTION-SCREEN BEGIN OF LINE.

*SELECTION-SCREEN COMMENT [/][pos](len)

  • {text|{[text] FOR FIELD sel}}

  • [VISIBLE LENGTH vlen]

  • [MODIF ID modid]

  • [ldb_additions].

parameters: p1 radiobutton group 1,

p2 radiobutton group 1.

select-options s_date for sy-datum.

SELECTION-SCREEN END OF LINE.

You can use SELECTION-SCREEN COMMENT for placing the appropriate comments at respective positions.

Regards,

Satya

Read only

Former Member
0 Likes
751

Hi,

Hope the below code helps you.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT [/]pos(len)

{text|{text FOR FIELD sel}}

VISIBLE LENGTH vlen

parameters: b1 radiobutton group 1,

select-options s_date for sy-datum.

SELECTION-SCREEN END OF LINE.

Regards,

Sandesh

Reward points

Read only

Former Member
0 Likes
751

select options is not allowing in between the begin of line & end of line

Read only

0 Likes
751

there should not be a problem putting select options in between begin of and end of line....use the following as reference...

selection-screen begin of line.

PARAMETERS: Pr RADIOBUTTON GROUP G2 USER-COMMAND C1 DEFAULT 'X',

Pr1 RADIOBUTTON GROUP G2 .

select-options s1 for sy-datum.

selection-screen end of line.