The DRAP table in SAP ERP or S/4HANA stores Document Log File data. There are total 13 fields in DRAP table. The Document Log File table is available in all major SAP S/4HANA versions, is implemented as a Column Store table within the SAP HANA database. Additionally we provide an overview of the structure and fields of DRAP table. It is in Document Management (CV) ABAP package and is part of the Document Management System (CA-DMS) module.
SAP DRAP Table Fields
Following is the list of fields that are available in SAP DRAP table. The primary key fields of the table are MANDT (Client), DOKAR (Document Type), DOKNR (Document number), DOKVR (Document Version), DOKTL (Document Part), DOKST (Document Status), STZAE (Counter key DRAP).
| Field | Description | Data Element | Check Table | Data Type |
|---|---|---|---|---|
| MANDT | Client | MANDT | T000 | CLNT (3) |
| DOKAR | Document Type | DOKAR | TDWA | CHAR (3) |
| DOKNR | Document number | DOKNR | DRAW | CHAR (25) |
| DOKVR | Document Version | DOKVR | CHAR (2) | |
| DOKTL | Document Part | DOKTL_D | CHAR (3) | |
| DOKST | Document Status | DOKST | TDWS | CHAR (2) |
| STZAE | Counter key DRAP | STZAE | NUMC (4) | |
| DATUM | Date | DATUM | DATS (8) | |
| PZEIT | Time of log entry | PZEIT | CHAR (8) | |
| PRNAM | User who sets document status | PRNAM | CHAR (12) | |
| PROTF | Document management log field | PROTF | CHAR (100) | |
| AUDIT1 | Content version | AUDIT | CHAR (1) | |
| AUDIT2 | Content version | AUDIT | CHAR (1) |


