I_ProductionHoldStatusText

DDL: I_PRODUCTIONHOLDSTATUSTEXT SQL: IMPEPRODNHLDSTST Type: view BASIC

Production Hold Status Text

I_ProductionHoldStatusText is a Basic CDS View that provides data about "Production Hold Status Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key fields ProductionHoldStatus, Language. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t txt from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IMPEPRODNHLDSTST view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey ProductionHoldStatus view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
VDM.viewType #BASIC view
EndUserText.label Production Hold Status Text view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ProductionHoldStatus
KEY Language
ProductionHoldStatusName dd07t ddtext
_Language _Language
@AbapCatalog.sqlViewName: 'IMPEPRODNHLDSTST'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'ProductionHoldStatus'
@ObjectModel.dataCategory: #TEXT
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #S, dataClass: #META}
@VDM.viewType: #BASIC
@EndUserText.label: 'Production Hold Status Text'
define view I_ProductionHoldStatusText 
  as select from dd07t as txt
  association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
      @ObjectModel.text.element: 'ProductionHoldStatusName'
  key cast( cast(substring(txt.domvalue_l, 1, 1) as abap.char(1)) as mpe_hold_status) as ProductionHoldStatus,
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key cast(txt.ddlanguage as spras preserving type)                                   as Language,
      @Semantics.text: true
      txt.ddtext                                                                      as ProductionHoldStatusName,

      // Associations

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