SAP Function RS_SUBMIT_INFO - Gives information about the mode of the current SUBMIT

Parameter Reference Type Length Text
P_SUBMIT_INFO RSSUBINFO u 16 Information according to RSSUBINFO about SUBMIT

Functionality
Returns details about the mode during processing of the selectionscreen. The most important information here is that stored in thefields MODE_NORML, MODE_VARI and MODE_JOB. One of these fields isflagged with 'X', while the others both contain SPACE. The selectedfield contains the selection screen processing mode: 'normal' (i.e.normal starting of report), 'variant maintenance' (i.e. selectionscreen is processed for value entry during variant maintenance) or 'jobscheduling' (i.e. the selection screen is processed for selection entryfor job scheduling).
This information is required by every program that uses one of thefunction modules RS_SET_SELSCREEN_STATUS orRS_EXTERNAL_SELSCREEN_STATUS to set your own status on the selectionscreen. You can thus prevent unwanted user commands like Executebeing permitted during variant maintenance.

Description
The individual sub-fields have the following meaning:
MODE_NORML: Normal SUBMIT.
MODE_VARI: Variant maintenance selection screen is processed.
MODE_JOB: SUBMIT ... VIA JOB: Background job scheduling selectionscreen is processed.
VIA_SELSCR: Program was started with SUBMIT ... VIA SELECTION-SCREEN,i.e. with selection screen processed in the foreground.
SELPARNAME: Contains the name of the parameter or select option withactions that refer to such a single object (e.g. select furtherselection screen).