I_StockType

DDL: I_STOCKTYPE SQL: ISDSTOCKTYPE Type: view BASIC

Stock Type

I_StockType (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Sales

I_StockType is a Basic CDS View (Dimension) that provides data about "Stock Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field StockType. It has 1 association to related views.

SAP API Hub

StateDeprecated
Line of BusinessSales
Application ComponentSD-BF-MD
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Analytical Dimension, Data Source for Data Extraction
PackageSales for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_StockTypeText _Text $projection.StockType = _Text.StockType

Annotations (17)

NameValueLevelField
VDM.lifecycle.status #Deprecated view
VDM.lifecycle.successor I_StockType_2 view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey StockType view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Stock Type view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName ISDSTOCKTYPE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY StockType
_Text _Text

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_StockType.
-- 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: ISDSTOCKTYPE

CREATE VIEW I_StockType AS
SELECT
  SUBSTRING(dd07l.domvalue_l, 1, 2) AS StockType
FROM dd07l
LEFT OUTER JOIN I_StockTypeText AS _Text ON StockType = _Text.StockType  -- association [0..*]
;