I_PRODPLNGPRIOSTATUSTEXT

CDS View

Demand Driven Product Planning Priority Status Description

I_PRODPLNGPRIOSTATUSTEXT is a CDS View in S/4HANA. Demand Driven Product Planning Priority Status Description. It contains 2 fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
C_ProdPlngPriorityStatusVH view from CONSUMPTION Demand Driven Product Planning priority status value help

Fields (2)

KeyField CDS FieldsUsed in Views
KEY ProdPlaningPriorityStatusCode MaterialPlanningPriorityStatus 1
ProdPlngPrioStatusDescription ProdPlngPrioStatusDescription 1
@AbapCatalog.sqlViewName: 'IPLNGPRIOSTSTXT'
@AbapCatalog.compiler.compareFilter: true
@EndUserText.label: 'Demand Driven Product Planning Priority Status Description'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'ProdPlaningPriorityStatusCode'
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #S
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED

define view I_ProdPlngPrioStatusText
  as select from dd07t
  association [0..1] to I_ProdPlngPrioStatusCode as _ProdPlngPrioStatusCode on $projection.ProdPlaningPriorityStatusCode = _ProdPlngPrioStatusCode.ProdPlaningPriorityStatusCode
  association [0..1] to I_Language               as _Language               on dd07t.ddlanguage = _Language.Language
{
//  Note: Here the CDS field was already made of type int1 and domvalue_l can not be of type int

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

  key  cast ( cast ( substring( dd07t.domvalue_l, 1, 1 ) as abap.numc(1) ) as pph_prodplngprioritystatus ) as ProdPlaningPriorityStatusCode,

      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key dd07t.ddlanguage                                                                                       as Language,

      @Semantics.text: true
      dd07t.ddtext                                                                                           as ProdPlngPrioStatusDescription,

      _Language,
      _ProdPlngPrioStatusCode
}
where
      dd07t.domname  = 'PPH_PRODPLNGPRIORITYSTATUS'
  and dd07t.as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_PRODPLNGPRIOSTATUSCODE"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/