TBTCP SAP (Background Job Step Overview) Table details

Dictionary Type: Table
Description: Background Job Step Overview




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




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 empty
Display/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
JOBNAMEBackground job name BTCJOBCHAR32CHAR32
JOBCOUNTJob ID BTCJOBCNTCHAR8CHAR8
STEPCOUNTJob step ID number. BTCSTEPCNTINT410
PROGNAMEProgram name within a step (e.g. report) BTCPROGCHAR40PROGNAME
PROGFROMLNLine number in an internal report. BTCSRCLINEINT410
PROGTOLNLine number in an internal report. BTCSRCLINEINT410
SDLDATEDate of job/step scheduling BTCSDLDATEDATS8SYDATS
SDLTIMETime of a scheduled job/step BTCSDLTIMETIMS6SYTIME
SDLUNAMEInitiator of job/step scheduling BTCSDLNMCHAR12CHAR12
VARIANTName of variant within a step BTCVARIANTCHAR14CHAR14
AUTHCKNAMBackground User Name for Authorization Check BTCAUTHNAMCHAR12CHAR12
LISTIDENTID of batch job output list in the spool BTCLISTIDNUMC10SYSPONO
XPGPIDID of external program BTCXPGPIDCHAR10CHAR10
XPGTGTSYSTarget System to Run Background Job BTCTGTSYSCHAR32TEXT32
XPGRFCDESTLogical Destination (Specified in Function Call) RFCDESTCHAR32Assigned to domainRFCDESTRFCF4_RFCDESTYPEALL
XPGPROGName of external program (possibly with access path) BTCXPGPGMCHAR128TEXT128
XPGPARAMSParameters of external program (string) BTCXPGPARCHAR255TEXT255
XPGFLAGIdentification of step as ABAP, ext. command or program BTCSTEPTYPCHAR1CHAR1
CONNCNTLControl flag for external program (e.g. trace level) BTCXPGCNTLCHAR1CHAR1
STDINCNTLControl flag for external program (e.g. trace level) BTCXPGCNTLCHAR1CHAR1
STDOUTCNTLControl flag for external program (e.g. trace level) BTCXPGCNTLCHAR1CHAR1
STDERRCNTLControl flag for external program (e.g. trace level) BTCXPGCNTLCHAR1CHAR1
TRACECNTLControl flag for external program (e.g. trace level) BTCXPGCNTLCHAR1CHAR1
TERMCNTLControl flag for external program (e.g. trace level) BTCXPGCNTLCHAR1CHAR1
STATUSStatus of step in background processing BTCPSTATUSCHAR1CHAR1
EXITCODEExit code of an external program BTCXPGEXITINT410
LANGUAGELanguage Key SPRASLANG1Assigned to domainISOLASPRASSPRH_T002
EXTCMDLogical command name SXPGLOGCMDCHAR18CHAR18
OPSYSTEMOperating System of Application Server SYOPSYSCHAR10SYOPSYS
PDESTSpool Output Device SYPDESTCHAR4Assigned to domainSPDEVRSPOPNAME
PRCOPNumber of Spool Copies SYPRCOPNUMC3SYNUM03
PLISTSpool Request SYPLISTCHAR12SYCHAR12
PRTXTSpool Description SYPRTXTCHAR68SYCHAR68K
PRIMMImmediate Spool Print SYPRIMMCHAR1SYCHAR01
PRRELImmediate Spool Deletion SYPRRELCHAR1SYCHAR01
PRNEWNew Spool Request SYPRNEWCHAR1SYCHAR01
PEXPISpool Retention Period SYPEXPINUMC1SYNUM01
LINCTPage Length of List SYLINCTINT410SYST_SHORT
LINSZLine width of list SYLINSZINT410SYST_SHORT
PAARTSpool Format SYPAARTCHAR16Assigned to domainRSPOPAPER
PRBIGSpool Cover Sheet SYPRBIGCHAR1SYCHAR01
PRSAPPrint: SAP cover page SYPRSAPCHAR1SYPRSAP
PRRECSpool Recipient Name SYPRRECCHAR12SYCHAR12
PRABTSpool Department Name SYPRABTCHAR12SYCHAR12K
PRBERPrint: Authorization SYPRBERCHAR12SYCHAR12SAU
PRDSNSpool File SYPRDSNCHAR6SYCHAR06
PTYPEPrint: Type of spool request SYPTYPECHAR12SYCHAR12
ARMODPrint: Archiving mode SYARMODCHAR1SYARMOD
FOOTLPrint: Output footer SYFOOTLCHAR1SYCHAR01
PRCHKPrint: Check sum for print and archiving parameters SYCHECKINT410SYST_SHORT
SAP_OBJECTArchiving Parameter: Object Type of SAP Object SYARC_SAP_OBJECTCHAR10Assigned to domainOJ_NAMEOAO
AR_OBJECTArchiving Parameter: Document Type SYARC_AR_OBJECTCHAR10Assigned to domainSADC10_DVDOK
ARCHIV_IDArchiving Parameter: Target Storage System SYARC_ARCHIV_IDCHAR2SADC2
DOC_TYPEArchiving Parameter: Document Type SYARC_DOC_TYPECHAR20Assigned to domainSADC20_DD
RPC_HOSTArchiving Parameter: RPC Host SYARC_RPC_HOSTCHAR32SADC32
RPC_SERVICArchiving Parameter: RPC Service/RFC Destination SYARC_RPC_SERVICCHAR32SADC32
INTERFACEArchiving Parameter: Communication Connection Component SYARC_INTERFACECHAR14SADC14
MANDANTArchiving Parameter: Client SYARC_MANDANTCLNT3Assigned to domainMANDT
REPORTArchiving Parameter: Program Name SYARC_REPORTCHAR40Assigned to domainPROGRAMM
INFOArchiving Parameter: Info Field SYARC_INFOCHAR3SADC3
ARCTEXTArchiving Parameter: Text Information Field SYARC_ARCTEXTCHAR40SADC40
DATUMArchiving Parameter: Archiving Date SYARC_DATUMCHAR8SADC8
ARCUSERArchiving Parameter: User SYARC_ARCUSERCHAR12SADC12
PRINTERArchiving Parameter: Target Output Device SYARC_PRINTERCHAR4Assigned to domainSPDEVRSPOPNAME
FORMULARArchiving Parameter: Output Format SYARC_FORMULARCHAR16SADC16
ARCHIVPATHArchiving Parameter: Standard Path SYARC_ARCHIVPATHCHAR70SADCK70
PROTOKOLLArchiving Parameter: Log SYARC_PROTOKOLLCHAR8SADC8_PROT
VERSIONArchiving Parameter: Version Number SYARC_VERSIONCHAR4SADVERSION
ACHECKArchiving Parameter: Check Total SYARC_CHECKINT410SYST_SHORT
PRIPARKEYKey for print parameters SYPRKEYCHAR16SYPRKEY
CONVIDConversation ID GWY_CONVIDCHAR8CHAR8

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 table
DATA: 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 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!