R_LegalDocAgreementTP

DDL: R_LEGALDOCAGREEMENTTP Type: view_entity TRANSACTIONAL

LCM Document Agreement

R_LegalDocAgreementTP is a Transactional CDS View that provides data about "LCM Document Agreement" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMDocAgreement) and exposes 18 fields with key field LglCntntMAgreementUUID.

Data Sources (1)

SourceAliasJoin Type
I_LglCntntMDocAgreement I_LglCntntMDocAgreement from

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label LCM Document Agreement view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMAgreementUUID LglCntntMAgreementUUID Agreement UUID
LglCntntMDocumentUUID LglCntntMDocumentUUID Universal Unique ID
LglCntntMContractTypeName LglCntntMContractTypeName Contract Type
LglCntntMAgreementTemplateID LglCntntMAgreementTemplateID Template ID
LglCntntMAgreementTemplateName LglCntntMAgreementTemplateName Agreement Tmpl Name
LglCntntMAgreementSystemID LglCntntMAgreementSystemID System ID
LglCntntMDocAgrmtVersion LglCntntMDocAgrmtVersion Ext. Version
LglCntntMLogHandler LglCntntMLogHandler Handle
LglCntntMDocAgrmtCoreStatus LglCntntMDocAgrmtCoreStatus Agrmnt. Core Status
LglCntntMDocAgrmtBizStatus LglCntntMDocAgrmtBizStatus Agrmt Bus Status
LglCntntMCreatedUTCDateTime LglCntntMCreatedUTCDateTime Created On
LglCntntMCreatedByUser LglCntntMCreatedByUser Created By
LglCntntMChangedUTCDateTime LglCntntMChangedUTCDateTime Changed On
LglCntntMChangedByUser LglCntntMChangedByUser Changed By
_ChangedBy _ChangedBy
_CreatedBy _CreatedBy
_DocumentAuth _DocumentAuth
_Document _Document

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 R_LegalDocAgreementTP.
-- 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 R_LegalDocAgreementTP AS
SELECT
  LglCntntMAgreementUUID,
  LglCntntMDocumentUUID,
  LglCntntMContractTypeName,
  LglCntntMAgreementTemplateID,
  LglCntntMAgreementTemplateName,
  LglCntntMAgreementSystemID,
  LglCntntMDocAgrmtVersion,
  LglCntntMLogHandler,
  LglCntntMDocAgrmtCoreStatus,
  LglCntntMDocAgrmtBizStatus,
  LglCntntMCreatedUTCDateTime,
  LglCntntMCreatedByUser,
  LglCntntMChangedUTCDateTime,
  LglCntntMChangedByUser
FROM I_LglCntntMDocAgreement
;