C_LglCntntMLglTransEntityList
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)
| Source | Alias | Join Type |
|---|---|---|
| C_LegalTransactionEntity | C_LegalTransactionEntity | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA