I_PurgQuotaArrgmtItemAPI01

DDL: I_PURGQUOTAARRGMTITEMAPI01 SQL: IPURGQAITEMAPI01 Type: view BASIC

Purchasing Quota Arrangement Item

I_PurgQuotaArrgmtItemAPI01 (Composite)

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

Sourcing & Procurement

I_PurgQuotaArrgmtItemAPI01 is a Basic CDS View that provides data about "Purchasing Quota Arrangement Item" in SAP S/4HANA. It reads from 1 data source (I_PurgQuotaArrgmtItem) and exposes 37 fields with key fields QuotaArrangement, QuotaArrangementItem. It has 1 association to related views.

SAP Help Documentation

CategoryQuota Arrangement
StatusReleased
Purpose
This CDS view helps to retrieve the quotas for the various sources of supply that are used to establish the quota arrangement for a material in a plant over a certain period of time. This CDS view provides the data to answer the following business questions: Who are the suppliers who can provide a certain quantity of material for a plant for a certain time period? What is the maximum quantity and allocated quantity of a quota arrangement item? What is the maximum and minimum lot size of a quota arrangement item? 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 .

Prerequisites
Authorizations The following business catalog needs to be assigned to a user to be able to use this CDS view: SAP_MM_BC_SOS_PROCESS_PC

Structure
Important fields Important fields in this view include the following: Field Name Description lifnr Supplier qubmg QuotaBaseQuantity qumng QuotaAllocatedQuantity maxmg QuotaMaximumQuantity maxls MaterialMaxLotSizeQuantity minls MaterialMinLotSizeQuantity

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSourcing & Procurement
Application ComponentMM-PUR-SQ-QTA
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities
PackageSourcing & Procurement for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view helps to retrieve the quotas for the various sources of supply that are used to establish the quota arrangement for a material in a plant over a certain period of time.</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>Who are the suppliers who can provide a certain quantity of material for a plant for a certain time period?</p></li> <li><p>What is the maximum quantity and allocated quantity of a quota arrangement item?</p></li> <li><p>What is the maximum and minimum lot size of a quota arrangement item?</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
I_PurgQuotaArrgmtItem I_PurgQuotaArrgmtItem from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_PurgQuotaArrgmtAPI01 _PurgQuotaArrgmt $projection.QuotaArrangement = _PurgQuotaArrgmt.QuotaArrangement

Annotations (13)

NameValueLevelField
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
AbapCatalog.sqlViewName IPURGQAITEMAPI01 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Purchasing Quota Arrangement Item view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.personalData.blocking #REQUIRED view

Fields (37)

