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
677

Hi Experts,

I want to skip the selection screen while using the SUBMIT command to call a report. Can anybody help me that how I can do this?

Thanks a lot in advance.

7 REPLIES 7
Read only

Former Member
0 Likes
651

Hi

SUBMIT <REPORT> WITH <PARAMETERS FOR SELECTION SCREEN> AND RETURN.

In this way the selection-screen will be skipped automatically, if you need to stop the calling to the selection-screen u need to use the option VIA SELECTION-SCREEN.

Max

Read only

Former Member
0 Likes
651

Use

SUBMIT <report_name> AND SKIP FIRST SCREEN.

rgds

Rajesh

Read only

Former Member
0 Likes
651
SUBMIT REPORT ZTEST WITH SELECTION-TABLE GT_RSPAR AND RETURN.

You can fill the table gt_rspar with the selection screen details of report ZTEST. The table gt_rspar should be declared as an internal table with the structure of RSPARAMS from ABAP dictionary.

Regards

Sathar

Read only

Former Member
0 Likes
651

HI,

Please find the below sample code.

REPORT report1.

DATA text TYPE c LENGTH 10.

SELECTION-SCREEN BEGIN OF SCREEN 1100.

SELECT-OPTIONS: selcrit1 FOR text,

selcrit2 FOR text.

SELECTION-SCREEN END OF SCREEN 1100.

...

Calling program

REPORT report2.

DATA: text TYPE c LENGTH 10,

rspar_tab TYPE TABLE OF rsparams,

rspar_line LIKE LINE OF rspar_tab,

range_tab LIKE RANGE OF text,

range_line LIKE LINE OF range_tab.

...

rspar_line-selname = 'SELCRIT1'.

rspar_line-kind = 'S'.

rspar_line-sign = 'I'.

rspar_line-option = 'EQ'.

rspar_line-low = 'ABAP'.

APPEND rspar_line TO rspar_tab.

range_line-sign = 'E'.

range_line-option = 'EQ'.

range_line-low = 'H'.

APPEND range_line TO range_tab.

range_line-sign = 'E'.

range_line-option = 'EQ'.

range_line-low = 'K'.

APPEND range_line TO range_tab.

SUBMIT report1 USING SELECTION-SCREEN '1100'

WITH SELECTION-TABLE rspar_tab

WITH selcrit2 BETWEEN 'H' AND 'K'

WITH selcrit2 IN range_tab

AND RETURN.

With regards,

Padmaja.

Read only

Former Member
0 Likes
651

Use SUBMIT report_name USING SELECTION-SET 'variant1'.

'variant1' is the name of the variant created in the program.

Regards,

Saurabh

Read only

0 Likes
651

Hey, is your problem solved?

Read only

Former Member
0 Likes
651

Hi,

Take a look at the F1 help on SUBMIT statement.

regards,

Advait