A_LegalDocAgreement_2

DDL: A_LEGALDOCAGREEMENT_2 Type: view_entity CONSUMPTION Package: ODATA_LCM_DOC_RAP_API

Legal Document Agreement

A_LegalDocAgreement_2 is a Consumption CDS View that provides data about "Legal Document Agreement" in SAP S/4HANA. It reads from 1 data source (R_LegalDocAgreementTP) and exposes 10 fields with key field LglCntntMAgreementUUID. It is exposed through 1 OData service (API_LEGAL_DOCUMENT_2). Part of development package ODATA_LCM_DOC_RAP_API.

Data Sources (1)

SourceAliasJoin Type
R_LegalDocAgreementTP R_LegalDocAgreementTP projection

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Legal Document Agreement view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.representativeKey LglCntntMAgreementUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
OData.entityType.name LglCntntMDocAgreement_Type view

OData Services (1)

ServiceBindingVersionContractRelease
API_LEGAL_DOCUMENT_2 API_LEGAL_DOCUMENT_2 V4 C2 C1

Fields (10)

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
LglCntntMDocAgrmtCoreStatus LglCntntMDocAgrmtCoreStatus Agrmnt. Core Status
LglCntntMDocAgrmtBizStatus LglCntntMDocAgrmtBizStatus Agrmt Bus Status
LglCntntMDocAgrmtVersion LglCntntMDocAgrmtVersion Ext. Version
LglCntntMChangedUTCDateTime LglCntntMChangedUTCDateTime Changed On

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