ABAP Keyword Documentation → ABAP - Short Reference
SUBMIT - Short Reference
Other versions: 7.31 | 7.40 | 7.54
Syntax
SUBMIT {rep|(name)}
[USING SELECTION-SCREEN dynnr]
[VIA SELECTION-SCREEN]
[USING SELECTION-SET variant]
[USING SELECTION-SETS OF PROGRAM prog]
[WITH SELECTION-TABLE rspar]
{ [WITH sel1 { {{EQ|NE|CP|NP|GE|LT|LE|GT} dobj [SIGN sign]}
| {[NOT] BETWEEN dobj1 AND dobj2 [SIGN sign]}
| {IN rtab} }]
[WITH sel2 { {{EQ|NE|CP|NP|GE|LT|LE|GT} dobj [SIGN sign]}
| {[NOT] BETWEEN dobj1 AND dobj2 [SIGN sign]}
| {IN rtab} }]
... }
[WITH FREE SELECTIONS texpr]
[LINE-SIZE width]
[LINE-COUNT page_lines]
{ [EXPORTING LIST TO MEMORY]
| [TO SAP-SPOOL SPOOL PARAMETERS pri_params
[ARCHIVE PARAMETERS arc_params]
WITHOUT SPOOL DYNPRO] }
[[USER user] VIA JOB job NUMBER n]
[AND RETURN].
Effect
Calls an executable program.
Additions
-
{rep|(name)}
Specifies the program statically asrep
or dynamically inname
. -
USING SELECTION-SCREEN dynnr
Specifies the selection screendynnr
to be accessed. If you do not make an entry, the system calls the standard selection screen. -
VIA SELECTION-SCREEN
Displays the selection screen called. If you do not make an entry, selection screen processing takes place in the background. -
USING SELECTION-SET variant
Supplies the selection screen with values for a variantvariant
. -
USING SELECTION-SETS OF PROGRAM prog
Specifies a programprog
whose variants are used. -
WITH SELECTION-TABLE rspar
Supplies the selection screen with values from an internal tablerspar
of the row type RSPARAMS or RSPARAMS_255. -
WITH sel1 ... WITH sel2 ...
Supplies individual parameters and selection criteriasel1
,sel2
, ... on the selection screen:
{EQ|NE|CP|NP|GE|LT|LE|GT} dobj [SIGN sign]
- Transfers a single valuedobj
with relational operators and a specification for the SIGN column in the selection table.
[NOT] BETWEEN dobj1 AND dobj2 [SIGN sign]
- Transfers an interval from dobj1 todobj2
with an optional operatorNOT
and a specification for the SIGN column in the selection table.
IN rtab
- Transfers a ranges tablertab
. -
WITH FREE SELECTIONS texpr
Supplies the dynamic selection for the selection screen on a logical database with values from an internal tabletexpr
of type RSDS_TEXPR from type group RSDS. -
LINE-SIZE width
Sets the line width in the basic list for the program accessed towidth
characters. -
LINE-COUNT page_lines
Sets the page length in the basic list for the program accessed topage_lines
lines. -
EXPORTING LIST TO MEMORY
Stores the basic list for the program accessed as an internal table of the row type ABAPLIST in the ABAP Memory. Can only be used together withAND RETURN
. -
TO SAP-SPOOL
Creates a spool request for the basic list in the program accessed with the following parameters:
SPOOL PARAMETERS pri_params
- Print parameters in a structurepri_params
of the type PRI_PARAMS.
ARCHIVE PARAMETERS arc_params
- Archiving parameters in a structurearc_params
of the type ARC_PARAMS.
WITHOUT SPOOL DYNPRO
- Suppresses the print dialog box. -
[USER user] VIA JOB job NUMBER n
Schedules execution of the program accessed as a background task with the numbern
in the background requestjob
. Can only be used together withAND RETURN
. You can specify a user name for the background task inuser
. -
AND RETURN
Once program access is completed, program execution is continued after theSUBMIT
statement. Otherwise, the calling program is terminated.