TBTCM SAP (Run-time information on batch job) Structure details
Description: Run-time information on batch job
Structure field list including key, data, relationships and ABAP select examples
TBTCM 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 "Run-time information on batch job" 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_TBTCM TYPE TBTCM.
The TBTCM table consists of various fields, each holding specific information or linking keys about Run-time information on batch job data available in SAP. These include JOBCOUNT (Job ID), JOBGROUP (Summary of jobs for a group), INTREPORT (Name of internal report for batch job), SDLUNAME (Initiator of job/step scheduling).. 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 TBTCM 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 |
JOBNAME | Background job name | BTCJOB | CHAR | 32 | CHAR32 | ||||
JOBCOUNT | Job ID | BTCJOBCNT | CHAR | 8 | CHAR8 | ||||
JOBGROUP | Summary of jobs for a group | BTCJOBGRP | CHAR | 12 | CHAR12 | ||||
INTREPORT | Name of internal report for batch job | BTCREP | CHAR | 40 | PROGNAME | ||||
SDLUNAME | Initiator of job/step scheduling | BTCSDLNM | CHAR | 12 | CHAR12 | ||||
AUTHCKNAM | Background User Name for Authorization Check | BTCAUTHNAM | CHAR | 12 | CHAR12 | ||||
AUTHCKMAN | Background client for authorization check | BTCAUTHMAN | CLNT | 3 | Assigned to domain | MANDT | |||
SUCCNUM | Number of successor job(s) | BTCSNUM | INT4 | 10 | |||||
DELANFREP | Job deletion indicator after processing | BTCDELFLAG | CHAR | 1 | CHAR1 | ||||
SDLFLAG | Batch scheduler ID | BTCSDLFLAG | CHAR | 1 | CHAR1 | ||||
STEPCOUNT | Job step ID number. | BTCSTEPCNT | INT4 | 10 | |||||
XPGACTIVE | Flag for step executed by external program | BTCXPGFLAG | CHAR | 1 | CHAR1 | ||||
JOBLOG | TemSe object name | RSTSONAME | CHAR | 20 | CHAR20 | ||||
EVENTID | Background Processing Event | BTCEVENTID | CHAR | 32 | CHAR32 | ||||
EVENTPARM | Background Event Parameters (Such as, Jobname/Jobcount) | BTCEVTPARM | CHAR | 64 | TEXT64 | ||||
JOBCLASS | Job classification | BTCJOBCLAS | CHAR | 1 | CHAR1 | ||||
PRIORITY | Job priority | BTCJOBPRIO | INT4 | 10 | |||||
STATUS | State of Background Job | BTCSTATUS | CHAR | 1 | CHAR1 | ||||
XPGTERMCTL | Control flag for external program (e.g. trace level) | BTCXPGCNTL | CHAR | 1 | CHAR1 | ||||
STEPFLAG | Flag indicates start of new job step | BTCSTPFLAG | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP structure TBTCM using ABAP code?
As TBTCM 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 TBTCM as there is no data to select.How to access SAP table TBTCM
Within an ECC or HANA version of SAP you can also view further information about TBTCM and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects