I_BPEMCase

DDL: I_BPEMCASE SQL: IBPEMCASE Type: view BASIC Package: FKKMM

Klärungsfall

Clarification Case

I_BPEMCase (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Contract Accounting

I_BPEMCase is a Basic CDS View (Dimension) that provides data about "Klärungsfall" in SAP S/4HANA. It reads from 1 data source (emma_case) and exposes 39 fields with key field BPEMCase. It has 13 associations to related views. Part of development package FKKMM.

SAP Help Documentation

CategoryBusiness Process Exception Management (BPEM)
Data CategoryDimension
StatusStatus
Purpose
This CDS view retrieves data for a BPEM clarification case. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Not applicable.

Structure
Important Fields Important fields in this view include the following: Field Name Description BPEMCase Case BPEMBusinessProcessCode Business Process BPEMCaseType Case Type BPEMCaseStatus Status BPEMCaseCategory Case Category BPEMCaseCurrentProcessor Processor

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateDeprecated
Line of BusinessContract Accounting
Application ComponentFI-CA-2CL
CapabilitiesData Source in SQL Select,Analytical Dimension,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageContract Accounting for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
emma_case emma_case from

Associations (13)

CardinalityTargetAliasCondition
[0..*] I_BPEMCaseActor _BPEMCaseActor $projection.BPEMCase = _BPEMCaseActor.BPEMCase
[0..*] I_BPEMCaseObject _BPEMCaseObject $projection.BPEMCase = _BPEMCaseObject.BPEMCase
[0..*] I_BPEMCaseMessage _BPEMCaseMessage $projection.BPEMCase = _BPEMCaseMessage.BPEMCase
[0..1] I_BPEMBusinessProcessCode _BPEMBusinessProcessCode $projection.BPEMBusinessProcessCode = _BPEMBusinessProcessCode.BPEMBusinessProcessCode
[0..1] I_BPEMCaseType _BPEMCaseType $projection.BPEMCaseType = _BPEMCaseType.BPEMCaseType
[1..1] I_BPEMCaseStatus _BPEMCaseStatus $projection.BPEMCaseStatus = _BPEMCaseStatus.BPEMCaseStatus
[1..1] I_BPEMCaseCategory _BPEMCaseCategory $projection.BPEMCaseCategory = _BPEMCaseCategory.BPEMCaseCategory
[1..1] I_BPEMCasePriority _BPEMCasePriority $projection.BPEMCasePriority = _BPEMCasePriority.BPEMCasePriority
[0..1] I_BPEMCaseForwardReason _BPEMCaseForwardReason $projection.BPEMCaseForwardingReason = _BPEMCaseForwardReason.BPEMCaseForwardingReason
[0..1] I_BPEMCaseReversalReason _BPEMCaseReversalReason $projection.BPEMCaseReversalReason = _BPEMCaseReversalReason.BPEMCaseReversalReason
[1..1] I_User _BPEMCaseCreatedByUser $projection.BPEMCaseCreatedByUser = _BPEMCaseCreatedByUser.UserID
[0..1] I_User _BPEMCaseLastChangedByUser $projection.BPEMCaseLastChangedByUser = _BPEMCaseLastChangedByUser.UserID
[0..1] I_BPEMCaseCustomStatus _BPEMCaseCustomStatus $projection.BPEMCaseCustomStatus = _BPEMCaseCustomStatus.BPEMCaseCustomStatus

Annotations (14)

NameValueLevelField
EndUserText.label Klärungsfall view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IBPEMCASE view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey BPEMCase view
Metadata.allowExtensions true view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view

Fields (39)

KeyFieldSource TableSource FieldDescription
KEY BPEMCase emma_case casenr Clarification Case
BPEMBusinessProcessCode emma_case bpcode Business Process Code
BPEMCaseType emma_case ctype Case Type
BPEMCaseStatus emma_case status Processing Status of Clarification Case
BPEMCaseCategory emma_case ccat Clarification Case Category
BPEMCasePriority emma_case prio Clarification Case Priority
AuthorizationGroup emma_case brgru Authorization Group
BPEMCaseMainObjectType emma_case mainobjtype Object Type of Primary Business Object of Clarification Case
BPEMCaseMainObject emma_case mainobjkey Object key
BPEMCaseOriginalDate emma_case orig_date Original Date of Clarification Case
BPEMCaseOriginalTime emma_case orig_time Creation Time of Clarification Case
BPEMCaseCurrentProcessor emma_case currproc Processor for Clarification Case
BPEMCaseForwardingReason emma_case reacode Reason for Forwarding
BPEMCaseReversalReason emma_case cancode Reversal Reason
BPEMCasePreviousProcessor emma_case prevproc Previous Processor
BPEMCaseDueDate emma_case due_date Case Due Date
BPEMCaseDueTime emma_case due_time Due Time of Clarification Case
BPEMCaseNoteIsExisting emma_case xnote Note Entered
BPEMCaseName emma_case casetxt Clarification Case Text
BPEMCaseCreationDate emma_case created_date Record Created On
BPEMCaseCreationTime emma_case created_time Time Stamp
BPEMCaseCreatedByUser emma_case created_by Version Created By
BPEMCaseLastChangedDate emma_case changed_date Changed on
BPEMCaseLastChangedTime emma_case changed_time Last changed at
BPEMCaseLastChangedByUser emma_case changed_by Changed by
BPEMCaseCustomStatus emma_case custstatus Processing Substatus of Clarification Case
_BPEMCaseActor _BPEMCaseActor
_BPEMCaseObject _BPEMCaseObject
_BPEMCaseMessage _BPEMCaseMessage
_BPEMBusinessProcessCode _BPEMBusinessProcessCode
_BPEMCaseType _BPEMCaseType
_BPEMCaseStatus _BPEMCaseStatus
_BPEMCaseCategory _BPEMCaseCategory
_BPEMCasePriority _BPEMCasePriority
_BPEMCaseForwardReason _BPEMCaseForwardReason
_BPEMCaseReversalReason _BPEMCaseReversalReason
_BPEMCaseCreatedByUser _BPEMCaseCreatedByUser
_BPEMCaseLastChangedByUser _BPEMCaseLastChangedByUser
_BPEMCaseCustomStatus _BPEMCaseCustomStatus

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_BPEMCase.
-- 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: IBPEMCASE

CREATE VIEW I_BPEMCase AS
SELECT
  emma_case.casenr AS BPEMCase,
  emma_case.bpcode AS BPEMBusinessProcessCode,
  emma_case.ctype AS BPEMCaseType,
  emma_case.status AS BPEMCaseStatus,
  emma_case.ccat AS BPEMCaseCategory,
  emma_case.prio AS BPEMCasePriority,
  emma_case.brgru AS AuthorizationGroup,
  emma_case.mainobjtype AS BPEMCaseMainObjectType,
  emma_case.mainobjkey AS BPEMCaseMainObject,
  emma_case.orig_date AS BPEMCaseOriginalDate,
  emma_case.orig_time AS BPEMCaseOriginalTime,
  emma_case.currproc AS BPEMCaseCurrentProcessor,
  emma_case.reacode AS BPEMCaseForwardingReason,
  emma_case.cancode AS BPEMCaseReversalReason,
  emma_case.prevproc AS BPEMCasePreviousProcessor,
  emma_case.due_date AS BPEMCaseDueDate,
  emma_case.due_time AS BPEMCaseDueTime,
  emma_case.xnote AS BPEMCaseNoteIsExisting,
  emma_case.casetxt AS BPEMCaseName,
  emma_case.created_date AS BPEMCaseCreationDate,
  emma_case.created_time AS BPEMCaseCreationTime,
  emma_case.created_by AS BPEMCaseCreatedByUser,
  emma_case.changed_date AS BPEMCaseLastChangedDate,
  emma_case.changed_time AS BPEMCaseLastChangedTime,
  emma_case.changed_by AS BPEMCaseLastChangedByUser,
  emma_case.custstatus AS BPEMCaseCustomStatus
FROM emma_case
LEFT OUTER JOIN I_BPEMCaseActor AS _BPEMCaseActor ON BPEMCase = _BPEMCaseActor.BPEMCase  -- association [0..*]
LEFT OUTER JOIN I_BPEMCaseObject AS _BPEMCaseObject ON BPEMCase = _BPEMCaseObject.BPEMCase  -- association [0..*]
LEFT OUTER JOIN I_BPEMCaseMessage AS _BPEMCaseMessage ON BPEMCase = _BPEMCaseMessage.BPEMCase  -- association [0..*]
LEFT OUTER JOIN I_BPEMBusinessProcessCode AS _BPEMBusinessProcessCode ON BPEMBusinessProcessCode = _BPEMBusinessProcessCode.BPEMBusinessProcessCode  -- association [0..1]
LEFT OUTER JOIN I_BPEMCaseType AS _BPEMCaseType ON BPEMCaseType = _BPEMCaseType.BPEMCaseType  -- association [0..1]
LEFT OUTER JOIN I_BPEMCaseStatus AS _BPEMCaseStatus ON BPEMCaseStatus = _BPEMCaseStatus.BPEMCaseStatus  -- association [1..1]
LEFT OUTER JOIN I_BPEMCaseCategory AS _BPEMCaseCategory ON BPEMCaseCategory = _BPEMCaseCategory.BPEMCaseCategory  -- association [1..1]
LEFT OUTER JOIN I_BPEMCasePriority AS _BPEMCasePriority ON BPEMCasePriority = _BPEMCasePriority.BPEMCasePriority  -- association [1..1]
LEFT OUTER JOIN I_BPEMCaseForwardReason AS _BPEMCaseForwardReason ON BPEMCaseForwardingReason = _BPEMCaseForwardReason.BPEMCaseForwardingReason  -- association [0..1]
LEFT OUTER JOIN I_BPEMCaseReversalReason AS _BPEMCaseReversalReason ON BPEMCaseReversalReason = _BPEMCaseReversalReason.BPEMCaseReversalReason  -- association [0..1]
LEFT OUTER JOIN I_User AS _BPEMCaseCreatedByUser ON BPEMCaseCreatedByUser = _BPEMCaseCreatedByUser.UserID  -- association [1..1]
LEFT OUTER JOIN I_User AS _BPEMCaseLastChangedByUser ON BPEMCaseLastChangedByUser = _BPEMCaseLastChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_BPEMCaseCustomStatus AS _BPEMCaseCustomStatus ON BPEMCaseCustomStatus = _BPEMCaseCustomStatus.BPEMCaseCustomStatus  -- association [0..1]
;