I_PurgQuotaArrgmtAPI01

DDL: I_PURGQUOTAARRGMTAPI01 SQL: IPURGQAAPI01 Type: view BASIC

Purchasing Quota Arrangement

I_PurgQuotaArrgmtAPI01 is a Basic CDS View that provides data about "Purchasing Quota Arrangement" in SAP S/4HANA. It reads from 1 data source (I_PurgQuotaArrgmt) and exposes 11 fields with key field QuotaArrangement. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Sourcing
StatusReleased
Purpose
This CDS view retrieves the quota arrangements for a material, plant combination. If a material can be obtained from various sources of supply, each individual source of supply can be allocated a quota arrangement. The quota arrangement is valid for a certain period of time and specifies exactly how the receipts are to be distributed amongst each source of supply. This CDS view provides the data to answer the following business questions: What are the quota arrangements available in the system for a certain material, plant combination? What is the validity period of a quota arrangement? What is the minimum quantity for splitting quota in a quota arrangement? 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 matnr Material werks Plant bdatu ValidityEndDate vdatu ValidityStartDate scmng MinQtyForSpltQuota

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
I_PurgQuotaArrgmt I_PurgQuotaArrgmt from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_PurgQuotaArrgmtItemAPI01 _PurgQuotaArrgmtItem $projection.QuotaArrangement = _PurgQuotaArrgmtItem.QuotaArrangement

Annotations (14)

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

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY QuotaArrangement QuotaArrangement Quota arr.
Material Material Vehicle Model
Plant Plant Valuation Area
ValidityEndDate ValidityEndDate ValidTo
ValidityStartDate ValidityStartDate Validity Start Date
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
MinQtyForSpltQuota MinQtyForSpltQuota Minimum Qty
LastChangeDateTime LastChangeDateTime Timestamp
MaterialBaseUnit MaterialBaseUnit Valuation Unit
_PurgQuotaArrgmtItem _PurgQuotaArrgmtItem

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_PurgQuotaArrgmtAPI01.
-- 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: IPURGQAAPI01

CREATE VIEW I_PurgQuotaArrgmtAPI01 AS
SELECT
  QuotaArrangement,
  Material,
  Plant,
  ValidityEndDate,
  ValidityStartDate,
  CreationDate,
  CreatedByUser,
  MinQtyForSpltQuota,
  LastChangeDateTime,
  MaterialBaseUnit
FROM I_PurgQuotaArrgmt
LEFT OUTER JOIN I_PurgQuotaArrgmtItemAPI01 AS _PurgQuotaArrgmtItem ON QuotaArrangement = _PurgQuotaArrgmtItem.QuotaArrangement  -- association [1..*]
;