I_ONHANDSTOCKSTATUSTEXT
Demand Driven On-Hand Stock Status Description
I_ONHANDSTOCKSTATUSTEXT is a CDS View in S/4HANA. Demand Driven On-Hand Stock Status Description. It contains 2 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_OnHandStockStatusVH | view | from | CONSUMPTION | Demand Driven Product On-Hand stock status value help |
Fields (2)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | OnHandStockStatusCode | OnHandStockStatus | 1 |
| OnHandStockStatusDescription | OnHandStockStatusDescription | 1 |
@AbapCatalog.sqlViewName: 'IONHANDSTKSTSTXT'
@AbapCatalog.compiler.compareFilter: true
@EndUserText.label: 'Demand Driven On-Hand Stock Status Description'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'OnHandStockStatusCode'
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #S
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view I_OnHandStockStatusText
as select from dd07t
association [0..1] to I_OnHandStockStatusCode as _OnHandStockStatusCode on $projection.OnHandStockStatusCode = _OnHandStockStatusCode.OnHandStockStatusCode
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 int1
// 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_onhandstocksts ) as OnHandStockStatusCode,
@ObjectModel.foreignKey.association: '_Language'
@Semantics.language: true
key dd07t.ddlanguage as Language,
@Semantics.text: true
dd07t.ddtext as OnHandStockStatusDescription,
_Language,
_OnHandStockStatusCode
}
where
dd07t.domname = 'PPH_ONHANDSTOCKSTS'
and dd07t.as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_ONHANDSTOCKSTATUSCODE"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/