I_LglCntntMLglTransByUser

DDL: I_LGLCNTNTMLGLTRANSBYUSER SQL: ILCMLTBYUSER Type: view COMPOSITE

Legal Transactions By User

I_LglCntntMLglTransByUser is a Composite CDS View that provides data about "Legal Transactions By User" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMTask) and exposes 14 fields. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_LglCntntMTask I_LglCntntMTask from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_LegalTransactionEntityMain _LegalTransactionEntityMain $projection.LegalTransactionUUID = _LegalTransactionEntityMain.LegalTransactionUUID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ILCMLTBYUSER view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #REQUIRED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Legal Transactions By User view

Fields (14)

KeyFieldSource TableSource FieldDescription
LegalTransactionUUID LegalTransactionUUID Universal Unique ID
LegalTransaction LegalTransaction Legal Transaction ID
LegalTransactionTask LegalTransactionTask
LglCntntMContextUUID LglCntntMContextUUID Universal Unique ID
LegalTransactionTaskType LegalTransactionTaskType
LegalTransactionTaskTypeName
LglCntntMCreatedByUser LglCntntMCreatedByUser Created By
LglCntntMDaysSinceTskCrted
LglCntntMContext LglCntntMContext Context ID
LglCntntMContextVersion LglCntntMContextVersion Context Version
LglCntntMCreatedUTCDateTime LglTransTskCrtnUTCDteTme
LglCntntMEntity _LegalTransactionEntityMain LglCntntMEntity Entity ID
LglCntntMEntityType _LegalTransactionEntityMain LglCntntMEntityType Entity Type
_LegalTransaction _LegalTransaction

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_LglCntntMLglTransByUser.
-- 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: ILCMLTBYUSER

CREATE VIEW I_LglCntntMLglTransByUser AS
SELECT
  LegalTransactionUUID,
  LegalTransaction,
  LegalTransactionTask,
  LglCntntMContextUUID,
  LegalTransactionTaskType,
  _WorkflowStepType._WorkflowTaskStepTypeText[1:Language=$session.system_language].WorkflowStepTypeSubject AS LegalTransactionTaskTypeName,
  LglCntntMCreatedByUser,
  dats_days_between( cast(substring(cast(LglTransTskCrtnUTCDteTme as abap.char(32)),1,8) as abap.dats), cast($session.system_date as abap.dats )) AS LglCntntMDaysSinceTskCrted,
  LglCntntMContext,
  LglCntntMContextVersion,
  LglTransTskCrtnUTCDteTme AS LglCntntMCreatedUTCDateTime,
  _LegalTransactionEntityMain.LglCntntMEntity AS LglCntntMEntity,
  _LegalTransactionEntityMain.LglCntntMEntityType AS LglCntntMEntityType
FROM I_LglCntntMTask
LEFT OUTER JOIN I_LegalTransactionEntityMain AS _LegalTransactionEntityMain ON LegalTransactionUUID = _LegalTransactionEntityMain.LegalTransactionUUID  -- association [0..1]
;