C_ProbSolvingProcExect

DDL: C_PROBSOLVINGPROCEXECT SQL: CPRSOLPROCEXCT Type: view CONSUMPTION Package: ODATA_QM_PROBSOLVINGPROC

Problem-Solving Process

C_ProbSolvingProcExect is a Consumption CDS View that provides data about "Problem-Solving Process" in SAP S/4HANA. It reads from 1 data source (I_ProbSolvingProcTP) and exposes 32 fields with key field ProbSolvingProc. It has 9 associations to related views. Part of development package ODATA_QM_PROBSOLVINGPROC.

Data Sources (1)

SourceAliasJoin Type
I_ProbSolvingProcTP _ProbSolvingProc from

Associations (9)

CardinalityTargetAliasCondition
[0..*] C_ProbSolvingProcDefectRef _ProbSolvingProcDefectRef $projection.ProbSolvingProc = _ProbSolvingProcDefectRef.ProbSolvingProc
[0..*] C_ProbSolvingProcStepExect _ProbSolvingProcStepExect $projection.ProbSolvingProc = _ProbSolvingProcStepExect.ProbSolvingProc
[0..*] C_ProbSolvingProcPrtcpnt _ProbSolvingProcPrtcpnt $projection.ProbSolvingProc = _ProbSolvingProcPrtcpnt.ProbSolvingProc
[0..1] C_ProbSolvingProcProbDesc _ProbSolvingProcProbDesc $projection.ProbSolvingProc = _ProbSolvingProcProbDesc.ProbSolvingProc
[0..*] C_ProbSolvingProcCause _ProbSolvingProcCause $projection.ProbSolvingProc = _ProbSolvingProcCause.ProbSolvingProc
[0..*] C_ProbSolvingProcCauseDsp _ProbSolvingProcCauseDsp $projection.ProbSolvingProc = _ProbSolvingProcCauseDsp.ProbSolvingProc
[0..1] C_ProbSolvingProcAssmt _ProbSolvingProcAssmt $projection.ProbSolvingProc = _ProbSolvingProcAssmt.ProbSolvingProc
[1..1] C_ProbSolvingProcDefectRef _ProbSolvingProcPrimaryDefRef $projection.ProbSolvingProc = _ProbSolvingProcPrimaryDefRef.ProbSolvingProc and _ProbSolvingProcPrimaryDefRef.DefectIsBaseOfProbSolvingProc = 'X'
[0..1] I_ProductText _ProductText $projection.Material = _ProductText.Product and _ProductText.Language = $session.system_language

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName CPRSOLPROCEXCT view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Problem-Solving Process view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.representativeKey ProbSolvingProc view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.draftEnabled true view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled true view
Metadata.allowExtensions true view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY ProbSolvingProc I_ProbSolvingProcTP ProbSolvingProc
ProbSolvingProcDesc I_ProbSolvingProcTP ProbSolvingProcDesc
ProbSolvingProcType I_ProbSolvingProcTP ProbSolvingProcType
Material I_ProbSolvingProcTP Material
ProductName _ProductText ProductName
Plant I_ProbSolvingProcTP Plant
ProbSolvingProcLifecycleStatus I_ProbSolvingProcTP ProbSolvingProcLifecycleStatus
ProbSolvingProcTsksArchivedSts I_ProbSolvingProcTP ProbSolvingProcTsksArchivedSts
CreatedByUser I_ProbSolvingProcTP CreatedByUser
CreatedByUserFullName
ProbSolvingProcCreatedDateTime I_ProbSolvingProcTP ProbSolvingProcCreatedDateTime
LastChangedByUser I_ProbSolvingProcTP LastChangedByUser
LastChangedByUserFullName
ProbSolvingProcLastChgdDteTme I_ProbSolvingProcTP ProbSolvingProcLastChgdDteTme
ChangedDateTime I_ProbSolvingProcTP ChangedDateTime
MasterLanguage I_ProbSolvingProcTP MasterLanguage
Defect _ProbSolvingProcPrimaryDefRef Defect
DefectText _ProbSolvingProcPrimaryDefRef DefectText
_ProbSolvingProcDefectRef _ProbSolvingProcDefectRef
_ProbSolvingProcStepExect _ProbSolvingProcStepExect
_ProbSolvingProcPrtcpnt _ProbSolvingProcPrtcpnt
_ProbSolvingProcCause _ProbSolvingProcCause
_ProbSolvingProcProbDesc _ProbSolvingProcProbDesc
_ProbSolvingProcCauseDsp _ProbSolvingProcCauseDsp
_ProbSolvingProcAssmt _ProbSolvingProcAssmt
_ProbSolvingProcPrimaryDefRef _ProbSolvingProcPrimaryDefRef
_Product
_Plant _Plant
_ProbSolvingProcLfcycSts _ProbSolvingProcLfcycSts
_CreatedByUserContactCard I_ProbSolvingProcTP _CreatedByUserContactCard
_LastChangedByUserContactCard I_ProbSolvingProcTP _LastChangedByUserContactCard
_ProbSolvingProcType I_ProbSolvingProcTP _ProbSolvingProcType
@AbapCatalog.sqlViewName: 'CPRSOLPROCEXCT'
@AbapCatalog.compiler.compareFilter: true

