I_OnHandStockStatusText

DDL: I_ONHANDSTOCKSTATUSTEXT SQL: IONHANDSTKSTSTXT Type: view BASIC

Demand Driven On-Hand Stock Status Description

I_OnHandStockStatusText is a Basic CDS View that provides data about "Demand Driven On-Hand Stock Status Description" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields OnHandStockStatusCode, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_OnHandStockStatusCode _OnHandStockStatusCode $projection.OnHandStockStatusCode = _OnHandStockStatusCode.OnHandStockStatusCode
[0..1] I_Language _Language dd07t.ddlanguage = _Language.Language

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IONHANDSTKSTSTXT view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Demand Driven On-Hand Stock Status Description view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey OnHandStockStatusCode view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY OnHandStockStatusCode
KEY Language dd07t ddlanguage Lang.
OnHandStockStatusDescription dd07t ddtext Short text
_Language _Language
_OnHandStockStatusCode _OnHandStockStatusCode

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_OnHandStockStatusText.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IONHANDSTKSTSTXT

CREATE VIEW I_OnHandStockStatusText AS
SELECT
  cast (cast ( substring( dd07t.domvalue_l, 1, 1 ) as abap.numc(1) ) as pph_onhandstocksts ) AS OnHandStockStatusCode,
  dd07t.ddlanguage AS Language,
  dd07t.ddtext AS OnHandStockStatusDescription
FROM dd07t
LEFT OUTER JOIN I_OnHandStockStatusCode AS _OnHandStockStatusCode ON OnHandStockStatusCode = _OnHandStockStatusCode.OnHandStockStatusCode  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON dd07t.ddlanguage = _Language.Language  -- association [0..1]
;