Fields (34)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | LglCntntMDocumentUUID | LglCntntMDocumentUUID | 1 |
| DocumentDescription | DocumentDescription | 1 | |
| InternalDocumentStatus | InternalDocumentStatus | 1 | |
| IsEndOfPurposeBlocked | IsEndOfPurposeBlocked | 1 | |
| LegalDocumentSource | LegalDocumentSource | 1 | |
| LegalDocumentVersion | LegalDocumentVersion | 1 | |
| LegalTransaction | LegalTransaction | 1 | |
| LegalTransactionUUID | LegalTransactionUUID | 1 | |
| LglCntntMChangedByUser | LglCntntMChangedByUser | 1 | |
| LglCntntMChangedUTCDateTime | LglCntntMChangedUTCDateTime | 1 | |
| LglCntntMCreatedByUser | LglCntntMCreatedByUser | 1 | |
| LglCntntMCreatedUTCDateTime | LglCntntMCreatedUTCDateTime | 1 | |
| LglCntntMDocAccessLvl | LglCntntMDocAccessLvl | 1 | |
| LglCntntMDocAssemblyStatus | LglCntntMDocAssemblyStatus | 1 | |
| LglCntntMDocContentType | LglCntntMDocContentType | 1 | |
| LglCntntMDocLowTouchLevel | LglCntntMDocLowTouchLevel | 1 | |
| LglCntntMDocPaperType | LglCntntMDocPaperType | 1 | |
| LglCntntMDocType | LglCntntMDocType | 1 | |
| LglCntntMDocument | LglCntntMDocument | 1 | |
| LglCntntMDocumentIsTopVersion | LglCntntMDocumentIsTopVersion | 1 | |
| LglCntntMDocumentKind | LglCntntMDocumentKind | 1 | |
| LglCntntMDocumentLinkedObject | LglCntntMDocumentLinkedObject | 1 | |
| LglCntntMDocumentLinkedObjKey | LglCntntMDocumentLinkedObjKey | 1 | |
| LglCntntMIsMandatory | LglCntntMIsMandatory | 1 | |
| LglCntntMLanguage | LglCntntMLanguage | 1 | |
| LglCntntMMainLinkdObjType | LglCntntMMainLinkdObjType | 1 | |
| LglCntntMMainOrgCoCode | LglCntntMMainOrgCoCode | 1 | |
| LglCntntMMainOrgPurOrg | LglCntntMMainOrgPurOrg | 1 | |
| LglCntntMMainOrgSalesOrg | LglCntntMMainOrgSalesOrg | 1 | |
| LglCntntMParentDocument | LglCntntMParentDocument | 1 | |
| LglCntntMProfile | LglCntntMProfile | 1 | |
| LglCntntMTmplID | LglCntntMTmplID | 1 | |
| LglCntntMVirtualDocVersKey | LglCntntMVirtualDocVersKey | 1 | |
| LglTransAccessLvl | LglTransAccessLvl | 1 |
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.
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE LEGALDOCUMENT (
LGLCNTNTMDOCUMENTUUID,
DOCUMENTDESCRIPTION,
INTERNALDOCUMENTSTATUS,
ISENDOFPURPOSEBLOCKED,
LEGALDOCUMENTSOURCE,
LEGALDOCUMENTVERSION,
LEGALTRANSACTION,
LEGALTRANSACTIONUUID,
LGLCNTNTMCHANGEDBYUSER,
LGLCNTNTMCHANGEDUTCDATETIME,
LGLCNTNTMCREATEDBYUSER,
LGLCNTNTMCREATEDUTCDATETIME,
LGLCNTNTMDOCACCESSLVL,
LGLCNTNTMDOCASSEMBLYSTATUS,
LGLCNTNTMDOCCONTENTTYPE,
LGLCNTNTMDOCLOWTOUCHLEVEL,
LGLCNTNTMDOCPAPERTYPE,
LGLCNTNTMDOCTYPE,
LGLCNTNTMDOCUMENT,
LGLCNTNTMDOCUMENTISTOPVERSION,
LGLCNTNTMDOCUMENTKIND,
LGLCNTNTMDOCUMENTLINKEDOBJECT,
LGLCNTNTMDOCUMENTLINKEDOBJKEY,
LGLCNTNTMISMANDATORY,
LGLCNTNTMLANGUAGE,
LGLCNTNTMMAINLINKDOBJTYPE,
LGLCNTNTMMAINORGCOCODE,
LGLCNTNTMMAINORGPURORG,
LGLCNTNTMMAINORGSALESORG,
LGLCNTNTMPARENTDOCUMENT,
LGLCNTNTMPROFILE,
LGLCNTNTMTMPLID,
LGLCNTNTMVIRTUALDOCVERSKEY,
LGLTRANSACCESSLVL,
PRIMARY KEY (LGLCNTNTMDOCUMENTUUID)
);
Learn More
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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