C_LglCntntMLglTransEntityList

DDL: C_LGLCNTNTMLGLTRANSENTITYLIST SQL: CLCMLTENTITIY Type: view CONSUMPTION

Legal Transaction Entities

C_LglCntntMLglTransEntityList is a Consumption CDS View that provides data about "Legal Transaction Entities" in SAP S/4HANA. It reads from 1 data source (C_LegalTransactionEntity) and exposes 12 fields with key field LegalTransactionEntityUUID. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
C_LegalTransactionEntity C_LegalTransactionEntity from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_PurchasingOrganization _PurchasingOrganization _PurchasingOrganization.PurchasingOrganization = $projection.LglCntntMEntity and $projection.LglCntntMTechEntityType = '05'
[0..1] I_Supplier _Supplier _Supplier.Supplier = $projection.LglCntntMEntity and $projection.LglCntntMTechEntityType = '01'
[0..1] I_SalesOrganizationText _SalesOrganizationText _SalesOrganizationText.SalesOrganization = $projection.LglCntntMEntity and $projection.LglCntntMTechEntityType = '04' and _SalesOrganizationText.Language = $session.system_language
[0..1] I_Customer _Customer _Customer.Customer = $projection.LglCntntMEntity and $projection.LglCntntMTechEntityType = '02'
[0..1] I_CompanyCode _CompanyCode _CompanyCode.CompanyCode = $projection.LglCntntMEntity and $projection.LglCntntMTechEntityType = '03'
[0..1] I_BusinessPartner _BusinessPartner _BusinessPartner.BusinessPartner = $projection.LglCntntMEntity and $projection.LglCntntMTechEntityType = '06'

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CLCMLTENTITIY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Legal Transaction Entities view
VDM.viewType #CONSUMPTION view
Metadata.ignorePropagatedAnnotations true view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.representativeKey LEGALTRANSACTIONENTITYUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY LegalTransactionEntityUUID LegalTransactionEntityUUID Universal Unique ID
LegalTransactionUUID LegalTransactionUUID Universal Unique ID
LegalTransaction _LegalTransaction LegalTransaction Legal Transaction ID
LglCntntMEntityType LglCntntMEntityType Entity Type
LglCntntMEntityTypeName LglCntntMEntityTypeName Long Text
LglCntntMTechEntityType LglCntntMTechEntityType Entity Techn. Type
_PurchasingOrganization _PurchasingOrganization
_Supplier _Supplier
_SalesOrganizationText _SalesOrganizationText
_Customer _Customer
_CompanyCode _CompanyCode
_BusinessPartner _BusinessPartner

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 C_LglCntntMLglTransEntityList.
-- 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: CLCMLTENTITIY

CREATE VIEW C_LglCntntMLglTransEntityList AS
SELECT
  LegalTransactionEntityUUID,
  LegalTransactionUUID,
  _LegalTransaction.LegalTransaction AS LegalTransaction,
  LglCntntMEntityType,
  LglCntntMEntityTypeName,
  LglCntntMTechEntityType
FROM C_LegalTransactionEntity
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganization ON _PurchasingOrganization.PurchasingOrganization = LglCntntMEntity AND LglCntntMTechEntityType = '05'  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON _Supplier.Supplier = LglCntntMEntity AND LglCntntMTechEntityType = '01'  -- association [0..1]
LEFT OUTER JOIN I_SalesOrganizationText AS _SalesOrganizationText ON _SalesOrganizationText.SalesOrganization = LglCntntMEntity AND LglCntntMTechEntityType = '04' AND _SalesOrganizationText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON _Customer.Customer = LglCntntMEntity AND LglCntntMTechEntityType = '02'  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON _CompanyCode.CompanyCode = LglCntntMEntity AND LglCntntMTechEntityType = '03'  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON _BusinessPartner.BusinessPartner = LglCntntMEntity AND LglCntntMTechEntityType = '06'  -- association [0..1]
;