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

userdefined selection screen

Former Member
0 Likes
498

how to create user defined selection screen

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
469

Using the command selection-screen begin of screen.

SELECTION-SCREEN BEGIN OF SCREEN 1100.

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

PARAMETERS: p1(10) TYPE c,

p2(10) TYPE c,

p3(10) TYPE c.

SELECTION-SCREEN END OF BLOCK b1.

SELECTION-SCREEN END OF SCREEN 1100.

SELECTION-SCREEN BEGIN OF SCREEN 1200.

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-020.

PARAMETERS: q1(10) TYPE c OBLIGATORY,

q2(10) TYPE c OBLIGATORY,

q3(10) TYPE c OBLIGATORY.

SELECTION-SCREEN END OF BLOCK b2.

SELECTION-SCREEN END OF SCREEN 1200.

START-OF-SELECTION.

CALL SCREEN 1100.

Cheers

VJ

4 REPLIES 4
Read only

Former Member
0 Likes
469

use the following -

SELECTION-SCREEN BEGIN OF SCREEN scr.

Enter the selection screen parameters

SELECTION-SCREEN END OF SCREEN scr.

Reward points if found useful...!

Cheers

Abhishek

Read only

Former Member
0 Likes
470

Using the command selection-screen begin of screen.

SELECTION-SCREEN BEGIN OF SCREEN 1100.

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

PARAMETERS: p1(10) TYPE c,

p2(10) TYPE c,

p3(10) TYPE c.

SELECTION-SCREEN END OF BLOCK b1.

SELECTION-SCREEN END OF SCREEN 1100.

SELECTION-SCREEN BEGIN OF SCREEN 1200.

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-020.

PARAMETERS: q1(10) TYPE c OBLIGATORY,

q2(10) TYPE c OBLIGATORY,

q3(10) TYPE c OBLIGATORY.

SELECTION-SCREEN END OF BLOCK b2.

SELECTION-SCREEN END OF SCREEN 1200.

START-OF-SELECTION.

CALL SCREEN 1100.

Cheers

VJ

Read only

rahulkavuri
Active Contributor
0 Likes
469

hi for every report user can have his own selection screen

We generally have a selection screen like this

************************************************************************

  • Selection-Screen *

************************************************************************

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.

SELECT-OPTIONS: S_LIFNR FOR LFA1-LIFNR, "ACCOUNT NUMBER

S_BUKRS FOR LFB1-BUKRS, "COMPANY CODE

S_EKORG FOR LFM1-EKORG, "PURCHASING ORG

S_KTOKK FOR LFA1-KTOKK. "ACCOUNT GROUP

SELECTION-SCREEN END OF BLOCK B1.

SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.

PARAMETERS: LIST RADIOBUTTON GROUP G1, "ALV LIST DISPLAY

GRID RADIOBUTTON GROUP G1. "ALV GRID DISPLAY

SELECTION-SCREEN END OF BLOCK B2.

Read only

Former Member
0 Likes
469

Hi,

Use

selection-screen: begin of screen 100.

selection-screen: begin of block blk1 with frame title text-01.

parameters: p_xxxx...............

select-options: s_mmmm for ...........

selection-screen: end of block blk1.

selection-screen: end of screen 100.

Anywhere in your start-of-selection, write:

call screen 100 starting at x1 y1 ending at x2 y2.

Hope this helps.

Regards

Subramanian