I_CaseAttributes

DDL: I_CASEATTRIBUTES SQL: ICASEATTR Type: view COMPOSITE

Case Attributes

I_CaseAttributes is a Composite CDS View (Dimension) that provides data about "Case Attributes" in SAP S/4HANA. It reads from 1 data source (I_CaseAttribute) and exposes 11 fields with key field CaseUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_CaseAttribute I_CaseAttribute from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_User _User $projection.CaseProcessor = _User.UserID

Annotations (16)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
AbapCatalog.sqlViewName ICASEATTR view
EndUserText.label Case Attributes view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ObjectModel.representativeKey CaseUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY CaseUUID CaseUniqueID
CaseID CaseID
CaseProcessor CaseProcessor
DisputeCaseProcessorFullName _User UserDescription
CreationDateTime
CloseDateTime
CaseReason CaseReason
CaseType CaseType
CaseStatusProfile CaseStatusProfile
CaseProcessingStatus CaseStatus
DisputeCasePriority CasePriority
@ClientHandling.algorithm: #SESSION_VARIABLE
@Analytics: { dataCategory: #DIMENSION, dataExtraction.enabled: true }
@AbapCatalog.sqlViewName: 'ICASEATTR'
@EndUserText.label: 'Case Attributes'
@VDM.viewType: #COMPOSITE
//@VDM.private: false

@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Metadata.allowExtensions:true
@Metadata.ignorePropagatedAnnotations:true
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
@ObjectModel.representativeKey: 'CaseUUID'
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.supportedCapabilities: [#CDS_MODELING_DATA_SOURCE, 
                                     #CDS_MODELING_ASSOCIATION_TARGET,
                                     #ANALYTICAL_DIMENSION,
                                     #EXTRACTION_DATA_SOURCE ]
define view I_CaseAttributes
  //  as select from    scmg_t_case_attr

  //    left outer join P_BusinessUser on scmg_t_case_attr.processor = P_BusinessUser.UserID

  as select from I_CaseAttribute
  association [0..1] to I_User as _User on $projection.CaseProcessor = _User.UserID
{
  key CaseUniqueID                     as CaseUUID,
      CaseID,
      CaseProcessor,
      _User.UserDescription            as DisputeCaseProcessorFullName,
      cast( CaseCreatedOn as char17 )  as CreationDateTime, //CAST needed because of existing conversion exit

      cast( CaseClosedTime as char17 ) as CloseDateTime, //CAST needed because of existing conversion exit

      // incompatible change:

      //      cast( CaseCreatedOn as fincs_timestamp preserving type )  as CreationDateTime, //CAST needed because of existing conversion exit

      //      cast( CaseClosedTime as fincs_timestamp preserving type ) as CloseDateTime, //CAST needed because of existing conversion exit


      CaseReason,
      CaseType,
      CaseStatusProfile                as CaseStatusProfile,
      CaseStatus                       as CaseProcessingStatus,
      CasePriority                     as DisputeCasePriority
}