C_LegalTransactionHealth

DDL: C_LEGALTRANSACTIONHEALTH SQL: CLCMLTHEALTH Type: view CONSUMPTION Package: ODATA_LCM_COMMON

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)

SourceAliasJoin Type
I_LegalTransactionTP I_LegalTransactionTP from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_LegalTransactionHealthVH _LegalTransactionHealthVH $projection.LegalTransactionHealth = _LegalTransactionHealthVH.LegalTransactionHealth

Annotations (13)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;