I_ProdAllocChkPerdCnsmpnTypeT

DDL: I_PRODALLOCCHKPERDCNSMPNTYPET SQL: IPACHKPCNSMPNTT Type: view BASIC

Product Allocation Check Period Consumption Type - Text

I_ProdAllocChkPerdCnsmpnTypeT (Basic)

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

Manufacturing

I_ProdAllocChkPerdCnsmpnTypeT is a Basic CDS View that provides data about "Product Allocation Check Period Consumption Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields Language, ProdAllocChkPeriodCnsmpnType. It has 1 association 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>This CDS view (code list view and corresponding text view) provides a list of allowed codes for the period consumption type of a time period in a product allocation sequence constraint, and the corresponding text representation. The consumption type indicates whether the time periods are checked first (pivot period), backward or forward or whether the period is not considered for the product allocation check. </p> This CDS view provides the data to answer the following business question:<ul> <li><p>Which are the allowed codes for the consumption type of time periods in product allocation sequence constraints?</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
dd07t dd07t from

Associations (1)

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

Annotations (17)

NameValueLevelField
EndUserText.label Product Allocation Check Period Consumption Type - 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 ProdAllocChkPeriodCnsmpnType view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IPACHKPCNSMPNTT view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true 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
Search.searchable true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Language Language Key
KEY ProdAllocChkPeriodCnsmpnType Product Allocation Check Period Consumption Type
ProdAllocChkPerdCnsmpnTypeDesc Product Allocation Check Period Consumption Type Description
DomainValue domvalue_l Values for Domains: Single Value/Lower Limit
_ProdAllocChkPerdCnsmpnType _ProdAllocChkPerdCnsmpnType
_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_ProdAllocChkPerdCnsmpnTypeT.
-- 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: IPACHKPCNSMPNTT

CREATE VIEW I_ProdAllocChkPerdCnsmpnTypeT AS
SELECT
  cast( ddlanguage as spras preserving type ) AS Language,
  cast( substring( domvalue_l, 1, 2 ) as prodallocchkperiodcnsmpntype preserving type ) AS ProdAllocChkPeriodCnsmpnType,
  cast( ddtext as prodallocchkperdcnsmpntypedesc preserving type ) AS ProdAllocChkPerdCnsmpnTypeDesc,
  domvalue_l AS DomainValue
FROM dd07t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;