I_ProdPlngActionStatusCode

DDL: I_PRODPLNGACTIONSTATUSCODE Type: view_entity BASIC Package: PPH_DD_VDM_STLM

Demand Driven Product Planning Action Status Code

I_ProdPlngActionStatusCode is a Basic CDS View (Dimension) that provides data about "Demand Driven Product Planning Action Status Code" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field ProdPlanningActionStatusCode. It has 1 association to related views. Part of development package PPH_DD_VDM_STLM.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ProdPlngActionStatusText _ProdPlngActionStatusText $projection.ProdPlanningActionStatusCode = _ProdPlngActionStatusText.ProdPlanningActionStatusCode

Annotations (9)

NameValueLevelField
EndUserText.label Demand Driven Product Planning Action Status Code view
ObjectModel.representativeKey ProdPlanningActionStatusCode view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
Analytics.dataCategory #DIMENSION view
Analytics.technicalName IPLNGACTNSTSCODE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY ProdPlanningActionStatusCode
_ProdPlngActionStatusText _ProdPlngActionStatusText
@EndUserText.label: 'Demand Driven Product Planning Action Status Code'
@ObjectModel: {representativeKey: 'ProdPlanningActionStatusCode'}
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@Analytics.dataCategory: #DIMENSION
@Analytics.technicalName: 'IPLNGACTNSTSCODE'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
define view entity I_ProdPlngActionStatusCode
 as select from dd07l
  association [0..*] to I_ProdPlngActionStatusText as _ProdPlngActionStatusText on $projection.ProdPlanningActionStatusCode = _ProdPlngActionStatusText.ProdPlanningActionStatusCode
{
      @ObjectModel.text.association: '_ProdPlngActionStatusText'
//  Note: Here the CDS field was already made of type int1 and domvalue_l can not be of type int1

//        Hence there is an intermediate casting to numc was required.

  key cast ( cast ( substring( domvalue_l, 1, 1 ) as abap.numc(1) ) as pph_prodplngactionstatus ) as ProdPlanningActionStatusCode,
      _ProdPlngActionStatusText
}
where
      dd07l.domname  = 'PPH_PRODPLNGACTIONSTATUS'
  and dd07l.as4local = 'A'