C_LegalTrParentCategoryTP

DDL: C_LEGALTRPARENTCATEGORYTP SQL: CLEGALTRPRCATGTP Type: view CONSUMPTION

Legal Transaction Parent Categories

C_LegalTrParentCategoryTP is a Consumption CDS View that provides data about "Legal Transaction Parent Categories" in SAP S/4HANA. It reads from 1 data source (I_LegalTrParentCategoryTP) and exposes 13 fields with key field LegalTransactionParCatUUID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_LegalTrParentCategoryTP I_LegalTrParentCategoryTP from

Associations (4)

CardinalityTargetAliasCondition
[1..1] C_LegalTransactionTP _LegalTransactionTP $projection.LegalTransactionUUID = _LegalTransactionTP.LegalTransactionUUID
[0..*] C_LegalTransactionCategoryTP _LegalTransactionCategoryTP $projection.LegalTransactionParCatUUID = _LegalTransactionCategoryTP.LegalTransactionParCatUUID
[1..1] C_LegalTrCategoryGroupTP _LegalTrCategoryGroupTP $projection.LegalTransactionCatGroupUUID = _LegalTrCategoryGroupTP.LegalTransactionCatGroupUUID
[0..1] C_LCMParentCategoryValueHelp _LCMParentCategoryValueHelp $projection.LglCntntMParentCategory = _LCMParentCategoryValueHelp.LglCntntMParentCategory

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CLEGALTRPRCATGTP view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey LegalTransactionParCatUUID view
ObjectModel.semanticKey LglCntntMParentCategory view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Legal Transaction Parent Categories view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY LegalTransactionParCatUUID LegalTransactionParCatUUID Universal Unique ID
LegalTransactionCatGroupUUID LegalTransactionCatGroupUUID Universal Unique ID
LegalTransactionUUID LegalTransactionUUID Universal Unique ID
LglCntntMParentCategory LglCntntMParentCategory Parent Category ID
LglCntntMParentCategoryText _LglCntntMParentCatAggrgn LglCntntMParentCategoryText
LglCntntMIsMandatory LglCntntMIsMandatory Is Mandatory
LglCntntMIndex LglCntntMIndex Index
LglCntntMCatIsMultiSelection _LglCntntMParentCatAggrgn LglCntntMCatIsMultiSelection Multiple Selection
_LegalTransaction _LegalTransaction
_LegalTrCategoryGroupTP _LegalTrCategoryGroupTP
_LegalTransactionTP _LegalTransactionTP
_LegalTransactionCategoryTP _LegalTransactionCategoryTP
_LCMParentCategoryValueHelp _LCMParentCategoryValueHelp

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_LegalTrParentCategoryTP.
-- 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: CLEGALTRPRCATGTP

CREATE VIEW C_LegalTrParentCategoryTP AS
SELECT
  LegalTransactionParCatUUID,
  LegalTransactionCatGroupUUID,
  LegalTransactionUUID,
  LglCntntMParentCategory,
  _LglCntntMParentCatAggrgn.LglCntntMParentCategoryText AS LglCntntMParentCategoryText,
  LglCntntMIsMandatory,
  LglCntntMIndex,
  _LglCntntMParentCatAggrgn.LglCntntMCatIsMultiSelection AS LglCntntMCatIsMultiSelection
FROM I_LegalTrParentCategoryTP
LEFT OUTER JOIN C_LegalTransactionTP AS _LegalTransactionTP ON LegalTransactionUUID = _LegalTransactionTP.LegalTransactionUUID  -- association [1..1]
LEFT OUTER JOIN C_LegalTransactionCategoryTP AS _LegalTransactionCategoryTP ON LegalTransactionParCatUUID = _LegalTransactionCategoryTP.LegalTransactionParCatUUID  -- association [0..*]
LEFT OUTER JOIN C_LegalTrCategoryGroupTP AS _LegalTrCategoryGroupTP ON LegalTransactionCatGroupUUID = _LegalTrCategoryGroupTP.LegalTransactionCatGroupUUID  -- association [1..1]
LEFT OUTER JOIN C_LCMParentCategoryValueHelp AS _LCMParentCategoryValueHelp ON LglCntntMParentCategory = _LCMParentCategoryValueHelp.LglCntntMParentCategory  -- association [0..1]
;