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
883

how to set the position on selection screen checkbox ,

radiobutton , ...

i want these at 20th position

Regards,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
850

Something along these lines


SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN POSITION 20.
PARAMETERS: p_rb1 RADIOBUTTON GROUP rad DEFAULT 'X'.
SELECTION-SCREEN: COMMENT 25(20) text-m13.
SELECTION-SCREEN: END OF LINE.

Edited by: Paul Chapman on Jun 26, 2008 8:22 AM

8 REPLIES 8
Read only

Former Member
0 Likes
851

Something along these lines


SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN POSITION 20.
PARAMETERS: p_rb1 RADIOBUTTON GROUP rad DEFAULT 'X'.
SELECTION-SCREEN: COMMENT 25(20) text-m13.
SELECTION-SCREEN: END OF LINE.

Edited by: Paul Chapman on Jun 26, 2008 8:22 AM

Read only

Former Member
0 Likes
850

use this..

SELECTION-SCREEN BEGIN OF LINE.

Parameters: p_name like sy-uname.

SELECTION-SCREEN position 20.

SELECTION-SCREEN COMMENT 2(70) text-001.

SELECTION-SCREEN END OF LINE.

Read only

Former Member
0 Likes
850

Use Selection screen comment .Refer below code:

*Selection screen
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.

PARAMETERS:p_ARBPL type RC65D-ARBPL.                    "Work center
PARAMETERS:p_KAPAR type RC65D-KAPAR.                    "Capacity Category
PARAMETERS:p_werks type RC65D-werks obligatory.         "Plant

selection-screen begin of line.
selection-screen comment 1(31) Date for field p_ZAVON.
PARAMETERS:p_ZAVON type RC65A-ZAVON.         "Start date for output of capacity evaluations

selection-screen comment 47(5) To.
PARAMETERS:p_ZABIS type RC65A-ZABIS.         "Finish date for output of capacity evaluations
selection-screen end of line.
SELECTION-SCREEN END OF BLOCK b1.

AT SELECTION-SCREEN OUTPUT.
To = 'To'.
Date = 'Date'.

Read only

Former Member
0 Likes
850

hiiiii

you can use like follows

SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN position 25.
PARAMETERS p_rad1 TYPE c RADIOBUTTON GROUP gr  DEFAULT 'X' USER-COMMAND usr .
SELECTION-SCREEN COMMENT 3(16) text-005.
SELECTION-SCREEN END OF LINE.

regards

twinkal

Read only

Former Member
0 Likes
850

Hi Vinayaka,

You go for the following.

In selection screen options we have a option where we can set the position.

Just look into that.

it might be something like this:

selection-screen position <pos>.

set the position using <pos>, this can be any number.

then declare a parameter.

Hope this helps you.

Regards,

Chandra Sekhar

Read only

Former Member
0 Likes
850

Hi,

Follow this code your problem will be solved.

SELECTION-SCREEN: BEGIN OF LINE.

SELECTION-SCREEN POSITION 20.

PARAMETERS: RB1 RADIOBUTTON GROUP G1 DEFAULT 'X'.

SELECTION-SCREEN POSITION 30.

PARAMETERS: RB2 RADIOBUTTON GROUP G1 .

SELECTION-SCREEN: COMMENT 25(20) text-m13.

SELECTION-SCREEN: END OF LINE.

I hope this will help you out.

Read only

Former Member
0 Likes
850

thanku all

Read only

Former Member
0 Likes
850

If you got the answer for your query please reward points.People are not wasting time for you.