I_InventoryUsabilityCode

DDL: I_INVENTORYUSABILITYCODE Type: view_entity BASIC

Usability Code to Derive Stock Type

I_InventoryUsabilityCode (Basic)

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

Inventory Usability Code · Supply Chain

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

SAP Help Documentation

CategoryCDS Views for Stock and Material Documents
Data CategoryDimension
Purpose
This CDS view provides supported values for InventoryUsabilityCode . The values and their meanings are: Meaning of Values Value Meaning " " (blank) Unrestricted-Use X Quality Inspection S Blocked Stock

Structure
Further Important Fields Important fields in this view include the following: Field Name Description InventoryUsabilityCode Inventory Usability Code

Data Extraction
Data Extraction Type Full (physical deletions are possible in source tables)

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSupply Chain
Application ComponentMM-IM-VDM-SGM
CapabilitiesAnalytical Dimension, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source for Data Extraction, Data Source for Search, Data Source in SQL Select, Data Provider for Value Help
PackageSupply Chain for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_InventoryUsabilityCodeText _Text $projection.InventoryUsabilityCode = _Text.InventoryUsabilityCode

Annotations (16)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Usability Code to Derive Stock Type view
Metadata.ignorePropagatedAnnotations true view
Analytics.dataExtraction.enabled true view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey InventoryUsabilityCode view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.sapObjectNodeType.name InventoryUsabilityCode view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY InventoryUsabilityCode Stock Type
DomainValue dd07l domvalue_l Values for Domains: Single Value/Lower Limit
_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_InventoryUsabilityCode.
-- 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_InventoryUsabilityCode AS
SELECT
  cast ( cast ( substring( domvalue_l, 1, 1 ) as abap.char( 1 ) ) as insmk ) AS InventoryUsabilityCode,
  dd07l.domvalue_l AS DomainValue
FROM dd07l
LEFT OUTER JOIN I_InventoryUsabilityCodeText AS _Text ON InventoryUsabilityCode = _Text.InventoryUsabilityCode  -- association [0..*]
;