Application Development 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: 

Selection Screen.

Former Member
0 Kudos
99

Hello all,

I was wondering is there a way to change the layout of the selection screen.

For eg - when i use 2 parameters in my screen, they are displayed one below the other, but if i want them to display one beside the other can i do it.

Thanks,

Madhu.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
66

Please use

<b>SELECTION BEGIN OF LINE</b>

Please refer sample code

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: rb_pa TYPE c RADIOBUTTON GROUP a.

SELECTION-SCREEN COMMENT 5(18) text-005 FOR FIELD p_pa.

PARAMETERS: p_pa TYPE zzportanlst.

SELECTION-SCREEN END OF LINE.

6 REPLIES 6

surya_gupta3
Explorer
0 Kudos
66

USE SELECTION-SCREEN BEGIN OF LINE.

Former Member
0 Kudos
67

Please use

<b>SELECTION BEGIN OF LINE</b>

Please refer sample code

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: rb_pa TYPE c RADIOBUTTON GROUP a.

SELECTION-SCREEN COMMENT 5(18) text-005 FOR FIELD p_pa.

PARAMETERS: p_pa TYPE zzportanlst.

SELECTION-SCREEN END OF LINE.

Former Member
0 Kudos
66

Hi,

Refer sample code below:

SELECTION-SCREEN FUNCTION KEY 2.

SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: rb_anl TYPE c RADIOBUTTON GROUP a USER-COMMAND usr

DEFAULT 'X'.

SELECTION-SCREEN COMMENT 5(18) text-003 FOR FIELD p_anlage.

PARAMETERS: p_anlage TYPE anlage.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: rb_aa TYPE c RADIOBUTTON GROUP a.

SELECTION-SCREEN COMMENT 5(18) text-004 FOR FIELD p_aa.

PARAMETERS: p_aa TYPE zzactanlst.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: rb_pa TYPE c RADIOBUTTON GROUP a.

SELECTION-SCREEN COMMENT 5(18) text-005 FOR FIELD p_pa.

PARAMETERS: p_pa TYPE zzportanlst.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: rb_mprn TYPE c RADIOBUTTON GROUP a.

SELECTION-SCREEN COMMENT 5(18) text-006 FOR FIELD p_mprn.

PARAMETERS: p_mprn TYPE zzmprn MATCHCODE OBJECT zs_mprn.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: rb_team TYPE c RADIOBUTTON GROUP a.

SELECTION-SCREEN COMMENT 5(18) text-007 FOR FIELD p_team.

PARAMETERS: p_team TYPE zteam.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN : END OF BLOCK b1.

Reward points if this Helps.

Manish

Former Member
0 Kudos
66

Something like:


SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 4(30) text-013.
SELECTION-SCREEN POSITION  35.
PARAMETERS:      low_year   LIKE  fmifiit-gjahr.        
SELECTION-SCREEN COMMENT 53(06) text-015.
SELECTION-SCREEN POSITION  60.
PARAMETERS:      low_per    LIKE  fmifiit-perio
                                  DEFAULT '1'.
SELECTION-SCREEN END OF LINE.

Rob

Former Member
0 Kudos
66

Use this Help

SELECTION-SCREEN POSITION pos.

Effect

The next object on the current line (parameter, comment, pushbutton or underline) is positioned at pos.

You may only use this variant between SELECTION-SCREEN BEGIN OF LINE und SELECTION-SCREEN END OF LINE.

You can specify the position pos as a number (relative to the box) if you use the statement between the SELECTION-SCREEN BEGIN OF BLOCK ... WITH FRAME ... and SELECTION-SCREEN END OF BLOCK ... statements. You can also use the symbolic positions POS_LOW and POS_HIGH. These are the positions on the screen at which the system places the input fields for SELECT-OPTIONS. (POS_LOW is also the screen position for PARAMETERS).

Rewards If Helpful

Viky

Former Member
0 Kudos
66

Hi,

We have few options in changing the layout of the screen.

Please see the F1 help on <b>selection-screen</b>

Regards,