TBTCP SAP (Background Job Step Overview) Table details
Dictionary Type: Table
Description: Background Job Step Overview
Description: Background Job Step Overview
Table field list including key, data, relationships and ABAP select examples
TBTCP is a standard SAP Table which is used to store Background Job Step Overview data and is available within R/3 SAP systems depending on the version and release level.
The TBTCP table consists of various fields, each holding specific information or linking keys about Background Job Step Overview data available in SAP. These include JOBCOUNT (Job ID), STEPCOUNT (Job step ID number.), PROGNAME (Program name within a step (e.g. report)), PROGFROMLN (Line number in an internal report.).. 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: L - Table for storing temporary data, is delivered emptyDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP TBTCP table 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 | ||||
STEPCOUNT | Job step ID number. | BTCSTEPCNT | INT4 | 10 | |||||
PROGNAME | Program name within a step (e.g. report) | BTCPROG | CHAR | 40 | PROGNAME | ||||
PROGFROMLN | Line number in an internal report. | BTCSRCLINE | INT4 | 10 | |||||
PROGTOLN | Line number in an internal report. | BTCSRCLINE | INT4 | 10 | |||||
SDLDATE | Date of job/step scheduling | BTCSDLDATE | DATS | 8 | SYDATS | ||||
SDLTIME | Time of a scheduled job/step | BTCSDLTIME | TIMS | 6 | SYTIME | ||||
SDLUNAME | Initiator of job/step scheduling | BTCSDLNM | CHAR | 12 | CHAR12 | ||||
VARIANT | Name of variant within a step | BTCVARIANT | CHAR | 14 | CHAR14 | ||||
AUTHCKNAM | Background User Name for Authorization Check | BTCAUTHNAM | CHAR | 12 | CHAR12 | ||||
LISTIDENT | ID of batch job output list in the spool | BTCLISTID | NUMC | 10 | SYSPONO | ||||
XPGPID | ID of external program | BTCXPGPID | CHAR | 10 | CHAR10 | ||||
XPGTGTSYS | Target System to Run Background Job | BTCTGTSYS | CHAR | 32 | TEXT32 | ||||
XPGRFCDEST | Logical Destination (Specified in Function Call) | RFCDEST | CHAR | 32 | Assigned to domain | RFCDEST | RFC | F4_RFCDESTYPEALL | |
XPGPROG | Name of external program (possibly with access path) | BTCXPGPGM | CHAR | 128 | TEXT128 | ||||
XPGPARAMS | Parameters of external program (string) | BTCXPGPAR | CHAR | 255 | TEXT255 | ||||
XPGFLAG | Identification of step as ABAP, ext. command or program | BTCSTEPTYP | CHAR | 1 | CHAR1 | ||||
CONNCNTL | Control flag for external program (e.g. trace level) | BTCXPGCNTL | CHAR | 1 | CHAR1 | ||||
STDINCNTL | Control flag for external program (e.g. trace level) | BTCXPGCNTL | CHAR | 1 | CHAR1 | ||||
STDOUTCNTL | Control flag for external program (e.g. trace level) | BTCXPGCNTL | CHAR | 1 | CHAR1 | ||||
STDERRCNTL | Control flag for external program (e.g. trace level) | BTCXPGCNTL | CHAR | 1 | CHAR1 | ||||
TRACECNTL | Control flag for external program (e.g. trace level) | BTCXPGCNTL | CHAR | 1 | CHAR1 | ||||
TERMCNTL | Control flag for external program (e.g. trace level) | BTCXPGCNTL | CHAR | 1 | CHAR1 | ||||
STATUS | Status of step in background processing | BTCPSTATUS | CHAR | 1 | CHAR1 | ||||
EXITCODE | Exit code of an external program | BTCXPGEXIT | INT4 | 10 | |||||
LANGUAGE | Language Key | SPRAS | LANG | 1 | Assigned to domain | ISOLA | SPRAS | SPR | H_T002 |
EXTCMD | Logical command name | SXPGLOGCMD | CHAR | 18 | CHAR18 | ||||
OPSYSTEM | Operating System of Application Server | SYOPSYS | CHAR | 10 | SYOPSYS | ||||
PDEST | Spool Output Device | SYPDEST | CHAR | 4 | Assigned to domain | SPDEV | RSPOPNAME | ||
PRCOP | Number of Spool Copies | SYPRCOP | NUMC | 3 | SYNUM03 | ||||
PLIST | Spool Request | SYPLIST | CHAR | 12 | SYCHAR12 | ||||
PRTXT | Spool Description | SYPRTXT | CHAR | 68 | SYCHAR68K | ||||
PRIMM | Immediate Spool Print | SYPRIMM | CHAR | 1 | SYCHAR01 | ||||
PRREL | Immediate Spool Deletion | SYPRREL | CHAR | 1 | SYCHAR01 | ||||
PRNEW | New Spool Request | SYPRNEW | CHAR | 1 | SYCHAR01 | ||||
PEXPI | Spool Retention Period | SYPEXPI | NUMC | 1 | SYNUM01 | ||||
LINCT | Page Length of List | SYLINCT | INT4 | 10 | SYST_SHORT | ||||
LINSZ | Line width of list | SYLINSZ | INT4 | 10 | SYST_SHORT | ||||
PAART | Spool Format | SYPAART | CHAR | 16 | Assigned to domain | RSPOPAPER | |||
PRBIG | Spool Cover Sheet | SYPRBIG | CHAR | 1 | SYCHAR01 | ||||
PRSAP | Print: SAP cover page | SYPRSAP | CHAR | 1 | SYPRSAP | ||||
PRREC | Spool Recipient Name | SYPRREC | CHAR | 12 | SYCHAR12 | ||||
PRABT | Spool Department Name | SYPRABT | CHAR | 12 | SYCHAR12K | ||||
PRBER | Print: Authorization | SYPRBER | CHAR | 12 | SYCHAR12 | SAU | |||
PRDSN | Spool File | SYPRDSN | CHAR | 6 | SYCHAR06 | ||||
PTYPE | Print: Type of spool request | SYPTYPE | CHAR | 12 | SYCHAR12 | ||||
ARMOD | Print: Archiving mode | SYARMOD | CHAR | 1 | SYARMOD | ||||
FOOTL | Print: Output footer | SYFOOTL | CHAR | 1 | SYCHAR01 | ||||
PRCHK | Print: Check sum for print and archiving parameters | SYCHECK | INT4 | 10 | SYST_SHORT | ||||
SAP_OBJECT | Archiving Parameter: Object Type of SAP Object | SYARC_SAP_OBJECT | CHAR | 10 | Assigned to domain | OJ_NAME | OAO | ||
AR_OBJECT | Archiving Parameter: Document Type | SYARC_AR_OBJECT | CHAR | 10 | Assigned to domain | SADC10_DV | DOK | ||
ARCHIV_ID | Archiving Parameter: Target Storage System | SYARC_ARCHIV_ID | CHAR | 2 | SADC2 | ||||
DOC_TYPE | Archiving Parameter: Document Type | SYARC_DOC_TYPE | CHAR | 20 | Assigned to domain | SADC20_DD | |||
RPC_HOST | Archiving Parameter: RPC Host | SYARC_RPC_HOST | CHAR | 32 | SADC32 | ||||
RPC_SERVIC | Archiving Parameter: RPC Service/RFC Destination | SYARC_RPC_SERVIC | CHAR | 32 | SADC32 | ||||
INTERFACE | Archiving Parameter: Communication Connection Component | SYARC_INTERFACE | CHAR | 14 | SADC14 | ||||
MANDANT | Archiving Parameter: Client | SYARC_MANDANT | CLNT | 3 | Assigned to domain | MANDT | |||
REPORT | Archiving Parameter: Program Name | SYARC_REPORT | CHAR | 40 | Assigned to domain | PROGRAMM | |||
INFO | Archiving Parameter: Info Field | SYARC_INFO | CHAR | 3 | SADC3 | ||||
ARCTEXT | Archiving Parameter: Text Information Field | SYARC_ARCTEXT | CHAR | 40 | SADC40 | ||||
DATUM | Archiving Parameter: Archiving Date | SYARC_DATUM | CHAR | 8 | SADC8 | ||||
ARCUSER | Archiving Parameter: User | SYARC_ARCUSER | CHAR | 12 | SADC12 | ||||
PRINTER | Archiving Parameter: Target Output Device | SYARC_PRINTER | CHAR | 4 | Assigned to domain | SPDEV | RSPOPNAME | ||
FORMULAR | Archiving Parameter: Output Format | SYARC_FORMULAR | CHAR | 16 | SADC16 | ||||
ARCHIVPATH | Archiving Parameter: Standard Path | SYARC_ARCHIVPATH | CHAR | 70 | SADCK70 | ||||
PROTOKOLL | Archiving Parameter: Log | SYARC_PROTOKOLL | CHAR | 8 | SADC8_PROT | ||||
VERSION | Archiving Parameter: Version Number | SYARC_VERSION | CHAR | 4 | SADVERSION | ||||
ACHECK | Archiving Parameter: Check Total | SYARC_CHECK | INT4 | 10 | SYST_SHORT | ||||
PRIPARKEY | Key for print parameters | SYPRKEY | CHAR | 16 | SYPRKEY | ||||
CONVID | Conversation ID | GWY_CONVID | CHAR | 8 | CHAR8 |
Key field | Non-key field |
How do I retrieve data from SAP table TBTCP using ABAP code
The following ABAP code Example will allow you to do a basic selection on TBTCP to SELECT all data from the tableDATA: WA_TBTCP TYPE TBTCP.
SELECT SINGLE *
FROM TBTCP
INTO CORRESPONDING FIELDS OF WA_TBTCP
WHERE...
How to access SAP table TBTCP
Within an ECC or HANA version of SAP you can also view further information about TBTCP 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