BTCH2170 SAP (Job Selection) Structure details
Description: Job Selection
Structure field list including key, data, relationships and ABAP select examples
BTCH2170 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 "Job Selection" 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_BTCH2170 TYPE BTCH2170.
The BTCH2170 table consists of various fields, each holding specific information or linking keys about Job Selection data available in SAP. These include JOBNAME (Background job name), JOBCOUNT (Job ID), JOBGROUP (Summary of jobs for a group), USERNAME (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 BTCH2170 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 | ||||
USERNAME | Initiator of job/step scheduling | BTCSDLNM | CHAR | 12 | CHAR12 | ||||
FROM_DATE | Planned Start Date for Background Job | BTCSDATE | DATS | 8 | SYDATS | ||||
FROM_TIME | Planned start time for background Job | BTCSTIME | TIMS | 6 | SYTIME | ||||
TO_DATE | Planned Start Date for Background Job | BTCSDATE | DATS | 8 | SYDATS | ||||
TO_TIME | Planned start time for background Job | BTCSTIME | TIMS | 6 | SYTIME | ||||
NO_DATE | Selection flag for jobs without start date | BTCNODATE | CHAR | 1 | CHAR1 | ||||
WITH_PRED | Selection flag for jobs with start after predecessor | BTCWITHPRD | CHAR | 1 | CHAR1 | ||||
EVENTID | Background Processing Event | BTCEVENTID | CHAR | 32 | CHAR32 | ||||
EVENTPARM | Background Event Parameters (Such as, Jobname/Jobcount) | BTCEVTPARM | CHAR | 64 | TEXT64 | ||||
PRELIM | State of Background Job | BTCSTATUS | CHAR | 1 | CHAR1 | ||||
SCHEDUL | State of Background Job | BTCSTATUS | CHAR | 1 | CHAR1 | ||||
READY | State of Background Job | BTCSTATUS | CHAR | 1 | CHAR1 | ||||
RUNNING | State of Background Job | BTCSTATUS | CHAR | 1 | CHAR1 | ||||
FINISHED | State of Background Job | BTCSTATUS | CHAR | 1 | CHAR1 | ||||
ABORTED | State of Background Job | BTCSTATUS | CHAR | 1 | CHAR1 | ||||
ABAPNAME | Program name within a step (e.g. report) | BTCPROG | CHAR | 40 | PROGNAME |
Key field | Non-key field |
How do I retrieve data from SAP structure BTCH2170 using ABAP code?
As BTCH2170 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 BTCH2170 as there is no data to select.How to access SAP table BTCH2170
Within an ECC or HANA version of SAP you can also view further information about BTCH2170 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