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

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Use

SUBMIT <report_name> AND SKIP FIRST SCREEN.

rgds

Rajesh

Former Member
0 Kudos
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

Former Member
0 Kudos

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.

Former Member
0 Kudos

Use SUBMIT report_name USING SELECTION-SET 'variant1'.

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

Regards,

Saurabh

0 Kudos

Hey, is your problem solved?

Former Member
0 Kudos

Hi,

Take a look at the F1 help on SUBMIT statement.

regards,

Advait