I_ProdPlngPrioStatusCode

DDL: I_PRODPLNGPRIOSTATUSCODE SQL: IPLNGPRIOSTSCODE Type: view BASIC

Demand Driven Product Planning Priority Status Code

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

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ProdPlngPrioStatusText _ProdPlngPrioStatusText $projection.ProdPlaningPriorityStatusCode = _ProdPlngPrioStatusText.ProdPlaningPriorityStatusCode

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPLNGPRIOSTSCODE view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Demand Driven Product Planning Priority Status Code view
ObjectModel.representativeKey ProdPlaningPriorityStatusCode view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
Analytics.dataCategory #DIMENSION view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY ProdPlaningPriorityStatusCode
_ProdPlngPrioStatusText _ProdPlngPrioStatusText
@AbapCatalog.sqlViewName: 'IPLNGPRIOSTSCODE'
@AbapCatalog.compiler.compareFilter: true
@EndUserText.label: 'Demand Driven Product Planning Priority Status Code'
@ObjectModel: {representativeKey: 'ProdPlaningPriorityStatusCode'}
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@Analytics.dataCategory: #DIMENSION
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE

define view I_ProdPlngPrioStatusCode
  as select from dd07l
  association [0..*] to I_ProdPlngPrioStatusText as _ProdPlngPrioStatusText on $projection.ProdPlaningPriorityStatusCode = _ProdPlngPrioStatusText.ProdPlaningPriorityStatusCode
{
   @ObjectModel.text.association: '_ProdPlngPrioStatusText'
//  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_prodplngprioritystatus ) as ProdPlaningPriorityStatusCode,
   _ProdPlngPrioStatusText
}
where
      dd07l.domname  = 'PPH_PRODPLNGPRIORITYSTATUS'
  and dd07l.as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_PRODPLNGPRIOSTATUSTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/