I_LatestOpenBPEMCase

DDL: I_LATESTOPENBPEMCASE SQL: IELTSTOPENBPEM Type: view COMPOSITE

Latest Open BPEM Case

I_LatestOpenBPEMCase is a Composite CDS View that provides data about "Latest Open BPEM Case" in SAP S/4HANA. It reads from 1 data source (I_OpenBPEMCase) and exposes 5 fields with key fields BPEMCaseMainObject, BPEMCaseMainObjectType, BPEMBusinessProcessCode, BPEMCaseAndDateTime. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_OpenBPEMCase I_OpenBPEMCase from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_OpenBPEMCase _BPEMCase $projection.BPEMCaseAndDateTime = _BPEMCase.BPEMCaseAndDateTime

Annotations (8)

NameValueLevelField
EndUserText.label Latest Open BPEM Case view
VDM.viewType #COMPOSITE view
AbapCatalog.sqlViewName IELTSTOPENBPEM view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY BPEMCaseMainObject BPEMCaseMainObject
KEY BPEMCaseMainObjectType BPEMCaseMainObjectType
KEY BPEMBusinessProcessCode BPEMBusinessProcessCode
KEY BPEMCaseAndDateTime
_BPEMCase _BPEMCase

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_LatestOpenBPEMCase.
-- 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: IELTSTOPENBPEM

CREATE VIEW I_LatestOpenBPEMCase AS
SELECT
  BPEMCaseMainObject,
  BPEMCaseMainObjectType,
  BPEMBusinessProcessCode,
  max(I_OpenBPEMCase.BPEMCaseAndDateTime) AS BPEMCaseAndDateTime
FROM I_OpenBPEMCase
LEFT OUTER JOIN I_OpenBPEMCase AS _BPEMCase ON BPEMCaseAndDateTime = _BPEMCase.BPEMCaseAndDateTime  -- association [0..1]
;