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

Regarding parameters

Former Member
0 Likes
408

Hi

below is the code for getting radio buttons, i am getting these radiobuttons in selectionscreen at the stating of screen, i just want to move these to 10 th column .could you please how to move these radiobutton, i know we have some statement like

parameters para(len)

but i could not solve it , it is giving error,please help me ,

Below is my code.

selection-screen begin of line .

parameters: p_rad1 type c radiobutton group rad.

selection-screen end of line.

selection-screen begin of line .

parameters : p_rad2 type c radiobutton group rad.

selection-screen end of line.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
390

Use SELECTION-SCREEN POSITION <pos>.

Do it like this

SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-b02.

SELECTION-SCREEN BEGIN OF LINE.

*Radiobutton 1

PARAMETER : p_rad1 TYPE c RADIOBUTTON GROUP grp USER-COMMAND usr.

SELECTION-SCREEN COMMENT 5(27) text-s06 FOR FIELD p_rad1.

*Radiobutton 2

SELECTION-SCREEN POSITION 38.

PARAMETER : p_rad2 TYPE c RADIOBUTTON GROUP grp .

SELECTION-SCREEN COMMENT 40(37) text-s07 FOR FIELD p_rad2.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK b4.

Cheers!!

Lokesh

Edited by: Lokesh Aggarwal on Mar 5, 2008 2:18 PM

2 REPLIES 2
Read only

Former Member
0 Likes
391

Use SELECTION-SCREEN POSITION <pos>.

Do it like this

SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-b02.

SELECTION-SCREEN BEGIN OF LINE.

*Radiobutton 1

PARAMETER : p_rad1 TYPE c RADIOBUTTON GROUP grp USER-COMMAND usr.

SELECTION-SCREEN COMMENT 5(27) text-s06 FOR FIELD p_rad1.

*Radiobutton 2

SELECTION-SCREEN POSITION 38.

PARAMETER : p_rad2 TYPE c RADIOBUTTON GROUP grp .

SELECTION-SCREEN COMMENT 40(37) text-s07 FOR FIELD p_rad2.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK b4.

Cheers!!

Lokesh

Edited by: Lokesh Aggarwal on Mar 5, 2008 2:18 PM

Read only

0 Likes
390

Hi lokesh,

Thankyou a lot.

i have alloted you maximum, thanks

regards,

vinesh.