@ClientHandling.algorithm: #SESSION_VARIABLE

@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@AccessControl.privilegedAssociations:  [ '_CreatedByUserContactCard', '_LastChangedByUserContactCard']

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

// Begin Draft 2.0

    compositionRoot: true,
    transactionalProcessingDelegated:true,
    draftEnabled:  true,
    createEnabled: false,
    updateEnabled: 'EXTERNAL_CALCULATION',
    deleteEnabled: true
}

@Metadata.allowExtensions: true

define view C_ProbSolvingProcExect
  as select from I_ProbSolvingProcTP as _ProbSolvingProc

  //=== child nodes

  //===== defect reference

  association [0..*] to C_ProbSolvingProcDefectRef as _ProbSolvingProcDefectRef     on  $projection.ProbSolvingProc = _ProbSolvingProcDefectRef.ProbSolvingProc
  //===== process step

  association [0..*] to C_ProbSolvingProcStepExect as _ProbSolvingProcStepExect     on  $projection.ProbSolvingProc = _ProbSolvingProcStepExect.ProbSolvingProc
  //===== participants

  association [0..*] to C_ProbSolvingProcPrtcpnt   as _ProbSolvingProcPrtcpnt       on  $projection.ProbSolvingProc = _ProbSolvingProcPrtcpnt.ProbSolvingProc
  //===== Problem Description Reference

  association [0..1] to C_ProbSolvingProcProbDesc  as _ProbSolvingProcProbDesc      on  $projection.ProbSolvingProc = _ProbSolvingProcProbDesc.ProbSolvingProc
  //===== Causes

  association [0..*] to C_ProbSolvingProcCause     as _ProbSolvingProcCause         on  $projection.ProbSolvingProc = _ProbSolvingProcCause.ProbSolvingProc
  association [0..*] to C_ProbSolvingProcCauseDsp  as _ProbSolvingProcCauseDsp      on  $projection.ProbSolvingProc = _ProbSolvingProcCauseDsp.ProbSolvingProc
  //===== Assessment

  association [0..1] to C_ProbSolvingProcAssmt     as _ProbSolvingProcAssmt         on  $projection.ProbSolvingProc = _ProbSolvingProcAssmt.ProbSolvingProc

  //==== Primary Defect Reference

  association [1..1] to C_ProbSolvingProcDefectRef as _ProbSolvingProcPrimaryDefRef on  $projection.ProbSolvingProc                                 = _ProbSolvingProcPrimaryDefRef.ProbSolvingProc
                                                                                    and _ProbSolvingProcPrimaryDefRef.DefectIsBaseOfProbSolvingProc = 'X'

  association [0..1] to I_ProductText              as _ProductText                  on  $projection.Material  = _ProductText.Product
                                                                                    and _ProductText.Language = $session.system_language
{

      //=== key fields

  key _ProbSolvingProc.ProbSolvingProc,

      //=== data fields

      _ProbSolvingProc.ProbSolvingProcDesc,
      _ProbSolvingProc.ProbSolvingProcType,

      @ObjectModel.text.element: ['ProductName']
      @Consumption: {
              valueHelpDefinition: [
                          { entity:  { name:    'I_ProductVH',
                                       element: 'Product' }
                          }]
      }
      //        @ObjectModel.readOnly: true

      //UX Inc

      @Consumption.semanticObject: 'Material'
      _ProbSolvingProc.Material,

      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      _ProductText.ProductName,

      @Consumption: {
              valueHelpDefinition: [
                          { entity:  { name:    'I_PlantStdVH',
                                       element: 'Plant' }
                          }],
              semanticObject: 'Plant'
      }
      _ProbSolvingProc.Plant,

      //=== status

      _ProbSolvingProc.ProbSolvingProcLifecycleStatus,

      @Consumption.filter.hidden: true
      _ProbSolvingProc.ProbSolvingProcTsksArchivedSts,

      //=== administrative data

      @ObjectModel: {
                        readOnly: true,
                        foreignKey.association: [ { exclude } ],
                        text.element: [ 'CreatedByUserFullName' ]}
      @UI.textArrangement: #TEXT_ONLY
      _ProbSolvingProc.CreatedByUser,
      @Semantics.text: true
      @UI.hidden: true
      @ObjectModel.readOnly: true
      cast( _CreatedByUserContactCard.FullName as vdm_createdbyuserdescription preserving type )       as CreatedByUserFullName,

      @ObjectModel.readOnly: true
      _ProbSolvingProc.ProbSolvingProcCreatedDateTime,

      @ObjectModel: {
                        readOnly: true,
                        foreignKey.association: [ { exclude } ],
                        text.element: [ 'LastChangedByUserFullName' ]}
      @UI.textArrangement: #TEXT_ONLY
      _ProbSolvingProc.LastChangedByUser,
      @Semantics.text: true
      @UI.hidden: true
      @ObjectModel.readOnly: true
      cast( _LastChangedByUserContactCard.FullName as vdm_lastchangedbyuserdescripti preserving type ) as LastChangedByUserFullName,

      @ObjectModel.readOnly: true
      _ProbSolvingProc.ProbSolvingProcLastChgdDteTme,

      @ObjectModel.readOnly: true
      _ProbSolvingProc.ChangedDateTime,
      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      _ProbSolvingProc.MasterLanguage,

      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      _ProbSolvingProcPrimaryDefRef.Defect,
      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      _ProbSolvingProcPrimaryDefRef.DefectText,

      //=== exposed associations

      @ObjectModel.association.type:  [ #TO_COMPOSITION_CHILD ]
      @Consumption.filter.hidden: true
      _ProbSolvingProcDefectRef,
      @ObjectModel.association.type:  [ #TO_COMPOSITION_CHILD ]
      @Consumption.filter.hidden: true
      _ProbSolvingProcStepExect,
      @ObjectModel.association.type:  [ #TO_COMPOSITION_CHILD ]
      @Consumption.filter.hidden: true
      _ProbSolvingProcPrtcpnt,
      @ObjectModel.association.type:  [ #TO_COMPOSITION_CHILD ]
      @Consumption.filter.hidden: true
      _ProbSolvingProcCause,
      @ObjectModel.association.type:  [ #TO_COMPOSITION_CHILD ]
      _ProbSolvingProcProbDesc,
      @ObjectModel.association.type:  [ #TO_COMPOSITION_CHILD ]
      @Consumption.filter.hidden: true
      _ProbSolvingProcCauseDsp,
      @ObjectModel.association.type:  [ #TO_COMPOSITION_CHILD ]
      @Consumption.filter.hidden: true
      _ProbSolvingProcAssmt,

      _ProbSolvingProcPrimaryDefRef,
      --@Consumption.filter.hidden: true
      --_ProbSolvingProc._Product,
      @Consumption.filter.hidden: true
      _Plant,
      @Consumption.filter.hidden: true
      _ProbSolvingProcLfcycSts,
      @Consumption.filter.hidden: true
      _ProbSolvingProc._CreatedByUserContactCard,
      @Consumption.filter.hidden: true
      _ProbSolvingProc._LastChangedByUserContactCard,
      @Consumption.filter.hidden: true
      _ProbSolvingProc._ProbSolvingProcType

}