I_ProdPlngActionStatusCode

DDL: I_PRODPLNGACTIONSTATUSCODE SQL: IPLNGACTNSTSCODE Type: view BASIC

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.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

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

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPLNGACTNSTSCODE view
AbapCatalog.compiler.compareFilter true view
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
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY ProdPlanningActionStatusCode
_ProdPlngActionStatusText _ProdPlngActionStatusText
@AbapCatalog.sqlViewName: 'IPLNGACTNSTSCODE'
@AbapCatalog.compiler.compareFilter: true
@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
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
define view 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'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_PRODPLNGACTIONSTATUSTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/