DRAT_DRAFT_2
Draft table for entity R_DOCUMENTINFORECORDDESCTP
DRAT_DRAFT_2 is an SAP database table in S/4HANA. Draft table for entity R_DOCUMENTINFORECORDDESCTP. It contains 17 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| R_DocumentInfoRecordDescDraft | view_entity | from | BASIC | Document Info Record Description - Draft |
Fields (17)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | MANDT | Client | |||
| KEY | documentinforecorddoctype | DOKAR | Document Type | |||
| KEY | documentinforecorddocnumber | DOKNR | Document | |||
| KEY | documentinforecorddocversion | DOKVR | Doc. Version | |||
| KEY | documentinforecorddocpart | DOKTL_D | Document Part | |||
| KEY | language | CVLANG | Language | |||
| KEY | draftuuid | SDRAFT_UUID | Draft Document ID | |||
| parentdraftuuid | SDRAFT_UUID | Draft Document ID | ||||
| documentdescription | DKTXT | Description | ||||
| longtextexists | LTXIN | LgText ID | ||||
| docinforecdshorttext | DKTXT_UC | Description | ||||
| draftentitycreationdatetime | SYCH_BDL_DRAFT_CREATED_AT | Draft Created | ||||
| draftentitylastchangedatetime | SYCH_BDL_DRAFT_LAST_CHANGED_AT | Draft Changed | ||||
| draftadministrativedatauuid | SYCH_BDL_DRAFT_ADMIN_UUID | Admin. UUID | ||||
| draftentityoperationcode | SYCH_BDL_DRAFT_OPERATION_CODE | Operation Code | ||||
| hasactiveentity | SYCH_BDL_DRAFT_HASACTIVE | Has active | ||||
| draftfieldchanges | SYCH_BDL_DRAFT_FIELD_CHANGES | Draft Changes |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- Draft table for entity R_DOCUMENTINFORECORDDESCTP
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE DRAT_DRAFT_2 (
MANDT, -- Client [MANDT]
DOCUMENTINFORECORDDOCTYPE, -- Document Type [DOKAR]
DOCUMENTINFORECORDDOCNUMBER, -- Document [DOKNR]
DOCUMENTINFORECORDDOCVERSION, -- Doc. Version [DOKVR]
DOCUMENTINFORECORDDOCPART, -- Document Part [DOKTL_D]
LANGUAGE, -- Language [CVLANG]
DRAFTUUID, -- Draft Document ID [SDRAFT_UUID]
PARENTDRAFTUUID, -- Draft Document ID [SDRAFT_UUID]
DOCUMENTDESCRIPTION, -- Description [DKTXT]
LONGTEXTEXISTS, -- LgText ID [LTXIN]
DOCINFORECDSHORTTEXT, -- Description [DKTXT_UC]
DRAFTENTITYCREATIONDATETIME, -- Draft Created [SYCH_BDL_DRAFT_CREATED_AT]
DRAFTENTITYLASTCHANGEDATETIME, -- Draft Changed [SYCH_BDL_DRAFT_LAST_CHANGED_AT]
DRAFTADMINISTRATIVEDATAUUID, -- Admin. UUID [SYCH_BDL_DRAFT_ADMIN_UUID]
DRAFTENTITYOPERATIONCODE, -- Operation Code [SYCH_BDL_DRAFT_OPERATION_CODE]
HASACTIVEENTITY, -- Has active [SYCH_BDL_DRAFT_HASACTIVE]
DRAFTFIELDCHANGES, -- Draft Changes [SYCH_BDL_DRAFT_FIELD_CHANGES]
PRIMARY KEY (MANDT, DOCUMENTINFORECORDDOCTYPE, DOCUMENTINFORECORDDOCNUMBER, DOCUMENTINFORECORDDOCVERSION, DOCUMENTINFORECORDDOCPART, LANGUAGE, DRAFTUUID)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA