DMS_DOC2LOIO
DVS: Link table DVS Key <-> LOIO-ID
DMS_DOC2LOIO is an SAP database table in S/4HANA. DVS: Link table DVS Key <-> LOIO-ID. It contains 9 fields. 3 CDS views read from this table.
CDS Views using this table (3)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_BkRelshpDocBkAcctAttch | view | inner | BASIC | Shared Attachment of Bank Account |
| I_DocInfoRecdAttchLnkKeyLgclID | view_entity | from | BASIC | Details of DIR and Logical Document ID |
| P_DocInfoRecdOriginal | view | from | BASIC |
Fields (9)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | MANDT | Client | |||
| KEY | dokar | DOKAR | Document Type | |||
| KEY | doknr | DOKNR | Document | |||
| KEY | dokvr | DOKVR | Doc. Version | |||
| KEY | doktl | DOKTL_D | Document Part | |||
| KEY | lo_type | DMS_FILE_TYPE | Original type | |||
| KEY | lo_index | DMS_DOC_INDEX | Counter | |||
| lo_objid | SDOK_LOID | Log. document | ||||
| lo_is_ref | CVFLAG | Flag |
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.
-- DVS: Link table DVS Key <-> LOIO-ID
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE DMS_DOC2LOIO (
MANDT, -- Client [MANDT]
DOKAR, -- Document Type [DOKAR]
DOKNR, -- Document [DOKNR]
DOKVR, -- Doc. Version [DOKVR]
DOKTL, -- Document Part [DOKTL_D]
LO_TYPE, -- Original type [DMS_FILE_TYPE]
LO_INDEX, -- Counter [DMS_DOC_INDEX]
LO_OBJID, -- Log. document [SDOK_LOID]
LO_IS_REF, -- Flag [CVFLAG]
PRIMARY KEY (MANDT, DOKAR, DOKNR, DOKVR, DOKTL, LO_TYPE, LO_INDEX)
);
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