EDOCUMENTREF
eDocument: Document Reference
EDOCUMENTREF is an SAP database table in S/4HANA. eDocument: Document Reference. It contains 5 fields. 3 CDS views read from this table.
CDS Views using this table (3)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_ElectronicDocumentReference | view_entity | from | BASIC | |
| I_PE_ElectronicDocumentRef | view | from | BASIC | Peru eDocument Reference |
| P_IN_EDOCREFERENCE | view_entity | from | BASIC |
Fields (5)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | MANDT | Client | |||
| KEY | edoc_guid | EDOC_GUID | eDocument GUID | |||
| KEY | reference_key | EDOC_REFERENCE_KEY | eDoc.Ref.Key | |||
| KEY | reference_type | EDOC_REFERENCE_TYPE | Reference Type | |||
| reference_seq_no | EDOC_REFERENCE_SEQUENCE_NUMBER | Reference Seq. Nr. |
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.
-- eDocument: Document Reference
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE EDOCUMENTREF (
MANDT, -- Client [MANDT]
EDOC_GUID, -- eDocument GUID [EDOC_GUID]
REFERENCE_KEY, -- eDoc.Ref.Key [EDOC_REFERENCE_KEY]
REFERENCE_TYPE, -- Reference Type [EDOC_REFERENCE_TYPE]
REFERENCE_SEQ_NO, -- Reference Seq. Nr. [EDOC_REFERENCE_SEQUENCE_NUMBER]
PRIMARY KEY (MANDT, EDOC_GUID, REFERENCE_KEY, REFERENCE_TYPE)
);
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