I_LegalTransactionEntity
Basic View for LCM Legal Transaction Entity
I_LegalTransactionEntity is a Basic CDS View that provides data about "Basic View for LCM Legal Transaction Entity" in SAP S/4HANA. It reads from 1 data source (lcm_lt_entity) and exposes 19 fields with key field LegalTransactionEntityUUID. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| lcm_lt_entity | lcm_lt_entity | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_LegalTransaction | _LegalTransaction | $projection.LegalTransactionUUID = _LegalTransaction.LegalTransactionUUID |
| [0..1] | I_LCMEntityTypeText | _EntityTypeText | $projection.LglCntntMEntityType = _EntityTypeText.LglCntntMEntityType and _EntityTypeText.Language = $session.system_language |
| [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 (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ILEGALTRENTITY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.representativeKey | LEGALTRANSACTIONENTITYUUID | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Basic View for LCM Legal Transaction Entity | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LegalTransactionEntityUUID | lcm_lt_entity | legaltransactionentityuuid | Universal Unique ID |
| LglCntntMRank | lcm_lt_entity | lglcntntmrank | Seq No | |
| LglCntntMEntity | lcm_lt_entity | lglcntntmentity | Entity ID | |
| LglCntntMEntityType | lcm_lt_entity | lglcntntmentitytype | Entity Type | |
| LglCntntMEntityTypeName | _EntityTypeText | LglCntntMEntityTypeName | Long Text | |
| LglCntntMTechEntityType | lcm_lt_entity | lglcntntmtechentitytype | Entity Techn. Type | |
| LegalTransactionUUID | lcm_lt_entity | legaltransactionuuid | Universal Unique ID | |
| LegalTransactionMandatoryFlag | lcm_lt_entity | legaltransactionmandatoryflag | Mandatory | |
| LglCntntMIsMainEntity | lcm_lt_entity | lglcntntmismainentity | Main Entity | |
| LglCntntMIsIntegRelevant | lcm_lt_entity | lglcntntmisintegrelevant | Integrated | |
| LglCntntMIsAddedByIntegVarbl | lcm_lt_entity | lglcntntmisaddedbyintegvarbl | Added By Integration | |
| _LegalTransaction | _LegalTransaction | |||
| _EntityTypeText | _EntityTypeText | |||
| _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 I_LegalTransactionEntity.
-- 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: ILEGALTRENTITY
CREATE VIEW I_LegalTransactionEntity AS
SELECT
lcm_lt_entity.legaltransactionentityuuid AS LegalTransactionEntityUUID,
lcm_lt_entity.lglcntntmrank AS LglCntntMRank,
lcm_lt_entity.lglcntntmentity AS LglCntntMEntity,
lcm_lt_entity.lglcntntmentitytype AS LglCntntMEntityType,
_EntityTypeText.LglCntntMEntityTypeName AS LglCntntMEntityTypeName,
lcm_lt_entity.lglcntntmtechentitytype AS LglCntntMTechEntityType,
lcm_lt_entity.legaltransactionuuid AS LegalTransactionUUID,
lcm_lt_entity.legaltransactionmandatoryflag AS LegalTransactionMandatoryFlag,
lcm_lt_entity.lglcntntmismainentity AS LglCntntMIsMainEntity,
lcm_lt_entity.lglcntntmisintegrelevant AS LglCntntMIsIntegRelevant,
lcm_lt_entity.lglcntntmisaddedbyintegvarbl AS LglCntntMIsAddedByIntegVarbl
FROM lcm_lt_entity
LEFT OUTER JOIN I_LegalTransaction AS _LegalTransaction ON LegalTransactionUUID = _LegalTransaction.LegalTransactionUUID -- association [1..1]
LEFT OUTER JOIN I_LCMEntityTypeText AS _EntityTypeText ON LglCntntMEntityType = _EntityTypeText.LglCntntMEntityType AND _EntityTypeText.Language = $session.system_language -- association [0..1]
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