ABAP Keyword Documentation → ABAP - Quick Reference
SUBMIT - Quick 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 [LANGUAGE lang]]
[AND RETURN].
Effect
Calls an executable program.
Additions
-
{rep|(name)}
Specifies the program statically asrepor dynamically inname. -
USING SELECTION-SCREEN dynnr
Specifies the selection screendynnrto be accessed. If nothing is specified, the standard selection screen is called. -
VIA SELECTION-SCREEN
Displays the selection screen called. If nothing is specified, selection screen processing takes place in the background. -
USING SELECTION-SET variant
Supplies the selection screen with values for a selection screen variantvariant. -
USING SELECTION-SETS OF PROGRAM prog
Specifies a programprogwhose selection screen variants are used. -
WITH SELECTION-TABLE rspar
Supplies the selection screen with values from an internal tablersparof 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]- Passes a single valuedobjwith relational operators and a specification for the SIGN column in the selection table.
[NOT] BETWEEN dobj1 AND dobj2 [SIGN sign]- Passes an interval fromdobj1todobj2with an optional operatorNOTand a specification for the SIGN column in the selection table.
IN range_tab- Passes a ranges tablerange_tab. -
WITH FREE SELECTIONS texpr
Supplies the dynamic selection for the selection screen on a logical database with values from an internal tabletexprof type RSDS_TEXPR from type group RSDS. -
LINE-SIZE width
Defines the line width in the basic list for the program accessed towidthcharacters. -
LINE-COUNT page_lines
Defines the page length in the basic list for the program accessed topage_lineslines. -
EXPORTING LIST TO MEMORY
Saves 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- Spool parameters in a structurepri_paramsof the type PRI_PARAMS.
ARCHIVE PARAMETERS arc_params- Archiving parameters in a structurearc_paramsof the type ARC_PARAMS.
WITHOUT SPOOL DYNPRO- Suppresses the spool dialog box. -
[USER user] VIA JOB job NUMBER n [LANGUAGE lang]
Schedules execution of the program accessed as a background task with the numbernin the background requestjob. Can only be used together withAND RETURN.usercan be used to specify a user name, andlangto specify the logon language of the background session. -
AND RETURN
Once the program call is finished, resumes execution of the program execution is continued after the statementSUBMIT. Otherwise, the calling program is terminated.