A_LegalContextDocument

DDL: A_LEGALCONTEXTDOCUMENT Type: view_entity CONSUMPTION Package: ODATA_LCM_CTX_API

Legal Context Document

A_LegalContextDocument is a Consumption CDS View that provides data about "Legal Context Document" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMContextDocTP) and exposes 7 fields with key field LglCntntMCntxtDocUUID. Part of development package ODATA_LCM_CTX_API.

Data Sources (1)

SourceAliasJoin Type
I_LglCntntMContextDocTP I_LglCntntMContextDocTP projection

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Legal Context Document view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.modelingPattern #TRANSACTIONAL_INTERFACE view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
Metadata.ignorePropagatedAnnotations true view
OData.entityType.name LegalContextDocument_Type view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMCntxtDocUUID LglCntntMCntxtDocUUID Universal Unique ID
LglCntntMContextUUID LglCntntMContextUUID Universal Unique ID
LglCntntMCntxtDocumentID LglCntntMCntxtDocumentID Context Document ID
LglCntntMDocContentType LglCntntMDocContentType Content Type
LglCntntMLanguage LglCntntMLanguage Language
LglCntntMIsMandatory LglCntntMIsMandatory Is Mandatory
LglCntntMIsIntegRelevant LglCntntMIsIntegRelevant Integrated

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 A_LegalContextDocument.
-- 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.

CREATE VIEW A_LegalContextDocument AS
SELECT
  LglCntntMCntxtDocUUID,
  LglCntntMContextUUID,
  LglCntntMCntxtDocumentID,
  LglCntntMDocContentType,
  LglCntntMLanguage,
  LglCntntMIsMandatory,
  LglCntntMIsIntegRelevant
FROM I_LglCntntMContextDocTP
;