MSSSCHJOBS SAP (List of sql agent jobs scheduled for the next X days) Structure details

Dictionary Type: Structure
Description: List of sql agent jobs scheduled for the next X days




ABAP Code to SELECT data from MSSSCHJOBS
Related tables to MSSSCHJOBS
Access table MSSSCHJOBS




Structure field list including key, data, relationships and ABAP select examples

MSSSCHJOBS is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "List of sql agent jobs scheduled for the next X days" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_MSSSCHJOBS TYPE MSSSCHJOBS.

The MSSSCHJOBS table consists of various fields, each holding specific information or linking keys about List of sql agent jobs scheduled for the next X days data available in SAP. These include NEXTRUNDT (Sql agent job - Next run Date), NEXTRUNTM (SQL Agent Job's Next Run Time), LASTRUNDUR (MS SQL server - time taken for the previous exec of the job), LSTRUNSTUS (MS SQL server - status of the previous exec. job step.).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP MSSSCHJOBS structure fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
JOB_NAMEMS SQl server - name of the job MSQJOBNAMECHAR100CHAR100
NEXTRUNDTSql agent job - Next run Date MSSNXRNDTDATS8
NEXTRUNTMSQL Agent Job's Next Run Time MSSNXRNTMTIMS6
LASTRUNDURMS SQL server - time taken for the previous exec of the job MSQLSTRUDUINT410INT4
LSTRUNSTUSMS SQL server - status of the previous exec. job step. MSQLSTRUSTINT410INT4
STATUSDESCSql Agent Job status description MSSSTADESCCHAR25
SCHEDESCSql Agent Job scheule Information MSSSCHDESCCHAR25
JOB_CLASSSql Agent Job class(type) MSSJBCLASSCHAR25
LSTRUNDATESql agent job - Last run Date MSSLSTRNDTDATS8
LSTRUNTIMEAgent job's last run time MSSLSTRNTMTIMS6
JOB_DESCMS SQL server - description of the job MSQJOBDESCCHAR255
JOBCOMMANDMS SQL server - command executed by the subsytem MSQJOBCMDCHAR520CHAR520
JOB_OWNERDatabase user name/ Owner of sql agent job MSQUNAMECHAR30CHAR30
DBNAMEDatabase name MSSDBCHAR128MSSSYSNAME
ENABLEDMS SQL server - job enable status for execution MSQJOBENAINT25INT2
JOB_IDMS SQL Server job ID MSQJOBIDRAW16MSQHEX16

Key field Non-key field



How do I retrieve data from SAP structure MSSSCHJOBS using ABAP code?

As MSSSCHJOBS is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on MSSSCHJOBS as there is no data to select.

How to access SAP table MSSSCHJOBS

Within an ECC or HANA version of SAP you can also view further information about MSSSCHJOBS and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!