I_StorageCostsPercentageCode

DDL: I_STORAGECOSTSPERCENTAGECODE SQL: ISTORCOSTSPCT Type: view BASIC

Percentage Code for Storage Costs

I_StorageCostsPercentageCode (Basic)

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

Storage Costs Percentage Code · Manufacturing

I_StorageCostsPercentageCode is a Basic CDS View (Dimension) that provides data about "Percentage Code for Storage Costs" in SAP S/4HANA. It reads from 1 data source (t439l) and exposes 4 fields with key fields Plant, StorageCostsPercentageCode. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-VDM
CapabilitiesAnalytical Dimension, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source in SQL Select, Data Source for Search
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>With this CDS view, you can select storage costs percentage codes (table T439L).</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>Which storage costs percentage codes exist within a plant?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
t439l t439l from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant

Annotations (22)

NameValueLevelField
AbapCatalog.sqlViewName ISTORCOSTSPCT view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 001 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Consumption.ranked true view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey StorageCostsPercentageCode view
ObjectModel.sapObjectNodeType.name StorageCostsPercentageCode view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Percentage Code for Storage Costs view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Plant werks Receiving Plant
KEY StorageCostsPercentageCode lagpr Storage Costs Percentage Code
StorageCostsInPercent lkost Storage Costs for MRP LotSize in %
_Plant _Plant

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_StorageCostsPercentageCode.
-- 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: ISTORCOSTSPCT

CREATE VIEW I_StorageCostsPercentageCode AS
SELECT
  werks AS Plant,
  lagpr AS StorageCostsPercentageCode,
  lkost AS StorageCostsInPercent
FROM t439l
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
;