I_InventoryStockType

DDL: I_INVENTORYSTOCKTYPE Type: view_entity BASIC Package: MM_IM_VDM_STOCK

Inventory Stock Type

I_InventoryStockType (Basic)

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

Inventory Stock Type · Supply Chain

I_InventoryStockType is a Basic CDS View (Dimension) that provides data about "Inventory Stock Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field InventoryStockType. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F6879). Part of development package MM_IM_VDM_STOCK.

SAP Help Documentation

CategoryCDS Views for Physical Inventory
Data CategoryBasic
StatusReleased
Purpose
This CDS view provides supported values for Stock Type of Goods Movement (Stock Identifier) . The values and their meanings are: Value Meaning [initial] not stock relevant 01 Unrestricted-Use Stock 02 Stock in Quality Inspection 03 Returns 04 Stock Transfer (Storage Location) 05 Stock Transfer (Plant) 06 Stock in Transit 07 Blocked Stock 08 Restricted-Use Stock 09 Tied Empties 10 Valuated Goods Receipt Blocked Stock

Structure
Business Object The business object Material Document and Stock are using the Inventory Stock Type . Main input parameters This view does not have any input parameters. Measures and attributes The following attribute is provided: Stock Type of Goods Movement (Stock Identifier)

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessSupply Chain
Application ComponentMM-IM-VDM-SGM-2CL
CapabilitiesData Source for Data Extraction,Analytical Dimension,Data Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageSupply Chain for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides supported values for Stock Type of Goods Movement (Stock Identifier).</p> The values and their meanings are: Value Meaning [initial] not stock relevant 01 Unrestricted-Use Stock 02 Stock in Quality Inspection 03 Returns 04 Stock Transfer (Storage Location) 05 Stock Transfer (Plant) 06 Stock in Transit 07 Blocked Stock 08 Restricted-Use Stock 09 Tied Empties 10 Valuated Goods Receipt Blocked Stock

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_InventoryStockTypeT _Text $projection.InventoryStockType = _Text.InventoryStockType

Annotations (14)

NameValueLevelField
EndUserText.label Inventory Stock Type view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey InventoryStockType view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name InventoryStockType view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.dataCategory #DIMENSION view
Analytics.technicalName IINVSTOCKTYPE view
Analytics.dataExtraction.enabled true view
Metadata.ignorePropagatedAnnotations true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F6879 ASQL_F6879 C2 NOT_RELEASED

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY InventoryStockType Stock Type of Goods Movement (Stock Identifier)
_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_InventoryStockType.
-- 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.

CREATE VIEW I_InventoryStockType AS
SELECT
  cast(substring( domvalue_l, 1, 2 ) as nsdm_lbbsa) AS InventoryStockType
FROM dd07l
LEFT OUTER JOIN I_InventoryStockTypeT AS _Text ON InventoryStockType = _Text.InventoryStockType  -- association [0..*]
;