C_ProdnHoldReasonCodeVH

DDL: C_PRODNHOLDREASONCODEVH Type: view CONSUMPTION

Production Hold Reason Code Value Help

C_ProdnHoldReasonCodeVH is a Consumption CDS View that provides data about "Production Hold Reason Code Value Help" in SAP S/4HANA. It reads from 1 data source (I_MfgActionReasonCode) and exposes 7 fields with key fields MfgActionReasonCodeGroupCtlg, MfgActionReasonCodeGroup, ManufacturingActionReasonCode. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_MfgActionReasonCode I_MfgActionReasonCode from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_MfgActionReasonCodeText _MfgActionReasonCodeText $projection.MfgActionReasonCodeGroupCtlg = _MfgActionReasonCodeText.MfgActionReasonCodeGroupCtlg and $projection.MfgActionReasonCodeGroup = _MfgActionReasonCodeText.MfgActionReasonCodeGroup and $projection.ManufacturingActionReasonCode = _MfgActionReasonCodeText.ManufacturingActionReasonCode and _MfgActionReasonCodeText.Version = '000001'

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CPHRCVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Production Hold Reason Code Value Help view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey ManufacturingActionReasonCode view
VDM.viewType #CONSUMPTION view
Search.searchable true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY MfgActionReasonCodeGroupCtlg MfgActionReasonCodeGroupCtlg
KEY MfgActionReasonCodeGroup MfgActionReasonCodeGroup
KEY ManufacturingActionReasonCode ManufacturingActionReasonCode
_MfgActionReasonCodeText _MfgActionReasonCodeText
CodeGroupStatus CodeGroupStatus
_Catalog _Catalog
_Group _Group
@AbapCatalog: {
  sqlViewName: 'CPHRCVH',
  compiler.compareFilter: true,
  preserveKey: true
}
@AccessControl: {
  authorizationCheck: #CHECK,
  privilegedAssociations: ['_MfgActionReasonCodeText']
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Production Hold Reason Code Value Help'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
  dataCategory: #VALUE_HELP,
  usageType: {
    serviceQuality: #B,
    sizeCategory: #S,
    dataClass:  #CUSTOMIZING
  },
  representativeKey: 'ManufacturingActionReasonCode'
}
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
define view C_ProdnHoldReasonCodeVH
  as select from I_MfgActionReasonCode
  association [0..*] to I_MfgActionReasonCodeText as _MfgActionReasonCodeText on  $projection.MfgActionReasonCodeGroupCtlg  = _MfgActionReasonCodeText.MfgActionReasonCodeGroupCtlg
                                                                              and $projection.MfgActionReasonCodeGroup      = _MfgActionReasonCodeText.MfgActionReasonCodeGroup
                                                                              and $projection.ManufacturingActionReasonCode = _MfgActionReasonCodeText.ManufacturingActionReasonCode
                                                                              and _MfgActionReasonCodeText.Version          = '000001'
{

      @ObjectModel.foreignKey.association: '_Catalog'
  key MfgActionReasonCodeGroupCtlg  as MfgActionReasonCodeGroupCtlg,
      @ObjectModel.foreignKey.association: '_Group'
  key MfgActionReasonCodeGroup      as MfgActionReasonCodeGroup,
      @ObjectModel.text.association: '_MfgActionReasonCodeText'
      @Search.defaultSearchElement: true
      @Search.ranking: #HIGH
  key ManufacturingActionReasonCode as ManufacturingActionReasonCode,

      _MfgActionReasonCodeText,

      @Consumption.hidden: true
      CodeGroupStatus,

      @Consumption.hidden: true
      _Catalog,
      @Consumption.hidden: true
      _Group
}
where
      MfgActionReasonCodeGroupCtlg = '7'
  and Version                      = '000001'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MFGACTIONREASONCODE"
],
"ASSOCIATED":
[
"I_INSPECTIONCATALOG",
"I_MFGACTIONREASONCODEGROUP",
"I_MFGACTIONREASONCODETEXT"
],
"BASE":
[
"I_MFGACTIONREASONCODE"
],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/