I_LglCntntMRelshpUseCaseStatus

DDL: I_LGLCNTNTMRELSHPUSECASESTATUS SQL: ILCMRELUSECASST Type: view COMPOSITE

Basic view for all Legal Transactions and usecases

I_LglCntntMRelshpUseCaseStatus is a Composite CDS View that provides data about "Basic view for all Legal Transactions and usecases" in SAP S/4HANA. It reads from 2 data sources (I_LegalTransaction, I_LglCntntMUseCases) and exposes 10 fields with key fields LegalTransactionUUID, LglCntntMRelshpUseCase. It has 3 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_LegalTransaction I_LegalTransaction from
I_LglCntntMUseCases I_LglCntntMUseCases cross

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_LglCntntMRltnLglTransUseCase _LT_RelRegn $projection.LegalTransactionUUID = _LT_RelRegn.LegalTransactionRelshpUUID and _LT_RelRegn.LglCntntMTopRelshpUseCase = 'X' and $projection.LglCntntMRelshpUseCase = _LT_RelRegn.LglCntntMRelshpUseCase
[1..1] I_LegalTransaction _TopLegalTransaction $projection.legaltransactiontopuuid = _TopLegalTransaction.LegalTransactionUUID
[0..1] I_LglCntntMUseCaseText _LglCntntMUseCaseText $projection.LglCntntMRelshpUseCase = _LglCntntMUseCaseText.LglCntntMRelshpUseCase and Language = $session.system_language

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ILCMRELUSECASST view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
VDM.viewType #COMPOSITE view
ObjectModel.representativeKey LegalTransactionUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #REQUIRED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Basic view for all Legal Transactions and usecases view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY LegalTransactionUUID LegalTransactionUUID Universal Unique ID
KEY LglCntntMRelshpUseCase I_LglCntntMUseCases LglCntntMRelshpUseCase Rel. Use Case
LglCntntMUseCaseRegUUID _LT_RelRegn LglCntntMUseCaseRegUUID
LglCntntMUseCaseExecStatus _LT_RelRegn LglCntntMUseCaseExecStatus Usecase Execution Status
LegalTransactionTopUUID _LT_RelRegn LegalTransactionTopUUID Universal Unique ID
LglCntntMLegalTrLogHandler _LT_RelRegn LglCntntMLegalTrLogHandler Handle
LglCntntMTopRelshpUseCase _LT_RelRegn LglCntntMTopRelshpUseCase TRUE
_LT_RelRegn _LT_RelRegn
_TopLegalTransaction _TopLegalTransaction
_LglCntntMUseCaseText _LglCntntMUseCaseText

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_LglCntntMRelshpUseCaseStatus.
-- 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: ILCMRELUSECASST

CREATE VIEW I_LglCntntMRelshpUseCaseStatus AS
SELECT
  LegalTransactionUUID,
  I_LglCntntMUseCases.LglCntntMRelshpUseCase AS LglCntntMRelshpUseCase,
  _LT_RelRegn.LglCntntMUseCaseRegUUID AS LglCntntMUseCaseRegUUID,
  _LT_RelRegn.LglCntntMUseCaseExecStatus AS LglCntntMUseCaseExecStatus,
  _LT_RelRegn.LegalTransactionTopUUID AS LegalTransactionTopUUID,
  _LT_RelRegn.LglCntntMLegalTrLogHandler AS LglCntntMLegalTrLogHandler,
  _LT_RelRegn.LglCntntMTopRelshpUseCase AS LglCntntMTopRelshpUseCase
FROM I_LegalTransaction
CROSS JOIN I_LglCntntMUseCases
LEFT OUTER JOIN I_LglCntntMRltnLglTransUseCase AS _LT_RelRegn ON LegalTransactionUUID = _LT_RelRegn.LegalTransactionRelshpUUID AND _LT_RelRegn.LglCntntMTopRelshpUseCase = 'X' AND LglCntntMRelshpUseCase = _LT_RelRegn.LglCntntMRelshpUseCase  -- association [0..1]
LEFT OUTER JOIN I_LegalTransaction AS _TopLegalTransaction ON legaltransactiontopuuid = _TopLegalTransaction.LegalTransactionUUID  -- association [1..1]
LEFT OUTER JOIN I_LglCntntMUseCaseText AS _LglCntntMUseCaseText ON LglCntntMRelshpUseCase = _LglCntntMUseCaseText.LglCntntMRelshpUseCase AND Language = $session.system_language  -- association [0..1]
;