DRAW SAP (Document Info Record) Table details
Dictionary Type: Table
Description: Document Info Record
Description: Document Info Record
Table field list including key, data, relationships and ABAP select examples
DRAW is a standard SAP Table which is used to store Document Info Record data and is available within R/3 SAP systems depending on the version and release level.
The DRAW table consists of various fields, each holding specific information or linking keys about Document Info Record 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 or numeric)
SAP DRAW 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 | T000 | MANDT | |||
DOKAR | Document Type | DOKAR | CHAR | 3 | TDWA | DOKAR | CV2 | ||
DOKNR | Document number | DOKNR | CHAR | 25 | ALPHA | DOKNR | CV1 | ||
DOKVR | Document Version | DOKVR | CHAR | 2 | DOKVR | CV3 | |||
DOKTL | Document Part | DOKTL_D | CHAR | 3 | DOKTL | CV4 | |||
DWNAM | Name of person responsible | DWNAM | CHAR | 12 | DWNAM | ||||
DOKST | Document Status | DOKST | CHAR | 2 | TDWS | DOKST | |||
LABOR | Laboratory/design office | LABOR | CHAR | 3 | T024L | LABOR | |||
AENNR | Change Number | DAENR | CHAR | 12 | AENR | AENNR | AENNR | ||
WERKA | Plant | WERKA | CHAR | 4 | T001W | WERKS | |||
LOEDK | Deletion indicator | LOEDK | CHAR | 1 | XFELD | ||||
CADKZ | CAD Indicator | CADKZ | CHAR | 1 | XFELD | ||||
PRENR | Document number of superior document | PRENR | CHAR | 25 | Assigned to domain | ALPHA | DOKNR | ||
PREVR | Document version of superior document | PREVR | CHAR | 2 | DOKVR | ||||
PRETL | Document Part of Superior Document | PRETL | CHAR | 3 | DOKTL | ||||
PREAR | Document type of the superior document | PREAR | CHAR | 3 | TDWA | DOKAR | |||
BEGRU | Authorization Group | BEGRU | CHAR | 4 | BEGRU | ||||
FILEP | Original of document | FILEP | CHAR | 255 | TEXT255 | ||||
DTTRG | Name of Data Carrier | DTTRG | CHAR | 10 | TDWD | DTTRG | CV5 | ||
DAPPL | Application | DAPPL | CHAR | 3 | TDWP | DAPPL | |||
FILEP1 | Original of document | FILEP | CHAR | 255 | TEXT255 | ||||
DTTRG1 | Name of Data Carrier | DTTRG | CHAR | 10 | TDWD | DTTRG | CV5 | ||
DAPPL1 | Application | DAPPL | CHAR | 3 | TDWP | DAPPL | |||
VRLDAT | Due Date | VRLDAT | DATS | 8 | DATUM | ||||
VPRIOR | Processing priority | VPRIOR | NUMC | 1 | NUMC01 | ||||
RES1 | Reserve field DRAW | RESDRAW | CHAR | 14 | CHAR14 | ||||
RES2 | Reserve field DRAW | RESDRAW | CHAR | 14 | CHAR14 | ||||
RES3 | Reserve field DRAW | RESDRAW | CHAR | 14 | CHAR14 | ||||
RES4 | Reserve field DRAW | RESDRAW | CHAR | 14 | CHAR14 | ||||
MRK_FILEP | Original of document | FILEP | CHAR | 255 | TEXT255 | ||||
MRK_DTTRG | Name of Data Carrier | DTTRG | CHAR | 10 | Assigned to domain | DTTRG | CV5 | ||
MRK_FILEP1 | Original of document | FILEP | CHAR | 255 | TEXT255 | ||||
MRK_DTTRG1 | Name of Data Carrier | DTTRG | CHAR | 10 | Assigned to domain | DTTRG | CV5 | ||
ADATUM | Output date for document | ADATUM | DATS | 8 | DATUM | ||||
DOKNR_VL | Document Number of Source Document | DOKNR_VL | CHAR | 25 | Assigned to domain | ALPHA | DOKNR | ||
DOKTL_VL | Document part of source document | DOKTL_VL | CHAR | 3 | DOKTL | ||||
DOKVR_VL | Document version of source document | DOKVR_VL | CHAR | 2 | DOKVR | ||||
FILELEN | File length of original | ORLN | NUMC | 12 | NUM12 | ||||
FILELEN1 | File length of original | ORLN | NUMC | 12 | NUM12 | ||||
CM_RELEVANCE | Relevant for Configuration Management | DE_CM_RELEVANCE_FLAG | CHAR | 1 | DO_CM_RELEVANCE_FLAG | ||||
CM_FIXED | Document fixed | DMS_CM_FIXED | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table DRAW using ABAP code
The following ABAP code Example will allow you to do a basic selection on DRAW to SELECT all data from the tableDATA: WA_DRAW TYPE DRAW.
SELECT SINGLE *
FROM DRAW
INTO CORRESPONDING FIELDS OF WA_DRAW
WHERE...
How to access SAP table DRAW
Within an ECC or HANA version of SAP you can also view further information about DRAW 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