DRAT SAP (Texts for Document Info Records) Table details
Dictionary Type: Table
Description: Texts for Document Info Records
Description: Texts for Document Info Records
Table field list including key, data, relationships and ABAP select examples
DRAT is a standard SAP Table which is used to store Texts for Document Info Records data and is available within R/3 SAP systems depending on the version and release level.
The DRAT table consists of various fields, each holding specific information or linking keys about Texts for Document Info Records data available in SAP. These include DOKAR (Document Type), DOKNR (Document number), DOKVR (Document Version), DOKTL (Document Part).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)
SAP DRAT 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
DOKAR | Document Type | DOKAR | CHAR | 3 | Assigned to domain | DOKAR | CV2 | ||
DOKNR | Document number | DOKNR | CHAR | 25 | DRAW | ALPHA | DOKNR | CV1 | |
DOKVR | Document Version | DOKVR | CHAR | 2 | DOKVR | CV3 | |||
DOKTL | Document Part | DOKTL_D | CHAR | 3 | DOKTL | CV4 | |||
LANGU | Language | CVLANG | LANG | 1 | T002 | ISOLA | SPRAS | ||
DKTXT | Document description | DKTXT | CHAR | 40 | TEXT40 | ||||
LTXIN | Indicator: long text exists | LTXIN | CHAR | 1 | CHAR1 | ||||
DKTXT_UC | DMS: short texts in capital letters | DKTXT_UC | CHAR | 40 | CHAR40 |
Key field | Non-key field |
How do I retrieve data from SAP table DRAT using ABAP code
The following ABAP code Example will allow you to do a basic selection on DRAT to SELECT all data from the tableDATA: WA_DRAT TYPE DRAT.
SELECT SINGLE *
FROM DRAT
INTO CORRESPONDING FIELDS OF WA_DRAT
WHERE...
How to access SAP table DRAT
Within an ECC or HANA version of SAP you can also view further information about DRAT 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