C_LegalTransactionQuickView

DDL: C_LEGALTRANSACTIONQUICKVIEW SQL: CLGLTRQUICKVIEW Type: view CONSUMPTION Package: ODATA_LCM_LT

Consumption view for Legal Transaction quick view

C_LegalTransactionQuickView is a Consumption CDS View that provides data about "Consumption view for Legal Transaction quick view" in SAP S/4HANA. It reads from 1 data source (I_LegalTransactionQuickView) and exposes 17 fields with key field LegalTransaction. It has 2 associations to related views. Part of development package ODATA_LCM_LT.

Data Sources (1)

SourceAliasJoin Type
I_LegalTransactionQuickView LegalTransactionQuickView from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_LegalTrEntityAggr _LegalTrEntityAggrgn $projection.LegalTransactionEntityUUID = _LegalTrEntityAggrgn.LegalTransactionEntityUUID
[0..1] C_LegalTransactionHealthVH _LegalTransactionHealthVH $projection.LegalTransactionHealth = _LegalTransactionHealthVH.LegalTransactionHealth

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CLGLTRQUICKVIEW view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Consumption view for Legal Transaction quick view view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.representativeKey LegalTransaction view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY LegalTransaction LegalTransaction Legal Transaction ID
LegalTransactionUUID LegalTransactionUUID Universal Unique ID
LglCntntMEntity LglCntntMEntity Main Entity
LglCntntMEntityName _LegalTrEntityAggrgn LglCntntMEntityName
LglCntntMEntityType _LegalTrEntityAggrgn LglCntntMEntityType Entity Type
LglCntntMEntityTypeName _LegalTrEntityAggrgn LglCntntMEntityTypeName Long Text
LegalTransactionHealth LegalTransactionHealth Status
LegalTransactionHealthName
LglCntntMProfile LglCntntMProfile Profile
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
LglTransAccessLvl LglTransAccessLvl Acs. Level
LglCntntMMainOrgCoCode LglCntntMMainOrgCoCode Entity ID
LglCntntMMainOrgSalesOrg LglCntntMMainOrgSalesOrg Entity ID
LglCntntMMainOrgPurOrg LglCntntMMainOrgPurOrg Entity ID
_LegalTrEntityAggrgn _LegalTrEntityAggrgn
_LegalTransactionHealthVH _LegalTransactionHealthVH
LegalTransactionEntityUUID I_LegalTransactionQuickView LegalTransactionEntityUUID Universal Unique ID

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_LegalTransactionQuickView.
-- 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: CLGLTRQUICKVIEW

CREATE VIEW C_LegalTransactionQuickView AS
SELECT
  LegalTransaction,
  LegalTransactionUUID,
  LglCntntMEntity,
  _LegalTrEntityAggrgn.LglCntntMEntityName AS LglCntntMEntityName,
  _LegalTrEntityAggrgn.LglCntntMEntityType AS LglCntntMEntityType,
  _LegalTrEntityAggrgn.LglCntntMEntityTypeName AS LglCntntMEntityTypeName,
  LegalTransactionHealth,
  _LegalTransactionHealthText[1: Language = $session.system_language].LegalTransactionHealthName AS LegalTransactionHealthName,
  LglCntntMProfile,
  IsEndOfPurposeBlocked,
  LglTransAccessLvl,
  LglCntntMMainOrgCoCode,
  LglCntntMMainOrgSalesOrg,
  LglCntntMMainOrgPurOrg,
  LegalTransactionQuickView.LegalTransactionEntityUUID AS LegalTransactionEntityUUID
FROM I_LegalTransactionQuickView AS LegalTransactionQuickView
LEFT OUTER JOIN I_LegalTrEntityAggr AS _LegalTrEntityAggrgn ON LegalTransactionEntityUUID = _LegalTrEntityAggrgn.LegalTransactionEntityUUID  -- association [0..1]
LEFT OUTER JOIN C_LegalTransactionHealthVH AS _LegalTransactionHealthVH ON LegalTransactionHealth = _LegalTransactionHealthVH.LegalTransactionHealth  -- association [0..1]
;