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
548

What r the extensions for selection screen?

1 ACCEPTED SOLUTION
Read only

Former Member
4 REPLIES 4
Read only

former_member196299
Active Contributor
0 Likes
522

hi ..

here you go with the details ....

SELECTION-SCREEN - screen_elements

Syntax Forms

Empty lines

1. SELECTION-SCREEN SKIP [n] [ldb_additions].

Horizontal rules

2. SELECTION-SCREEN ULINE [[/][pos](len)] [MODIF ID modid]

[ldb_additions].

Output fields

3. SELECTION-SCREEN COMMENT [/][pos](len)

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

[VISIBLE LENGTH vlen]

[MODIF ID modid]

[ldb_additions].

Pushbuttons

4. SELECTION-SCREEN PUSHBUTTON [/][pos](len) button_text

USER-COMMAND ucom

[VISIBLE LENGTH vlen]

[MODIF ID modid]

[ldb_additions].

Rows with multiple elements

5. SELECTION-SCREEN BEGIN OF LINE.

...

[SELECTION-SCREEN POSITION pos [ldb_additions]].

...

SELECTION-SCREEN END OF LINE.

Blocks

6. SELECTION-SCREEN BEGIN OF BLOCK block

[WITH FRAME [TITLE title]]

[NO INTERVALS].

...

SELECTION-SCREEN END OF BLOCK block.

Tabstrips

7. SELECTION-SCREEN BEGIN OF TABBED BLOCK tblock FOR n LINES.

...

SELECTION-SCREEN TAB (len) tab USER-COMMAND ucom

[DEFAULT [PROGRAM prog] SCREEN dynnr].

...

SELECTION-SCREEN END OF BLOCK tblock.

Pushbuttons in the application toolbar

8. SELECTION-SCREEN FUNCTION KEY n [ldb_additions].

Regards,

Ranjita

Read only

Former Member
0 Likes
522

Hi,

The selection screen can be designed either using Select Options or Parameters statement.

Following are details including the basic forms of both the methods with Extensions.

BASIC Form


SELECT-OPTIONS <seltab> FOR <f>.
PARAMETERS <p>[(<length>)] [TYPE <type>|LIKE <obj>] [DECIMALS <d>]. 

Besides the special additions, there are a number of other additions that you can use with the SELECT-OPTIONS statement and that have the same syntax and the same function as for the PARAMETERS statement.

SPA/GPA parameters as default values


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

-


Upper and lower case for selection criteria:


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

-


To make the From field a required field on the selection screen, use:


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

-


To hide input fields on the selection screen, use:


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

-


To modify input fields on the selection screen, use:


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

-


To allow the user to process only the first row of the selection table on the selection screen, you use the following syntax:


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

-


To allow the user to process only single fields on the selection screen, you use the following syntax:


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

-


To assign default values to a selection criterion, you use the following syntax:


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

-


If you define the selection criterion for a column of a database table that supports dynamic selections, the values entered on the selection screen are transferred to the logical database. There, they are treated as dynamic selections


NODES SPFLI.
SELECT-OPTIONS CONN FOR SPFLI-CONNID NO DATABASE SELECTION.

-



PARAMETERS <p> ... VISIBLE LENGTH <len> ... 
PARAMETERS <p> ... MATCHCODE OBJECT <search_help>.

-


Hope this helps you.

PS If the answer solves your query, plz close the thread by rewarding each reply and marking it Solved.

Regards

null

Read only

Former Member
Read only

Former Member
0 Likes
522

hi,

check these ones.

1. SELECTION-SCREEN BEGIN OF LINE.

2. SELECTION-SCREEN END OF LINE.

3. SELECTION-SCREEN SKIP n.

4. SELECTION-SCREEN ULINE.

5. SELECTION-SCREEN POSITION pos.

6. SELECTION-SCREEN COMMENT fmt name.

7. SELECTION-SCREEN PUSHBUTTON fmt name USER-COMMAND ucom.

8. SELECTION-SCREEN BEGIN OF BLOCK block.

9. SELECTION-SCREEN END OF BLOCK block.

10. SELECTION-SCREEN FUNCTION KEY n.

11. SELECTION-SCREEN BEGIN OF VERSION ver TEXT-xxx.

12. SELECTION-SCREEN END OF VERSION ver.

13. SELECTION-SCREEN EXCLUDE ... .

14. SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE dbtab.

15. SELECTION-SCREEN FIELD SELECTION FOR TABLE dbtab.