I_LglCntntMDocObligation

DDL: I_LGLCNTNTMDOCOBLIGATION SQL: ILCMDOCOBLGN Type: view BASIC

Basic View for LCM Document Obligation

I_LglCntntMDocObligation is a Basic CDS View that provides data about "Basic View for LCM Document Obligation" in SAP S/4HANA. It reads from 1 data source (lcm_obligation) and exposes 17 fields with key field LglCntntMDocOblgnUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
lcm_obligation lcm_obligation from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_LegalDocument _DocumentAuth $projection.LglCntntMDocumentUUID = _DocumentAuth.LglCntntMDocumentUUID
[0..1] Sgbt_Nte_Cds_Cont _NoteDesc _NoteDesc.noteid = $projection.LglCntntMDocOblgnDescUUID and _NoteDesc.objectnodetype = 'LegalDocument' and _NoteDesc.notetype = 'LCM_DOC_OBL_DESC'
[0..1] Sgbt_Nte_Cds_Cont _NoteCndn _NoteCndn.noteid = $projection.LglCntntMDocOblgnCndnUUID and _NoteCndn.objectnodetype = 'LegalDocument' and _NoteCndn.notetype = 'LCM_DOC_OBL_COND'

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ILCMDOCOBLGN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
EndUserText.label Basic View for LCM Document Obligation view
ObjectModel.semanticKey LglCntntMDocObligation view
ObjectModel.representativeKey LglCntntMDocOblgnUUID view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMDocOblgnUUID lglcntntmdocoblgnuuid Universal Unique ID
LglCntntMDocObligation lglcntntmdocobligation Obligation ID
LglCntntMDocOblgnType lglcntntmdocoblgntype Obligation Type
LglCntntMDocumentUUID lglcntntmdocumentuuid Universal Unique ID
LglCntntMDocOblgnRisk lglcntntmdocoblgnrisk Risk
LglCntntMDocOblgnStrtDte lglcntntmdocoblgnstrtdte Valid From
LglCntntMDocOblgnEndDte lglcntntmdocoblgnenddte Valid To
LglCntntMDocOblgnHasRem lglcntntmdocoblgnhasrem TRUE
LglCntntMDocOblgnDescUUID lglcntntmdocoblgndescuuid Oblgn. Desc. UUID
LglCntntMDocOblgnCndnUUID lglcntntmdocoblgncndnuuid Oblgn. Cndn. UUID
LglCntntMDocOblgnChgInDescTxt lglcntntmdocoblgnchgindesctxt Desc. Change Ind.
LglCntntMDocOblgnChgInCndnTxt lglcntntmdocoblgnchgincndntxt Cndn. Change Ind.
_DocumentAuth _DocumentAuth
LglCntntMDocObligationDesc _NoteDesc content Trusted Site Content
LglCntntMOblgnDescMimeType _NoteDesc mimetype MIMETYPE
LglCntntMDocOblgnCndnTxt _NoteCndn content Trusted Site Content
LglCntntMOblgnCndnMimeType _NoteCndn mimetype MIMETYPE

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_LglCntntMDocObligation.
-- 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: ILCMDOCOBLGN

CREATE VIEW I_LglCntntMDocObligation AS
SELECT
  LglCntntMDocOblgnUUID,
  LglCntntMDocObligation,
  LglCntntMDocOblgnType,
  LglCntntMDocumentUUID,
  LglCntntMDocOblgnRisk,
  LglCntntMDocOblgnStrtDte,
  LglCntntMDocOblgnEndDte,
  LglCntntMDocOblgnHasRem,
  LglCntntMDocOblgnDescUUID,
  LglCntntMDocOblgnCndnUUID,
  LglCntntMDocOblgnChgInDescTxt,
  LglCntntMDocOblgnChgInCndnTxt,
  _NoteDesc.content AS LglCntntMDocObligationDesc,
  _NoteDesc.mimetype AS LglCntntMOblgnDescMimeType,
  _NoteCndn.content AS LglCntntMDocOblgnCndnTxt,
  _NoteCndn.mimetype AS LglCntntMOblgnCndnMimeType
FROM lcm_obligation
LEFT OUTER JOIN I_LegalDocument AS _DocumentAuth ON LglCntntMDocumentUUID = _DocumentAuth.LglCntntMDocumentUUID  -- association [1..1]
LEFT OUTER JOIN Sgbt_Nte_Cds_Cont AS _NoteDesc ON _NoteDesc.noteid = LglCntntMDocOblgnDescUUID AND _NoteDesc.objectnodetype = 'LegalDocument' AND _NoteDesc.notetype = 'LCM_DOC_OBL_DESC'  -- association [0..1]
LEFT OUTER JOIN Sgbt_Nte_Cds_Cont AS _NoteCndn ON _NoteCndn.noteid = LglCntntMDocOblgnCndnUUID AND _NoteCndn.objectnodetype = 'LegalDocument' AND _NoteCndn.notetype = 'LCM_DOC_OBL_COND'  -- association [0..1]
;