I_OperationControlProfile

DDL: I_OPERATIONCONTROLPROFILE SQL: IPPOPCONTPROF Type: view BASIC Package: VDM_PP_SFC

Operation Control Profile

I_OperationControlProfile is a Basic CDS View (Dimension) that provides data about "Operation Control Profile" in SAP S/4HANA. It reads from 1 data source (t430) and exposes 12 fields with key field OperationControlProfile. It has 2 associations to related views. Part of development package VDM_PP_SFC.

Data Sources (1)

SourceAliasJoin Type
t430 prof from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_OperationControlProfileText _Text $projection.OperationControlProfile = _Text.OperationControlProfile
[0..1] I_OperationExternalProcessing _OperationExternalProcessing $projection.OperationExternalProcessing = _OperationExternalProcessing.OperationExternalProcessing

Annotations (23)

NameValueLevelField
AbapCatalog.sqlViewName IPPOPCONTPROF view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 001 view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Consumption.ranked true view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.compositionRoot true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey OperationControlProfile view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Operation Control Profile view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY OperationControlProfile
OperationExternalProcessing
OperationIsScheduled t430 term
OperationIsPrinted t430 vrgd
OperationIsIncludedInCosting t430 kalkz
OperationIsReworkOperation t430 rework
GRIsPostedAutomatically t430 autwe
CapacityRequirementsAreDtmnd t430 kapa
InspCharacteristicIsRequired t430 mrkkz
OperationIsNotMESRelevant t430 not_mes_rel
_OperationExternalProcessing _OperationExternalProcessing
_Text _Text
@AbapCatalog.sqlViewName: 'IPPOPCONTPROF'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.buffering: {status: #ACTIVE, type: #GENERIC, numberOfKeyFields: 001}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@Analytics.internalName: #LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@Consumption.ranked: true
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.compositionRoot: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #SEARCHABLE_ENTITY]
@ObjectModel.representativeKey: 'OperationControlProfile'
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Operation Control Profile'

/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ]  } */
define view I_OperationControlProfile
  as select from t430 as prof 
  
  association [0..*] to I_OperationControlProfileText as _Text                        on  $projection.OperationControlProfile     = _Text.OperationControlProfile
  association [0..1] to I_OperationExternalProcessing as _OperationExternalProcessing on  $projection.OperationExternalProcessing = _OperationExternalProcessing.OperationExternalProcessing
{
      @Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
      @ObjectModel.text.association: '_Text'
  key cast(prof.steus as pph_steus preserving type) as OperationControlProfile,

      @ObjectModel.foreignKey.association: '_OperationExternalProcessing'
      cast(prof.lief as pph_lief preserving type)   as OperationExternalProcessing,
      cast( case prof.lief
        when '+' then 'X'
        when 'X' then 'X'
        else ''
      end as flg_frd preserving type)               as OperationIsProcessedExternally,
      cast( case prof.lief
        when ' ' then 'X'
        when 'X' then 'X'
        else ''
      end as ps_workact preserving type)            as OperationIsProcessedInternally,
      cast( case prof.ruek
        when '1' then 'X'
        else ''
      end as flg_mst preserving type)               as OperationIsMilestone,
      cast( case prof.ruek
        when '2' then 'X'
        else ''
      end as pph_confisrequired preserving type)    as ConfirmationIsRequired,
      cast( case prof.ruek
        when '3' then 'X'
        else ''
      end as pph_confisnotpossible preserving type) as ConfirmationIsNotPossible,
      cast( case prof.ruek
        when '' then 'X'
        else ''
      end as pph_confisoptional preserving type)    as ConfirmationIsOptional,
      prof.term                                     as OperationIsScheduled,
      prof.vrgd                                     as OperationIsPrinted,
      prof.kalkz                                    as OperationIsIncludedInCosting,
      prof.rework                                   as OperationIsReworkOperation,
      prof.autwe                                    as GRIsPostedAutomatically,
      prof.kapa                                     as CapacityRequirementsAreDtmnd,
      prof.mrkkz                                    as InspCharacteristicIsRequired,
      prof.not_mes_rel                              as OperationIsNotMESRelevant,

      // Associations

      _OperationExternalProcessing,
      @ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
      _Text
}
where
  prof.plnaw = '*';