DTRESR SAP (Table for Entering Downtimes) Structure details
Description: Table for Entering Downtimes
Structure field list including key, data, relationships and ABAP select examples
DTRESR 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 "Table for Entering Downtimes" 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_DTRESR TYPE DTRESR.
The DTRESR table consists of various fields, each holding specific information or linking keys about Table for Entering Downtimes data available in SAP. These include ARBPL (Work center), ARBID (Object ID of the resource), OBJTY (Object types of the CIM resource), RESSOURCE (Resource).. 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: Can be enhanced (character-type or numeric)
SAP DTRESR 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 |
WERK | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
ARBPL | Work center | ARBPL | CHAR | 8 | ARBPL | AGR | |||
ARBID | Object ID of the resource | CR_OBJID | NUMC | 8 | Assigned to domain | CR_OBJID | |||
OBJTY | Object types of the CIM resource | CR_OBJTY | CHAR | 2 | CR_OBJTY | ||||
RESSOURCE | Resource | CR_RESOURC | CHAR | 8 | ARBPL | AGR | |||
VERWE | Resource category | CR_RESSTYP | CHAR | 4 | Assigned to domain | AP_VERWE | CRA | ||
KTEXT | Description of the work center category | APVERWETXT | CHAR | 20 | TEXT20 | ||||
KAPID | Capacity ID | KAPID | NUMC | 8 | Assigned to domain | KAPID | |||
KAPAR | Capacity category | KAPART | CHAR | 3 | Assigned to domain | KAPART | CAA | ||
KATXT | Description of the capacity category | KAPARTTEXT | CHAR | 20 | TEXT20 | ||||
TEAM | Person Responsible for Control Area | MANNSCHAFT | CHAR | 8 | CHAR8 | ||||
DATEFROM | From Date of Data Entry Period | CRDTDATEFR | DATS | 8 | DATUM | ||||
DATETO | To Date of Data Entry Period | CRDTDATETO | DATS | 8 | DATUM | ||||
WOCHE | Factory calendar: Week | KWEEK | ACCP | 6 | KWEEK | ||||
WOCHEX | External Display for the Week | CRDTWEEKEX | CHAR | 7 | CHAR7 | ||||
DATRG | Period | DATRG | INT2 | 5 | |||||
DTDAT | Downtime Date | DTDAT | DATS | 8 | DATUM | ||||
WEEKDAY | Weekday | WEEK_DAY | CHAR | 10 | CHAR10 | ||||
SCHNR | Shift number of the available capacity | SCHICHTNR | NUMC | 1 | NUM01 | ||||
DTELI | Downtime Element ID | DTELI | CHAR | 8 | DTELID | DTELID | |||
DTELT | Description of the Downtime Element | DTELT | CHAR | 40 | DTELTX | ||||
DTEH | Downtime Unit | DTEH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
DTCTI | Downtime Category ID | DTCTI | CHAR | 8 | DTCTID | DTCTID | |||
DTCTT | Downtime Category Description | DTCTTEXT | CHAR | 40 | TEXT40 | ||||
DTDER | Duration Entered for Downtimes | DTDER | QUAN | 13(3) | MENG13 | ||||
DTDVO | Default Duration of Downtimes | DTDVO | QUAN | 13(3) | MENG13 | ||||
DTDPL | Planned Duration of Downtime | DTDPL | QUAN | 13(3) | MENG13 | ||||
DTWEEKSUM | Total Downtime | DTSUM | QUAN | 13(3) | MENG13 | ||||
MONDAY | Monday | MONDAY | DATS | 8 | DATUM | ||||
TUESDAY | Tuesday | TUESDAY | DATS | 8 | DATUM | ||||
WEDNESDAY | Wednesday | WEDNESDAY | DATS | 8 | DATUM | ||||
THURSDAY | Thursday | THURSDAY | DATS | 8 | DATUM | ||||
FRIDAY | Friday | FRIDAY | DATS | 8 | DATUM | ||||
SATURDAY | Saturday | SATURDAY | DATS | 8 | DATUM | ||||
SUNDAY | Sunday | SONNTAG | DATS | 8 | DATUM | ||||
DTMO | Downtime on Monday | DTMO | QUAN | 13(3) | MENG13 | ||||
DTDI | Downtime on Tuesday | DTDI | QUAN | 13(3) | MENG13 | ||||
DTMI | Downtime on Wednesday | DTMI | QUAN | 13(3) | MENG13 | ||||
DTDO | Downtime on Thursday | DTDO | QUAN | 13(3) | MENG13 | ||||
DTFR | Downtime on Friday | DTFR | QUAN | 13(3) | MENG13 | ||||
DTSA | Downtime on Saturday | DTSA | QUAN | 13(3) | MENG13 | ||||
DTSO | Downtime on Sunday | DTSO | QUAN | 13(3) | MENG13 | ||||
MARKW | Selection indicator | FLG_SEL | CHAR | 1 | XFELD | ||||
MARK | Selection indicator | FLG_SEL | CHAR | 1 | XFELD | ||||
LTFLAG | Long Text Indicator | LTFLAG | CHAR | 1 | CHAR1 | ||||
REF_WERKS | Reference plant | REF_WERKS | CHAR | 4 | T001W | WERKS | RWK | ||
REF_ARBPL | Resource | CR_RESOURC | CHAR | 8 | ARBPL | AGR |
Key field | Non-key field |
How do I retrieve data from SAP structure DTRESR using ABAP code?
As DTRESR 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 DTRESR as there is no data to select.How to access SAP table DTRESR
Within an ECC or HANA version of SAP you can also view further information about DTRESR 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