I_HrzConsumptionDirectionT

DDL: I_HRZCONSUMPTIONDIRECTIONT SQL: IPALHZCSPMDIRT Type: view BASIC

Horizontal Consumption Direction - Text

I_HrzConsumptionDirectionT (Basic)

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

Manufacturing

I_HrzConsumptionDirectionT is a Basic CDS View that provides data about "Horizontal Consumption Direction - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields HorizontalConsumptionDirection, Language. It has 2 associations to related views.

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentCA-ATP-PAL
CapabilitiesLanguage-Dependent Text, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Data Extraction, 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
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[1..1] I_HrzConsumptionDirection _HrzConsumptionDirection $projection.HorizontalConsumptionDirection = _HrzConsumptionDirection.HorizontalConsumptionDirection

Annotations (14)

NameValueLevelField
EndUserText.label Horizontal Consumption Direction - Text view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.dataExtraction.enabled true view
ObjectModel.representativeKey HorizontalConsumptionDirection view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IPALHZCSPMDIRT view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #META view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY HorizontalConsumptionDirection Horizontal Consumption Direction
KEY Language ddlanguage Language Key
HorizontalCnsmpnDirectionDesc Horizontal Consumption Direction Description
_HrzConsumptionDirection _HrzConsumptionDirection
_Language _Language

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_HrzConsumptionDirectionT.
-- 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: IPALHZCSPMDIRT

CREATE VIEW I_HrzConsumptionDirectionT AS
SELECT
  cast ( substring( domvalue_l, 1, 2 ) as horizontalconsumptiondirection preserving type ) AS HorizontalConsumptionDirection,
  ddlanguage AS Language,
  cast( ddtext as horizontalcnsmpndirectiondesc preserving type ) AS HorizontalCnsmpnDirectionDesc
FROM dd07t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_HrzConsumptionDirection AS _HrzConsumptionDirection ON HorizontalConsumptionDirection = _HrzConsumptionDirection.HorizontalConsumptionDirection  -- association [1..1]
;