A_CntrlPurContrLegalTrans

DDL: A_CNTRLPURCONTRLEGALTRANS SQL: ACNTRLPCLT Type: view CONSUMPTION Package: ODATA_MM_PUR_CCTR_API

Legal Transaction

A_CntrlPurContrLegalTrans is a Consumption CDS View that provides data about "Legal Transaction" in SAP S/4HANA. It reads from 2 data sources (I_CentralPurchaseContract, A_LglTransLinkedObjects) and exposes 9 fields with key fields CentralPurchaseContract, LegalTransaction. Part of development package ODATA_MM_PUR_CCTR_API.

Data Sources (2)

SourceAliasJoin Type
I_CentralPurchaseContract CentralPurchaseContract from
A_LglTransLinkedObjects LglTransLinkedObjects inner

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ACNTRLPCLT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled false view
EndUserText.label Legal Transaction view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY CentralPurchaseContract CentralPurchaseContract Purchasing Doc.
KEY LegalTransaction
LegalTransactionTitle
LglCntntMProfile
LglTransAccessLvl
LglCntntMMainOrgCoCode
LglCntntMMainOrgSalesOrg
LglCntntMMainOrgPurOrg
IsEndOfPurposeBlocked

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_CntrlPurContrLegalTrans.
-- 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: ACNTRLPCLT

CREATE VIEW A_CntrlPurContrLegalTrans AS
SELECT
  CentralPurchaseContract,
  LglTransLinkedObjects._LegalTransaction.LegalTransaction AS LegalTransaction,
  LglTransLinkedObjects._LegalTransaction.LegalTransactionTitle AS LegalTransactionTitle,
  LglTransLinkedObjects._LegalTransaction.LglCntntMProfile AS LglCntntMProfile,
  LglTransLinkedObjects._LegalTransaction.LglTransAccessLvl AS LglTransAccessLvl,
  LglTransLinkedObjects._LegalTransaction.LglCntntMMainOrgCoCode AS LglCntntMMainOrgCoCode,
  LglTransLinkedObjects._LegalTransaction.LglCntntMMainOrgSalesOrg AS LglCntntMMainOrgSalesOrg,
  LglTransLinkedObjects._LegalTransaction.LglCntntMMainOrgPurOrg AS LglCntntMMainOrgPurOrg,
  LglTransLinkedObjects._LegalTransaction.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked
FROM I_CentralPurchaseContract AS CentralPurchaseContract
INNER JOIN A_LglTransLinkedObjects AS LglTransLinkedObjects ON /* join condition not captured in parsed metadata */
;