I_LcmDocument
Document
I_LcmDocument is a Composite CDS View that provides data about "Document" in SAP S/4HANA. It reads from 1 data source (I_LegalDocument) and exposes 82 fields with key field LglCntntMDocumentUUID. It has 29 associations to related views. Part of development package VDM_LCM_DOC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LegalDocument | Document | from |
Associations (29)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_LglCntntMDocStatus | _DocStatus | $projection.InternalDocumentStatus = _DocStatus.InternalDocumentStatus |
| [1..1] | I_LglCntntMDocInfoAttachment | _DocAttach | $projection.LglCntntMDocumentLinkedObjKey = _DocAttach.LinkedSAPObjectKey |
| [1..1] | I_LcmContext | _Context | $projection.LglCntntMContextUUID = _Context.LglCntntMContextUUID |
| [0..1] | Sgbt_Nte_Cds_Cont | _Note | _Note.noteid = $projection.LglCntntMLongTextUUID and _Note.objectnodetype = 'LegalDocument' and _Note.notetype = 'LCM_LONGTEXT' |
| [0..1] | I_LglCntntMDocLock | _DocLock | $projection.LglCntntMDocumentUUID = _DocLock.LglCntntMDocumentUUID and $projection.LglCntntMDocumentLinkedObjKey = _DocLock.LglCntntMDocumentLinkedObjKey |
| [0..1] | I_LglCntntMAccessLvlText | _AccessLvlText | $projection.LglCntntMDocAccessLvl = _AccessLvlText.LglCntntMAccessLvl and Language = $session.system_language |
| [0..1] | I_LanguageText | _LanguageText | $projection.LglCntntMLanguage = _LanguageText.LanguageCode and Language = $session.system_language |
| [0..1] | I_LglCntntMDocContentTypeText | _ContentTypeText | $projection.LglCntntMDocContentType = _ContentTypeText.LglCntntMDocContentType and Language = $session.system_language |
| [0..1] | I_LglCntntMDocCntntTypeSrchTxt | _LglCntntMDocCntntTypeSrchTxt | $projection.LglCntntMDocContentType = _LglCntntMDocCntntTypeSrchTxt.LglCntntMDocContentType and Language = $session.system_language |
| [0..1] | I_LglCntntMDocStatusText | _DocStatusText | $projection.InternalDocumentStatus = _DocStatusText.InternalDocumentStatus and Language = $session.system_language |
| [0..1] | I_LglCntntMSgntrDocStatusText | _SgntrDocStatusText | $projection.LglCntntMSignatureDocStatus = _SgntrDocStatusText.LglCntntMSignatureDocStatus and Language = $session.system_language |
| [0..1] | I_LglCntntMDocSyncStatusText | _DocSyncStatusText | $projection.LglCntntMVirtualDocSyncSts = _DocSyncStatusText.LglCntntMVirtualDocSyncSts and Language = $session.system_language |
| [0..1] | I_LglCntntMDocLowTouchLvlTxt | _LglCntntMDocLowTouchLvlTxt | $projection.LglCntntMDocLowTouchLevel = _LglCntntMDocLowTouchLvlTxt.LglCntntMDocLowTouchLevel and Language = $session.system_language |
| [0..1] | I_LglCntntMDocumentKindText | _DocumentKindText | $projection.LglCntntMDocumentKind = _DocumentKindText.LglCntntMDocumentKind and _DocumentKindText.Language = $session.system_language |
| [0..1] | R_LglCntntMDocAmendmentTypeTxt | _LglCntntMDocAmendmentTypeTxt | $projection.LglCntntMDocAmendmentType = _LglCntntMDocAmendmentTypeTxt.LglCntntMDocAmendmentType and _LglCntntMDocAmendmentTypeTxt.Language = $session.system_language |
| [0..1] | R_LglCntntMSgntrPreferenceText | _LglCntntMSgntrPreferenceText | $projection.LglCntntMSgntrPreference = _LglCntntMSgntrPreferenceText.LglCntntMSgntrPreference and _LglCntntMSgntrPreferenceText.Language = $session.system_language |
| [1..1] | I_LglCntntMDocLockedReasonText | _LglCntntMDocLockedReasonText | $projection.LglCntntMDocLockedReasonCode = _LglCntntMDocLockedReasonText.LglCntntMDocLockedReasonCode |
| [0..1] | I_LglCntntMDocRefreshStatus | _LglCntntMDocRefreshStatus | $projection.LglCntntMDocument = _LglCntntMDocRefreshStatus.LglCntntMDocument |
| [1..1] | I_LglCntntMDocTemplateInfo | _LglCntntMDocTemplateInfo | $projection.LglCntntMDocumentUUID = _LglCntntMDocTemplateInfo.LglCntntMDocumentUUID |
| [0..1] | I_LglCntntMDocInfoAttchAll | _DocAttachAll | $projection.LglCntntMDocumentLinkedObjKey = _DocAttachAll.LinkedSAPObjectKey |
| [0..*] | I_LglCntntMDocumentStamp | _LglCntntMDocumentStamp | $projection.LglCntntMDocumentUUID = _LglCntntMDocumentStamp.LglCntntMDocumentUUID |
| [0..*] | I_LegalTransactionDocLink | _LegalTransactionDocLink | $projection.LglCntntMDocument = _LegalTransactionDocLink.LglCntntMDocument |
| [0..1] | I_LCMUserAddressAssignment | _CreatedBy | $projection.LglCntntMCreatedByUser = _CreatedBy.ContactCardID |
| [0..1] | I_LCMUserAddressAssignment | _ChangedBy | $projection.LglCntntMChangedByUser = _ChangedBy.ContactCardID |
| [1..1] | I_LglCntntMDocAssemblyInfo | _LglCntntMDocAssemblyInfo | $projection.LglCntntMDocumentUUID = _LglCntntMDocAssemblyInfo.LglCntntMDocumentUUID and Document.LglCntntMVirtualDocVersKey = _LglCntntMDocAssemblyInfo.LglCntntMVirtualDocVersKey |
| [0..1] | I_LglCntntMDocPaperTypeTxt | _LglCntntMDocPaperTypeTxt | $projection.LglCntntMDocPaperType = _LglCntntMDocPaperTypeTxt.LglCntntMDocPaperType and _LglCntntMDocPaperTypeTxt.Language = $session.system_language |
| [0..1] | I_LegalTransactionDate | _LglCntntMDocEffectiveDate | $projection.LegalTransactionUUID = _LglCntntMDocEffectiveDate.LegalTransactionUUID and _LglCntntMDocEffectiveDate.LglCntntMDateType = 'SAP2' |
| [0..1] | I_LglCntntMDocAgreement | _LglCntntMDocAgreement | $projection.LglCntntMDocumentUUID = _LglCntntMDocAgreement.LglCntntMDocumentUUID |
| [1..1] | E_LegalDocument | _Extenstion | $projection.LglCntntMDocumentUUID = _Extenstion.LglCntntMDocumentUUID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ILCMDOCUMENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.representativeKey | LglCntntMDocumentUUID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| EndUserText.label | Document | view |
Fields (82)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LglCntntMDocumentUUID | I_LegalDocument | LglCntntMDocumentUUID | Universal Unique ID |
| LglCntntMDocument | I_LegalDocument | LglCntntMDocument | Document ID | |
| LglCntntMDocumentLinkedObject | I_LegalDocument | LglCntntMDocumentLinkedObject | Object | |
| LglCntntMDocumentLinkedObjKey | I_LegalDocument | LglCntntMDocumentLinkedObjKey | UUID Char32 | |
| LglCntntMDocumentIsTopVersion | I_LegalDocument | LglCntntMDocumentIsTopVersion | TRUE | |
| LegalTransaction | I_LegalDocument | LegalTransaction | Legal Transaction ID | |
| LegalTransactionUUID | I_LegalDocument | LegalTransactionUUID | Universal Unique ID | |
| LglCntntMDocContentType | I_LegalDocument | LglCntntMDocContentType | Content Type | |
| LglCntntMLanguage | I_LegalDocument | LglCntntMLanguage | Language | |
| LglCntntMParentDocument | I_LegalDocument | LglCntntMParentDocument | Parent Document ID | |
| LglCntntMChangedByUser | I_LegalDocument | LglCntntMChangedByUser | Changed By | |
| LglCntntMChangedUTCDateTime | I_LegalDocument | LglCntntMChangedUTCDateTime | Changed On | |
| LglCntntMCreatedByUser | I_LegalDocument | LglCntntMCreatedByUser | Created By | |
| LglCntntMCreatedUTCDateTime | I_LegalDocument | LglCntntMCreatedUTCDateTime | Created On | |
| DocumentDescription | I_LegalDocument | DocumentDescription | Doc. Name | |
| LglCntntMLongTextUUID | I_LegalDocument | LglCntntMLongTextUUID | Description UUID | |
| LglCntntMIsMandatory | I_LegalDocument | LglCntntMIsMandatory | Is Mandatory | |
| LegalDocumentSource | I_LegalDocument | LegalDocumentSource | Legal Doc Source | |
| LglCntntMDocAccessLvl | I_LegalDocument | LglCntntMDocAccessLvl | Acs. Level | |
| LglCntntMAgingTemperature | I_LegalDocument | LglCntntMAgingTemperature | Data Aging | |
| InternalDocumentStatus | InternalDocumentStatus | Status | ||
| LglCntntMSignatureDocStatus | I_LegalDocument | LglCntntMSignatureDocStatus | Sign Document Status | |
| DocumentVersion | DocumentVersion | Docu. Version | ||
| LegalDocumentVersion | LegalDocumentVersion | Docu. Version | ||
| IsEndOfPurposeBlocked | I_LegalDocument | IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. | |
| LglCntntMDocType | I_LegalDocument | LglCntntMDocType | Document Type | |
| LglCntntMDocAssemblyStatus | _LglCntntMDocAssemblyInfo | LglCntntMDocAssemblyStatus | Assembly Status | |
| LglCntntMTmplUUID | I_LegalDocument | LglCntntMTmplUUID | Template UUID | |
| LglCntntMVirtualDocVersKey | I_LegalDocument | LglCntntMVirtualDocVersKey | Virtual Doc Version | |
| LglCntntMVirtualDocSyncSts | I_LegalDocument | LglCntntMVirtualDocSyncSts | Doc Content Sync Sts | |
| LglCntntMCntxtDocUUID | I_LegalDocument | LglCntntMCntxtDocUUID | Universal Unique ID | |
| LglCntntMDocIsToBeDeleted | I_LegalDocument | LglCntntMDocIsToBeDeleted | Doc. To Be Deleted | |
| LglCntntMDocReferenceNumber | I_LegalDocument | LglCntntMDocReferenceNumber | Reference Number | |
| LglCntntMDocLowTouchLevel | I_LegalDocument | LglCntntMDocLowTouchLevel | Doc Low touch level | |
| LglCntntMCreatedFromDocUUID | I_LegalDocument | LglCntntMCreatedFromDocUUID | Universal Unique ID | |
| LglCntntMDocPaperType | I_LegalDocument | LglCntntMDocPaperType | Paper Type | |
| LglCntntMMainLinkdObjType | I_LegalDocument | LglCntntMMainLinkdObjType | Main Linked Obj Type | |
| LglCntntMMainLinkedObject | I_LegalDocument | LglCntntMMainLinkedObject | ||
| LglCntntMDocEffectiveFromDate | I_LegalDocument | LglCntntMDocEffectiveFromDate | Effective From | |
| LglCntntMDocEffectiveToDate | _LglCntntMDocEffectiveDate | LglCntntMFromDate | Valid From | |
| LglCntntMDocAmendmentType | I_LegalDocument | LglCntntMDocAmendmentType | Amendment Type | |
| LglCntntMSgntrPreference | I_LegalDocument | LglCntntMSgntrPreference | Signature Preference | |
| LglCntntMProfile | _LegalTransaction | LglCntntMProfile | Profile | |
| LglCntntMGovLaw | _LegalTransaction | LglCntntMGovLaw | Governing Law | |
| LglCntntMContextUUID | _LegalTransaction | LglCntntMContextUUID | Universal Unique ID | |
| LegalTransactionTitle | _LegalTransaction | LegalTransactionTitle | Title | |
| LglCntntMLongText | _Note | content | Trusted Site Content | |
| LglCntntMLongTextMimeType | _Note | mimetype | MIMETYPE | |
| LglCntntMDocStatusName | _DocStatusText | LglCntntMDocStatusName | Long Text | |
| LglCntntMDocLockedReasonCode | _DocLock | LglCntntMDocLockedReasonCode | Locked Reason | |
| LglCntntMCntxtDocumentID | LglCntntMCntxtDocumentID | Context Document ID | ||
| LglCntntMIsIntegRelevant | LglCntntMIsIntegRelevant | Integrated | ||
| LglCntntMDocRefreshStatus | _LglCntntMDocRefreshStatus | LglCntntMDocRefreshStatus | Content Refresh | |
| LglCntntMNmbrOfAdminvDocUpdt | LglCntntMNmbrOfAdminvDocUpdt | No of Admin Update | ||
| LglCntntMDocumentKind | LglCntntMDocumentKind | Document Kind | ||
| _LegalTransaction | _LegalTransaction | |||
| _Note | _Note | |||
| _Context | _Context | |||
| _DocLock | _DocLock | |||
| _DocAttach | _DocAttach | |||
| _AccessLvlText | _AccessLvlText | |||
| _ContentTypeText | _ContentTypeText | |||
| _DocumentKindText | _DocumentKindText | |||
| _LanguageText | _LanguageText | |||
| _DocStatusText | _DocStatusText | |||
| _SgntrDocStatusText | _SgntrDocStatusText | |||
| _DocSyncStatusText | _DocSyncStatusText | |||
| _LglCntntMDocLowTouchLvlTxt | _LglCntntMDocLowTouchLvlTxt | |||
| _LglCntntMDocAmendmentTypeTxt | _LglCntntMDocAmendmentTypeTxt | |||
| _LglCntntMSgntrPreferenceText | _LglCntntMSgntrPreferenceText | |||
| _LglCntntMDocLockedReasonText | _LglCntntMDocLockedReasonText | |||
| _LglCntntMDocAssemblyInfo | _LglCntntMDocAssemblyInfo | |||
| _LglCntntMDocTemplateInfo | _LglCntntMDocTemplateInfo | |||
| _DocAttachAll | _DocAttachAll | |||
| _LglCntntMDocumentStamp | _LglCntntMDocumentStamp | |||
| _LegalTransactionDocLink | _LegalTransactionDocLink | |||
| _CreatedBy | _CreatedBy | |||
| _ChangedBy | _ChangedBy | |||
| _LglCntntMDocRefreshStatus | _LglCntntMDocRefreshStatus | |||
| _LglCntntMDocCntntTypeSrchTxt | _LglCntntMDocCntntTypeSrchTxt | |||
| _LglCntntMDocPaperTypeTxt | _LglCntntMDocPaperTypeTxt | |||
| _LglCntntMDocAgreement | _LglCntntMDocAgreement |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_LcmDocument.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ILCMDOCUMENT
CREATE VIEW I_LcmDocument AS
SELECT
Document.LglCntntMDocumentUUID AS LglCntntMDocumentUUID,
Document.LglCntntMDocument AS LglCntntMDocument,
Document.LglCntntMDocumentLinkedObject AS LglCntntMDocumentLinkedObject,
Document.LglCntntMDocumentLinkedObjKey AS LglCntntMDocumentLinkedObjKey,
Document.LglCntntMDocumentIsTopVersion AS LglCntntMDocumentIsTopVersion,
Document.LegalTransaction AS LegalTransaction,
Document.LegalTransactionUUID AS LegalTransactionUUID,
Document.LglCntntMDocContentType AS LglCntntMDocContentType,
Document.LglCntntMLanguage AS LglCntntMLanguage,
Document.LglCntntMParentDocument AS LglCntntMParentDocument,
Document.LglCntntMChangedByUser AS LglCntntMChangedByUser,
Document.LglCntntMChangedUTCDateTime AS LglCntntMChangedUTCDateTime,
Document.LglCntntMCreatedByUser AS LglCntntMCreatedByUser,
Document.LglCntntMCreatedUTCDateTime AS LglCntntMCreatedUTCDateTime,
Document.DocumentDescription AS DocumentDescription,
Document.LglCntntMLongTextUUID AS LglCntntMLongTextUUID,
Document.LglCntntMIsMandatory AS LglCntntMIsMandatory,
Document.LegalDocumentSource AS LegalDocumentSource,
Document.LglCntntMDocAccessLvl AS LglCntntMDocAccessLvl,
Document.LglCntntMAgingTemperature AS LglCntntMAgingTemperature,
InternalDocumentStatus,
Document.LglCntntMSignatureDocStatus AS LglCntntMSignatureDocStatus,
DocumentVersion,
LegalDocumentVersion,
Document.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
Document.LglCntntMDocType AS LglCntntMDocType,
_LglCntntMDocAssemblyInfo.LglCntntMDocAssemblyStatus AS LglCntntMDocAssemblyStatus,
Document.LglCntntMTmplUUID AS LglCntntMTmplUUID,
Document.LglCntntMVirtualDocVersKey AS LglCntntMVirtualDocVersKey,
Document.LglCntntMVirtualDocSyncSts AS LglCntntMVirtualDocSyncSts,
Document.LglCntntMCntxtDocUUID AS LglCntntMCntxtDocUUID,
Document.LglCntntMDocIsToBeDeleted AS LglCntntMDocIsToBeDeleted,
Document.LglCntntMDocReferenceNumber AS LglCntntMDocReferenceNumber,
Document.LglCntntMDocLowTouchLevel AS LglCntntMDocLowTouchLevel,
Document.LglCntntMCreatedFromDocUUID AS LglCntntMCreatedFromDocUUID,
Document.LglCntntMDocPaperType AS LglCntntMDocPaperType,
Document.LglCntntMMainLinkdObjType AS LglCntntMMainLinkdObjType,
Document.LglCntntMMainLinkedObject AS LglCntntMMainLinkedObject,
Document.LglCntntMDocEffectiveFromDate AS LglCntntMDocEffectiveFromDate,
_LglCntntMDocEffectiveDate.LglCntntMFromDate AS LglCntntMDocEffectiveToDate,
Document.LglCntntMDocAmendmentType AS LglCntntMDocAmendmentType,
Document.LglCntntMSgntrPreference AS LglCntntMSgntrPreference,
_LegalTransaction.LglCntntMProfile AS LglCntntMProfile,
_LegalTransaction.LglCntntMGovLaw AS LglCntntMGovLaw,
_LegalTransaction.LglCntntMContextUUID AS LglCntntMContextUUID,
_LegalTransaction.LegalTransactionTitle AS LegalTransactionTitle,
_Note.content AS LglCntntMLongText,
_Note.mimetype AS LglCntntMLongTextMimeType,
_DocStatusText.LglCntntMDocStatusName AS LglCntntMDocStatusName,
_DocLock.LglCntntMDocLockedReasonCode AS LglCntntMDocLockedReasonCode,
LglCntntMCntxtDocumentID,
LglCntntMIsIntegRelevant,
_LglCntntMDocRefreshStatus.LglCntntMDocRefreshStatus AS LglCntntMDocRefreshStatus,
LglCntntMNmbrOfAdminvDocUpdt,
LglCntntMDocumentKind
FROM I_LegalDocument AS Document
LEFT OUTER JOIN I_LglCntntMDocStatus AS _DocStatus ON InternalDocumentStatus = _DocStatus.InternalDocumentStatus -- association [1..1]
LEFT OUTER JOIN I_LglCntntMDocInfoAttachment AS _DocAttach ON LglCntntMDocumentLinkedObjKey = _DocAttach.LinkedSAPObjectKey -- association [1..1]
LEFT OUTER JOIN I_LcmContext AS _Context ON LglCntntMContextUUID = _Context.LglCntntMContextUUID -- association [1..1]
LEFT OUTER JOIN Sgbt_Nte_Cds_Cont AS _Note ON _Note.noteid = LglCntntMLongTextUUID AND _Note.objectnodetype = 'LegalDocument' AND _Note.notetype = 'LCM_LONGTEXT' -- association [0..1]
LEFT OUTER JOIN I_LglCntntMDocLock AS _DocLock ON LglCntntMDocumentUUID = _DocLock.LglCntntMDocumentUUID AND LglCntntMDocumentLinkedObjKey = _DocLock.LglCntntMDocumentLinkedObjKey -- association [0..1]
LEFT OUTER JOIN I_LglCntntMAccessLvlText AS _AccessLvlText ON LglCntntMDocAccessLvl = _AccessLvlText.LglCntntMAccessLvl AND Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_LanguageText AS _LanguageText ON LglCntntMLanguage = _LanguageText.LanguageCode AND Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_LglCntntMDocContentTypeText AS _ContentTypeText ON LglCntntMDocContentType = _ContentTypeText.LglCntntMDocContentType AND Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_LglCntntMDocCntntTypeSrchTxt AS _LglCntntMDocCntntTypeSrchTxt ON LglCntntMDocContentType = _LglCntntMDocCntntTypeSrchTxt.LglCntntMDocContentType AND Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_LglCntntMDocStatusText AS _DocStatusText ON InternalDocumentStatus = _DocStatusText.InternalDocumentStatus AND Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_LglCntntMSgntrDocStatusText AS _SgntrDocStatusText ON LglCntntMSignatureDocStatus = _SgntrDocStatusText.LglCntntMSignatureDocStatus AND Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_LglCntntMDocSyncStatusText AS _DocSyncStatusText ON LglCntntMVirtualDocSyncSts = _DocSyncStatusText.LglCntntMVirtualDocSyncSts AND Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_LglCntntMDocLowTouchLvlTxt AS _LglCntntMDocLowTouchLvlTxt ON LglCntntMDocLowTouchLevel = _LglCntntMDocLowTouchLvlTxt.LglCntntMDocLowTouchLevel AND Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_LglCntntMDocumentKindText AS _DocumentKindText ON LglCntntMDocumentKind = _DocumentKindText.LglCntntMDocumentKind AND _DocumentKindText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN R_LglCntntMDocAmendmentTypeTxt AS _LglCntntMDocAmendmentTypeTxt ON LglCntntMDocAmendmentType = _LglCntntMDocAmendmentTypeTxt.LglCntntMDocAmendmentType AND _LglCntntMDocAmendmentTypeTxt.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN R_LglCntntMSgntrPreferenceText AS _LglCntntMSgntrPreferenceText ON LglCntntMSgntrPreference = _LglCntntMSgntrPreferenceText.LglCntntMSgntrPreference AND _LglCntntMSgntrPreferenceText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_LglCntntMDocLockedReasonText AS _LglCntntMDocLockedReasonText ON LglCntntMDocLockedReasonCode = _LglCntntMDocLockedReasonText.LglCntntMDocLockedReasonCode -- association [1..1]
LEFT OUTER JOIN I_LglCntntMDocRefreshStatus AS _LglCntntMDocRefreshStatus ON LglCntntMDocument = _LglCntntMDocRefreshStatus.LglCntntMDocument -- association [0..1]
LEFT OUTER JOIN I_LglCntntMDocTemplateInfo AS _LglCntntMDocTemplateInfo ON LglCntntMDocumentUUID = _LglCntntMDocTemplateInfo.LglCntntMDocumentUUID -- association [1..1]
LEFT OUTER JOIN I_LglCntntMDocInfoAttchAll AS _DocAttachAll ON LglCntntMDocumentLinkedObjKey = _DocAttachAll.LinkedSAPObjectKey -- association [0..1]
LEFT OUTER JOIN I_LglCntntMDocumentStamp AS _LglCntntMDocumentStamp ON LglCntntMDocumentUUID = _LglCntntMDocumentStamp.LglCntntMDocumentUUID -- association [0..*]
LEFT OUTER JOIN I_LegalTransactionDocLink AS _LegalTransactionDocLink ON LglCntntMDocument = _LegalTransactionDocLink.LglCntntMDocument -- association [0..*]
LEFT OUTER JOIN I_LCMUserAddressAssignment AS _CreatedBy ON LglCntntMCreatedByUser = _CreatedBy.ContactCardID -- association [0..1]
LEFT OUTER JOIN I_LCMUserAddressAssignment AS _ChangedBy ON LglCntntMChangedByUser = _ChangedBy.ContactCardID -- association [0..1]
LEFT OUTER JOIN I_LglCntntMDocAssemblyInfo AS _LglCntntMDocAssemblyInfo ON LglCntntMDocumentUUID = _LglCntntMDocAssemblyInfo.LglCntntMDocumentUUID AND Document.LglCntntMVirtualDocVersKey = _LglCntntMDocAssemblyInfo.LglCntntMVirtualDocVersKey -- association [1..1]
LEFT OUTER JOIN I_LglCntntMDocPaperTypeTxt AS _LglCntntMDocPaperTypeTxt ON LglCntntMDocPaperType = _LglCntntMDocPaperTypeTxt.LglCntntMDocPaperType AND _LglCntntMDocPaperTypeTxt.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_LegalTransactionDate AS _LglCntntMDocEffectiveDate ON LegalTransactionUUID = _LglCntntMDocEffectiveDate.LegalTransactionUUID AND _LglCntntMDocEffectiveDate.LglCntntMDateType = 'SAP2' -- association [0..1]
LEFT OUTER JOIN I_LglCntntMDocAgreement AS _LglCntntMDocAgreement ON LglCntntMDocumentUUID = _LglCntntMDocAgreement.LglCntntMDocumentUUID -- association [0..1]
LEFT OUTER JOIN E_LegalDocument AS _Extenstion ON LglCntntMDocumentUUID = _Extenstion.LglCntntMDocumentUUID -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- 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
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA