I_LglCntntMContextDocTP

DDL: I_LGLCNTNTMCONTEXTDOCTP Type: view_entity TRANSACTIONAL

Legal Context Documents

I_LglCntntMContextDocTP is a Transactional CDS View that provides data about "Legal Context Documents" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMContextDoc) and exposes 11 fields with key field LglCntntMCntxtDocUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_LglCntntMContextDoc I_LglCntntMContextDoc from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_LanguageText _LanguageText $projection.LglCntntMLanguage = _LanguageText.LanguageCode

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Legal Context Documents view

Fields (11)

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

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_LglCntntMContextDocTP.
-- 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 I_LglCntntMContextDocTP AS
SELECT
  LglCntntMCntxtDocUUID,
  LglCntntMContextUUID,
  LglCntntMDocContentType,
  LglCntntMIsMandatory,
  LglCntntMLanguage,
  LglCntntMCntxtDocumentID,
  LglCntntMIsIntegRelevant
FROM I_LglCntntMContextDoc
LEFT OUTER JOIN I_LanguageText AS _LanguageText ON LglCntntMLanguage = _LanguageText.LanguageCode  -- association [0..*]
;