I_HrzConsumptionDirection

DDL: I_HRZCONSUMPTIONDIRECTION SQL: IPALHZCSPMDIR Type: view BASIC

Horizontal Consumption Direction

I_HrzConsumptionDirection (Basic)

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

Product Allocation Horizontal Consumption Direction · Manufacturing

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

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentCA-ATP-PAL
CapabilitiesAnalytical Dimension, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Data Extraction, Data Provider for Value Help, Data Source for Search
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>These two CDS views (type code list view and corresponding text view) provide a list of allowed type codes for the horizontal consumption direction and the corresponding text representation. The horizontal consumption direction specifies the order in which allocations within a period are searched for consumable quantity.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_HrzConsumptionDirectionT _Text $projection.HorizontalConsumptionDirection = _Text.HorizontalConsumptionDirection

Annotations (16)

NameValueLevelField
EndUserText.label Horizontal Consumption Direction view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
ObjectModel.representativeKey HorizontalConsumptionDirection view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IPALHZCSPMDIR view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.sapObjectNodeType.name ProdAllocHorizontalCnsmpnDrctn view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.usageType.dataClass #META view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
Metadata.ignorePropagatedAnnotations true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY HorizontalConsumptionDirection Horizontal Consumption Direction
_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_HrzConsumptionDirection.
-- 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: IPALHZCSPMDIR

CREATE VIEW I_HrzConsumptionDirection AS
SELECT
  cast ( substring( domvalue_l, 1, 2 ) as horizontalconsumptiondirection preserving type ) AS HorizontalConsumptionDirection
FROM dd07l
LEFT OUTER JOIN I_HrzConsumptionDirectionT AS _Text ON HorizontalConsumptionDirection = _Text.HorizontalConsumptionDirection  -- association [0..*]
;