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: 

submit "and skip first screen"

Former Member
0 Kudos

hello!

is there an option for submit-command like "and skip first screen" for call transaction?

i would like to start a programm without displaying the selection screen (parameters are provided by submit with ...).

the parameters of the new programm aren't set/get parameters (sap-standard-pgm) therefore call transaction won't work.

thanks

matthias

1 ACCEPTED SOLUTION

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

See this F1 Help for submit

Additions:

... VIA SELECTION-SCREEN

Effect

The selection screen is displayed. In this case, the selection screen is displayed again after the report list has been displayed. The values entered by the user remain displayed.

6 REPLIES 6

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

See this F1 Help for submit

Additions:

... VIA SELECTION-SCREEN

Effect

The selection screen is displayed. In this case, the selection screen is displayed again after the report list has been displayed. The values entered by the user remain displayed.

Former Member
0 Kudos

Hi,

In ur question itself u have given a solution

1. Combination of variant and WITH

DATA: RANGE_LANGU TYPE RANGE OF SY-LANGU,

RANGE_LANGU_WA LIKE lINE OF RANGE_LANGU.

PARAMETERS: MSG_FR LIKE T100-MSGNR,

MSG_TO LIKE T100-MSGNR.

MOVE: 'I' TO RANGE_LANGU_WA-SIGN,

'BT' TO RANGE_LANGU_WA-OPTION,

'D' TO RANGE_LANGU_WA-LOW,

'I' TO RANGE_LANGU_WA-HIGH.

APPEND RANGE_LANGU_WA TO RANGE_LANGU.

MOVE: 'EQ' TO RANGE_LANGU_WA-OPTION,

'E' TO RANGE_LANGU_WA-LOW.

APPEND RANGE_LANGU_WA TO RANGE_LANGU.

<b>SUBMIT REPORT00

USING SELECTION-SET 'VARIANT1'

WITH MSG BETWEEN MSG_FR AND MSG_TO

WITH LANGU IN RANGE_LANGU.</b>

In REPORT00, all parameters and SELECT-OPTIONS take their values from the variant VARIANT1.Only MSG and LANGU take the values that are explicitly passed.

Examples

2. Combination of variant, WITH SELECTION-TABLE, and explicit WITH clauses.

DATA: SELTAB TYPE TABLE OF RSPARAMS,

SELTAB_WA LIKE LINE OF SELTAB.

MOVE: 'LANGU' TO SELTAB_WA-SELNAME,

'S' TO SELTAB_WA-KIND, " SELECT-OPTION

'I' TO SELTAB_WA-SIGN,

'BT' TO SELTAB_WA-OPTION,

'D' TO SELTAB_WA-LOW,

'I' TO SELTAB_WA-HIGH.

APPEND SELTAB_WA TO SELTAB.

MOVE: 'E' TO SELTAB_WA-SIGN,

'EQ' TO SELTAB_WA-OPTION,

'F' TO SELTAB_WA-LOW,

SPACE TO SELTAB_WA-HIGH.

APPEND SELTAB_WA TO SELTAB.

CLEAR SELTAB_WA.

MOVE: 'ARBGB' TO SELTAB_WA-SELNAME,

'P' TO SELTAB_WA-KIND, " PARAMETER

'XX' TO SELTAB_WA-LOW.

APPEND SELTAB_WA TO SELTAB.

<b>SUBMIT REPORT00

USING SELECTION-SET 'VARIANT1'

WITH ARBGB CP 'A*'

WITH SELECTION-TABLE SELTAB

AND RETURN.</b>

In REPORT00, all parameters and SELECT-OPTIONS take their contents from the variant VARIANT1except LANGU, which takes its contents from SELTAB, and ARBGB, which takes the value that was explicitly passed.

I got this from ABAP help.

Hope this helps.

Thanks & Regards,

Judith.

Former Member
0 Kudos

well - thanks for your answers so far.

i know how to pass parameters by parameter "with ...". what i do not know is how to suppress the selection screen. the parameters in the selection screen are filled correctly but i want to suppress its display.

0 Kudos

Hi,

Just now i have tried

**Submit report using selection screen variant

<b>SUBMIT ZZZTEST_2 USING SELECTION-SET 'TEST' AND RETURN.</b>

TEST - variant name used in the program that i am submitting.

If u specify <b>and return</b> the control will come back and execute the next line in the report.

It is giving the output directly without showing the selection screen.

If u r pressing back also it is not showing the selction screen.

Try this out.Hope i have solved ur query.

Thanks & Regards,

Judith.

Hi Matthias

Simply if you do not use "VIA SELECTION SCREEN" addition, SUBMIT statement should suppress the selection screen. This may depend on the program you are submitting, however.

Regards

*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

kaushalya
Active Participant
0 Kudos

Do not use VIA SELECTION-SCREEN addition.

Also if you specify all mandatory selection variables in WITH SELECTION-TABLE rspar addition and it will automatically suppress the selection screen.