C_ProbSolvingProcCause

DDL: C_PROBSOLVINGPROCCAUSE Type: view_entity CONSUMPTION Package: ODATA_QM_PROBSOLVINGPROC

Problem Solving Process Cause

C_ProbSolvingProcCause is a Consumption CDS View that provides data about "Problem Solving Process Cause" in SAP S/4HANA. It reads from 1 data source (I_ProbSolvingProcCauseTP) and exposes 16 fields with key fields ProbSolvingProc, ProbSolvingProcCause. It has 2 associations to related views. Part of development package ODATA_QM_PROBSOLVINGPROC.

Data Sources (1)

SourceAliasJoin Type
I_ProbSolvingProcCauseTP _ProbSolvingProcCauseTP from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_ProbSolvingProcExect _ProbSolvingProc $projection.ProbSolvingProc = _ProbSolvingProc.ProbSolvingProc
[0..1] C_ProbSolvingProcCauseDetDesc _ProbSolvingProcCauseDetDesc $projection.ProbSolvingProc = _ProbSolvingProcCauseDetDesc.ProbSolvingProc and $projection.ProbSolvingProcCause = _ProbSolvingProcCauseDetDesc.ProbSolvingProcCause and $projection.masterlanguage = _ProbSolvingProcCauseDetDesc.Language and _ProbSolvingProcCauseDetDesc.ItemCounter = 1

Annotations (14)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Problem Solving Process Cause view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.representativeKey ProbSolvingProcCause view
ObjectModel.compositionRoot false view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled false view
Analytics.technicalName CPRSOLPROCCAUSE view
Metadata.allowExtensions true view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY ProbSolvingProc I_ProbSolvingProcCauseTP ProbSolvingProc
KEY ProbSolvingProcCause I_ProbSolvingProcCauseTP ProbSolvingProcCause
ProbSolvingProcCauseDesc I_ProbSolvingProcCauseTP ProbSolvingProcCauseDesc
DefectCauseCodeGroup I_ProbSolvingProcCauseTP DefectCauseCodeGroup
DefectCauseCode I_ProbSolvingProcCauseTP DefectCauseCode
MasterLanguage _ProbSolvingProc MasterLanguage
CreatedByUser I_ProbSolvingProcCauseTP CreatedByUser
ProbSolvingCauseCrtedDateTime I_ProbSolvingProcCauseTP ProbSolvingCauseCrtedDateTime
LastChangedByUser I_ProbSolvingProcCauseTP LastChangedByUser
ProbSolvingCauseLastChgdDteTme I_ProbSolvingProcCauseTP ProbSolvingCauseLastChgdDteTme
_ProbSolvingProc _ProbSolvingProc
_ProbSolvingProcCauseDetDesc _ProbSolvingProcCauseDetDesc
_DefectCauseCodeGroup I_ProbSolvingProcCauseTP _DefectCauseCodeGroup
_DefectCauseCode I_ProbSolvingProcCauseTP _DefectCauseCode
_CreatedByUserContactCard I_ProbSolvingProcCauseTP _CreatedByUserContactCard
_LastChangedByUserContactCard I_ProbSolvingProcCauseTP _LastChangedByUserContactCard
@AccessControl.authorizationCheck: #CHECK
@AccessControl.privilegedAssociations:  [ '_CreatedByUserContactCard', '_LastChangedByUserContactCard' ]

@EndUserText.label: 'Problem Solving Process Cause'
@VDM: {
    viewType: #CONSUMPTION
}
@ObjectModel: {
    usageType: {
        dataClass: #TRANSACTIONAL,
        sizeCategory: #M, 
        serviceQuality: #C },
    representativeKey: 'ProbSolvingProcCause',
    semanticKey:  [ 'ProbSolvingProc', 'ProbSolvingProcCause' ],

// Begin Draft 2.0

    compositionRoot: false,
    transactionalProcessingDelegated:true,
    createEnabled: false, // can only be created via action

    updateEnabled: true,
    deleteEnabled: false 
// End Draft

}
@Analytics.technicalName: 'CPRSOLPROCCAUSE'

@Metadata.allowExtensions: true

define view entity C_ProbSolvingProcCause as select from I_ProbSolvingProcCauseTP as _ProbSolvingProcCauseTP 

  association [1..1] to C_ProbSolvingProcExect        as _ProbSolvingProc on  $projection.ProbSolvingProc = _ProbSolvingProc.ProbSolvingProc
  association [0..1] to C_ProbSolvingProcCauseDetDesc as _ProbSolvingProcCauseDetDesc on  $projection.ProbSolvingProc = _ProbSolvingProcCauseDetDesc.ProbSolvingProc
                                                                                      and $projection.ProbSolvingProcCause         = _ProbSolvingProcCauseDetDesc.ProbSolvingProcCause
                                                                                      and $projection.masterlanguage               = _ProbSolvingProcCauseDetDesc.Language
                                                                                      and _ProbSolvingProcCauseDetDesc.ItemCounter = 1
{
       @ObjectModel.foreignKey.association: '_ProbSolvingProc' 
  key _ProbSolvingProcCauseTP.ProbSolvingProc,
  key _ProbSolvingProcCauseTP.ProbSolvingProcCause,
      
      _ProbSolvingProcCauseTP.ProbSolvingProcCauseDesc,
      
      _ProbSolvingProcCauseTP.DefectCauseCodeGroup,
      _ProbSolvingProcCauseTP.DefectCauseCode,

      @ObjectModel.readOnly: true
      _ProbSolvingProc.MasterLanguage,

//     Admin Data

      _ProbSolvingProcCauseTP.CreatedByUser,
      _ProbSolvingProcCauseTP.ProbSolvingCauseCrtedDateTime,
      _ProbSolvingProcCauseTP.LastChangedByUser,
      _ProbSolvingProcCauseTP.ProbSolvingCauseLastChgdDteTme,
      
//    Associations

      @ObjectModel.association.type:  [ #TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT ]
      _ProbSolvingProc,
      @ObjectModel.association.type:  [ #TO_COMPOSITION_CHILD]
      _ProbSolvingProcCauseDetDesc,

      _ProbSolvingProcCauseTP._DefectCauseCodeGroup,
      _ProbSolvingProcCauseTP._DefectCauseCode,
      
      _ProbSolvingProcCauseTP._CreatedByUserContactCard,
      _ProbSolvingProcCauseTP._LastChangedByUserContactCard

}