KeyFieldSource TableSource FieldDescription
KEY QuotaArrangement QuotaArrangement Number of quota arrangement
KEY QuotaArrangementItem QuotaArrangementItem Quota arrangement item
MaterialProcurementCategory MaterialProcurementCategory Procurement Type
MaterialProcurementType MaterialProcurementType Special procurement type
Supplier Supplier Supplier's Account Number
SupplyingPlant SupplyingPlant Plant from Which Material is Procured
PurchasingSourceQuota PurchasingSourceQuota Quota
QuotaBaseQuantity QuotaBaseQuantity Quota Base Quantity of Quota Arrangement Item
QuotaAllocatedQuantity QuotaAllocatedQuantity Allocated Quantity of Quota Arrangement Item
QuotaMaximumQuantity QuotaMaximumQuantity Maximum Quantity of Quota Arrangement Item
ProductionVersion ProductionVersion Production Version
MaterialMaxLotSizeQuantity MaterialMaxLotSizeQuantity Maximum Lot Size per Quota Item
MaterialMinLotSizeQuantity MaterialMinLotSizeQuantity Minimum Lot Size per Quota Item
MaterialRoundingProfile MaterialRoundingProfile Rounding Profile
SourceOfSupplyIsAssignedOnce SourceOfSupplyIsAssignedOnce Indicator: "Once-Only"
MaximumReleaseQuantity MaximumReleaseQuantity Maximum Release Quantity per Period
QuotaReleasePeriodType QuotaReleasePeriodType Period to Which the Release Quantity Relates
NumberOfPeriodsPerRelQuantity NumberOfPeriodsPerRelQuantity Number of Periods to Which the Release Quantity Relates
QuotaDeterminationPriority QuotaDeterminationPriority Priority for Determination of Sequence
ManufacturerMaterial ManufacturerMaterial Material Number Corresponding to Manufacturer Part Number
PlannedDeliveryDurationInDays PlannedDeliveryDurationInDays Planned Delivery Time in Days
Plant Plant Valuation Area
MaterialBaseUnit MaterialBaseUnit Base Unit of Measure
AuthorizationGroup Authorization Group
IsBusinessPurposeCompleted Business Purpose Completed Flag
DataControllerSet BP: Data Controller Set Flag
DataController1 BP: Data Controller (Internal Use Only)
DataController2 BP: Data Controller (Internal Use Only)
DataController3 BP: Data Controller (Internal Use Only)
DataController4 BP: Data Controller (Internal Use Only)
DataController5 BP: Data Controller (Internal Use Only)
DataController6 BP: Data Controller (Internal Use Only)
DataController7 BP: Data Controller (Internal Use Only)
DataController8 BP: Data Controller (Internal Use Only)
DataController9 BP: Data Controller (Internal Use Only)
DataController10 BP: Data Controller (Internal Use Only)
_PurgQuotaArrgmt _PurgQuotaArrgmt

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_PurgQuotaArrgmtItemAPI01.
-- 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: IPURGQAITEMAPI01

CREATE VIEW I_PurgQuotaArrgmtItemAPI01 AS
SELECT
  QuotaArrangement,
  QuotaArrangementItem,
  MaterialProcurementCategory,
  MaterialProcurementType,
  Supplier,
  SupplyingPlant,
  PurchasingSourceQuota,
  QuotaBaseQuantity,
  QuotaAllocatedQuantity,
  QuotaMaximumQuantity,
  ProductionVersion,
  MaterialMaxLotSizeQuantity,
  MaterialMinLotSizeQuantity,
  MaterialRoundingProfile,
  SourceOfSupplyIsAssignedOnce,
  MaximumReleaseQuantity,
  QuotaReleasePeriodType,
  NumberOfPeriodsPerRelQuantity,
  QuotaDeterminationPriority,
  ManufacturerMaterial,
  PlannedDeliveryDurationInDays,
  Plant,
  MaterialBaseUnit,
  I_PurgQuotaArrgmtItem._Supplier.AuthorizationGroup AS AuthorizationGroup,
  I_PurgQuotaArrgmtItem._Supplier.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  I_PurgQuotaArrgmtItem._Supplier.DataControllerSet AS DataControllerSet,
  I_PurgQuotaArrgmtItem._Supplier.DataController1 AS DataController1,
  I_PurgQuotaArrgmtItem._Supplier.DataController2 AS DataController2,
  I_PurgQuotaArrgmtItem._Supplier.DataController3 AS DataController3,
  I_PurgQuotaArrgmtItem._Supplier.DataController4 AS DataController4,
  I_PurgQuotaArrgmtItem._Supplier.DataController5 AS DataController5,
  I_PurgQuotaArrgmtItem._Supplier.DataController6 AS DataController6,
  I_PurgQuotaArrgmtItem._Supplier.DataController7 AS DataController7,
  I_PurgQuotaArrgmtItem._Supplier.DataController8 AS DataController8,
  I_PurgQuotaArrgmtItem._Supplier.DataController9 AS DataController9,
  I_PurgQuotaArrgmtItem._Supplier.DataController10 AS DataController10
FROM I_PurgQuotaArrgmtItem
LEFT OUTER JOIN I_PurgQuotaArrgmtAPI01 AS _PurgQuotaArrgmt ON QuotaArrangement = _PurgQuotaArrgmt.QuotaArrangement  -- association [1..1]
;