C_LegalTransactionHealth
Legal Transaction Health
C_LegalTransactionHealth is a Consumption CDS View that provides data about "Legal Transaction Health" in SAP S/4HANA. It reads from 1 data source (I_LegalTransactionTP) and exposes 17 fields with key field LegalTransactionUUID. It has 1 association to related views. Part of development package ODATA_LCM_COMMON.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LegalTransactionTP | I_LegalTransactionTP | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_LegalTransactionHealthVH | _LegalTransactionHealthVH | $projection.LegalTransactionHealth = _LegalTransactionHealthVH.LegalTransactionHealth |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CLCMLTHEALTH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.viewType | #CONSUMPTION | view | |
| UI.headerInfo.typeNamePlural | Legal Transaction Health | view | |
| UI.headerInfo.typeName | Legal Transaction Health | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Legal Transaction Health | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LegalTransactionUUID | LegalTransactionUUID | Universal Unique ID | |
| LegalTransaction | LegalTransaction | Legal Transaction ID | ||
| LegalTransactionHealth | LegalTransactionHealth | LT Status | ||
| LegalTransactionHealthName | _LegalTransactionHealthVH | LegalTransactionHealthName | Long Text | |
| LglCntntMContext | LglCntntMContext | Context ID | ||
| LglCntntMContextVersion | LglCntntMContextVersion | Context Version | ||
| LglCntntMEntity | LglCntntMEntity | Entity ID | ||
| LglCntntMEntityType | LglCntntMEntityType | Entity Type | ||
| LglCntntMProfile | LglCntntMProfile | Profile | ||
| LglTransAccessLvl | LglTransAccessLvl | Acs. Level | ||
| LglCntntMMainOrgCoCode | LglCntntMMainOrgCoCode | Entity ID | ||
| LglCntntMMainOrgSalesOrg | LglCntntMMainOrgSalesOrg | Entity ID | ||
| LglCntntMMainOrgPurOrg | LglCntntMMainOrgPurOrg | Entity ID | ||
| IsEndOfPurposeBlocked | IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. | ||
| LglCntntMCreatedUTCDateTime | LglCntntMCreatedUTCDateTime | Created On | ||
| CalendarYear | Created On | |||
| YearQuarter |
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_LegalTransactionHealth.
-- 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: CLCMLTHEALTH
CREATE VIEW C_LegalTransactionHealth AS
SELECT
LegalTransactionUUID,
LegalTransaction,
LegalTransactionHealth,
_LegalTransactionHealthVH.LegalTransactionHealthName AS LegalTransactionHealthName,
LglCntntMContext,
LglCntntMContextVersion,
LglCntntMEntity,
LglCntntMEntityType,
LglCntntMProfile,
LglTransAccessLvl,
LglCntntMMainOrgCoCode,
LglCntntMMainOrgSalesOrg,
LglCntntMMainOrgPurOrg,
IsEndOfPurposeBlocked,
LglCntntMCreatedUTCDateTime,
cast( substring(cast (LglCntntMCreatedUTCDateTime as abap.char( 21 )), 1, 4) as calendaryear ) AS CalendarYear,
cast( substring(cast($session.system_date as abap.char( 8 ) ), 1, 4) as vdm_yearquarter) AS YearQuarter
FROM I_LegalTransactionTP
LEFT OUTER JOIN C_LegalTransactionHealthVH AS _LegalTransactionHealthVH ON LegalTransactionHealth = _LegalTransactionHealthVH.LegalTransactionHealth -- association [1..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