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
816

hi can u guys plss give me some tips on the various options available with selection-screen.

9 REPLIES 9
Read only

Former Member
0 Likes
784
Read only

0 Likes
784
Read only

Former Member
0 Likes
784

hi,

you can do onething.. goto the TCode - <u>abapdocu</u>

then in the tree structure click on ABAP User dialogs --- then selection-screen

you will find all the various options available in selection-screen.

regards,

pankaj singh

    • reward with points if you my suggestion helpful

Read only

Former Member
0 Likes
784

Hi,

Go through the SAP documentation:

few cases here:

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

PARAMETERS: p_sysid LIKE ycomr-sysid.

SELECT-OPTIONS: s_user FOR usr02-bname,

s_profi FOR yprot-profi MATCHCODE OBJECT

profiles_all_active,

s_typ FOR yprot-ptype NO INTERVALS NO-EXTENSION.

SELECTION-SCREEN END OF BLOCK b1.

*--- Radiobuttons

PARAMETERS: p_up RADIOBUTTON GROUP a DEFAULT 'X' USER-COMMAND rb,

p_list RADIOBUTTON GROUP a.

PARAMETERS: p_pcfile LIKE rlgrap-filename OBLIGATORY DEFAULT 'C:\'

MODIF ID ccc,

p_pctype LIKE rlgrap-filetype OBLIGATORY DEFAULT 'ASC'

MODIF ID ccc,

p_unix LIKE rlgrap-filename OBLIGATORY DEFAULT '.\'

MODIF ID ccc.

PARAMETERS: p_dir LIKE rlgrap-filename OBLIGATORY DEFAULT '.'

MODIF ID ddd,

p_fp LIKE rlgrap-filename

MODIF ID ddd.

regards,

Anji

Read only

former_member404244
Active Contributor
0 Likes
784

Hi,

basically options for selection screen.

AT SELECTION-SCREEN.

AT SELECTION-SCREEN ON VALUE-REQUEST.

AT SELECTION-SCREEN ON FIELD.

AT SELECTION-SCREEN OUTPUT.

Regards,

nagaraj

Read only

Former Member
0 Likes
784

Hi,

Check the following link:

http://www.sapbrain.com/ARTICLES/TECHNICAL/ABAP/AT%20SELECTION-SCREEN%20Command.html

Hope this helps.

Reward if helpful.

Regards,

Sipra

Read only

Former Member
0 Likes
784

hi just see this

SELECT-OPTIONS <seltab> FOR <f> DEFAULT <g> [TO <h>]

....

SELECT-OPTIONS <seltab> FOR <f> ... NO-EXTENSION .....

SELECT-OPTIONS <seltab> FOR <f> ... NO INTERVALS .....

SELECT-OPTIONS <seltab> FOR <f> .. NO DATABASE

SELECTION……..

SELECT-OPTIONS <seltab> FOR <f> ... NO-DISPLAY ..............

SELECT-OPTIONS <seltab> FOR <f> ... LOWER CASE ..............

SELECT-OPTIONS <seltab> FOR <f> ... OBLIGATORY ..............

SELECT-OPTIONS <seltab> FOR <f> ... MEMORY ID

<pid>..........

SELECT-OPTIONS <seltab> FOR <f> ... MODIF ID <key>...........

SELECT-OPTIONS <seltab> FOR <f> ... MATCHCODE OBJECT

<obj>...

In the SELECT-OPTIONS statement of this example, the

selection table AIRLINE is attached to the CARRIED column

of the database table SPFLI. The WHERE clause of the

SELECT statement causes the system to check if the

contents of the CARRIED column meet the selection criteria

stored in AIRLINE.

Assume that the report user enters two lines in the selection

table, namely an interval selection and a single value

selection, as follows :

SIGN OPTION LOW HIGH

I BT DL UA

E EQ LH

Then, the report output appears as follows :

DL DL SQ UA UA UA

Assume that the report user enters two lines in the selection

table, namely an interval selection and a single value

selection, as follows :

SIGN OPTION LOW HIGH

I BT DL UA

E EQ LH

Then, the report output appears as follows :

Inside Outside

AA

DL

LH

SQ

UA

Underlines

To underline a line or part of a line on the selection screen,

use the ULINE option with the SELECTION-SCREEN

statement.

Syntax

SELECTION-SCREEN ULINE [[/]<pos(len)>] [MODIF ID

<key>].

Comments

To write text on the selection screen, use the COMMENT

option with the SELECTION-SCREEN statement. The

syntax is as follows:

Syntax

SELECTION-SCREEN COMMENT [/]<pos(len)> <name>

[MODIF ID <key>].

Placing Several Elements On a Single Line

To position a set of parameters or comments on a single

line on the selection screen, you must declare the elements

in a block enclosed by the following two statements:

Syntax

SELECTION-SCREEN BEGIN OF LINE.

...

SELECTION-SCREEN END OF LINE.

Note that the selection text (name of the parameter or text

element) is not displayed when you use this option. To

display a selection text you must use SELECTION-SCREEN

statement with the COMMENT option.

Note : Do not use a slash with the format option <pos(len)

SELECTION SCREEN PUSHBUTTON [/]<pos(len)> <name>

USER-COMMAND <ucom> [MODIF ID <key>].

The parameters [/]<pos(len)>, <name>, and the MODIF ID

option are the same as described for the COMMENT option in

Comments.

The text specified in <name> is the push button text.

For <ucom>, you must specify a code of up to four

characters.

You must declare SSCRFIELDS by using a TABLES

statement.

<b><b>REWARD IF USEFULLLLL</b></b>

Read only

Former Member
Read only

Former Member
0 Likes
784

hi sushant das,

On Selection screens

have a look on this link ,Provided by SAP.

<a href="http://help.sap.com/saphelp_erp2004/helpdata/en/e4/2adbec449911d1949c0000e8353423/frameset.htm">http://help.sap.com/saphelp_erp2004/helpdata/en/e4/2adbec449911d1949c0000e8353423/frameset.htm</a>

Hope This will Be Helpful to you,

With Regards,

Satish Akkina