I_PurgQuotaArrgmtItemAPI01
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
| Category | Quota Arrangement |
|---|---|
| Status | Released |
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
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Sourcing & Procurement |
| Application Component | MM-PUR-SQ-QTA |
| Capabilities | Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities |
| Package | Sourcing & 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
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurgQuotaArrgmtItem | I_PurgQuotaArrgmtItem | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PurgQuotaArrgmtAPI01 | _PurgQuotaArrgmt | $projection.QuotaArrangement = _PurgQuotaArrgmt.QuotaArrangement |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA