C_PurgQuotaArrgmtWithDraft
Quota Arrangement Header View
C_PurgQuotaArrgmtWithDraft is a Consumption CDS View that provides data about "Quota Arrangement Header View" in SAP S/4HANA. It reads from 1 data source (I_PurgQuotaArrgmtTP) and exposes 18 fields with key field QuotaArrangement. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurgQuotaArrgmtTP | Document | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | C_PurgQuotaArrgmtItemWD | _PurgQuotaArrgmtItemWD | $projection.QuotaArrangement = _PurgQuotaArrgmtItemWD.QuotaArrangement |
| [0..1] | C_MM_MaterialValueHelp | _MaterialValueHelp | $projection.Material = _MaterialValueHelp.Material and $projection.Plant = _MaterialValueHelp.Plant |
| [0..*] | C_MM_PlantValueHelp | _PlantValueHelp | $projection.Plant = _PlantValueHelp.Plant |
Annotations (20)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPURGQTAHDRWD | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Quota Arrangement Header View | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.updateEnabled | true | view | |
| UI.headerInfo.typeName | Quota Arrangement | view | |
| UI.headerInfo.typeNamePlural | Quota Arrangements | view | |
| UI.headerInfo.title.value | QuotaArrangement | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.description.type | #STANDARD | view | |
| UI.headerInfo.typeImageUrl | /sap/bc/ui5_ui5/sap/mm_qa_maints1/images/QuotaArrangement.jpg | view | |
| Search.searchable | true | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | QuotaArrangement | I_PurgQuotaArrgmtTP | QuotaArrangement | Quota arr. |
| Material | I_PurgQuotaArrgmtTP | Material | Vehicle Model | |
| Plant | I_PurgQuotaArrgmtTP | Plant | Valuation Area | |
| ValidityStartDate | I_PurgQuotaArrgmtTP | ValidityStartDate | Validity Start Date | |
| ValidityEndDate | I_PurgQuotaArrgmtTP | ValidityEndDate | ValidTo | |
| MinQtyForSpltQuota | I_PurgQuotaArrgmtTP | MinQtyForSpltQuota | ||
| CreationDate | I_PurgQuotaArrgmtTP | CreationDate | Time Stamp | |
| CreatedByUser | I_PurgQuotaArrgmtTP | CreatedByUser | User Name | |
| UserDescription | I_PurgQuotaArrgmtTP | UserDescription | Full Name | |
| MaterialBaseUnit | I_PurgQuotaArrgmtTP | MaterialBaseUnit | Valuation Unit | |
| _PurgQuotaArrgmtItemWD | _PurgQuotaArrgmtItemWD | |||
| _MaterialValueHelp | _MaterialValueHelp | |||
| _PlantValueHelp | _PlantValueHelp | |||
| _Material | I_PurgQuotaArrgmtTP | _Material | ||
| _Plant | I_PurgQuotaArrgmtTP | _Plant | ||
| PlantName | _Plant | PlantName | Plant Name | |
| _BaseUnit | I_PurgQuotaArrgmtTP | _BaseUnit | ||
| _UnitOfMeasureText | I_PurgQuotaArrgmtTP | _UnitOfMeasureText |
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 C_PurgQuotaArrgmtWithDraft.
-- 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: CPURGQTAHDRWD
CREATE VIEW C_PurgQuotaArrgmtWithDraft AS
SELECT
Document.QuotaArrangement AS QuotaArrangement,
Document.Material AS Material,
Document.Plant AS Plant,
Document.ValidityStartDate AS ValidityStartDate,
Document.ValidityEndDate AS ValidityEndDate,
Document.MinQtyForSpltQuota AS MinQtyForSpltQuota,
Document.CreationDate AS CreationDate,
Document.CreatedByUser AS CreatedByUser,
Document.UserDescription AS UserDescription,
Document.MaterialBaseUnit AS MaterialBaseUnit,
Document._Material AS _Material,
Document._Plant AS _Plant,
_Plant.PlantName AS PlantName,
Document._BaseUnit AS _BaseUnit,
Document._UnitOfMeasureText AS _UnitOfMeasureText
FROM I_PurgQuotaArrgmtTP AS Document
LEFT OUTER JOIN C_PurgQuotaArrgmtItemWD AS _PurgQuotaArrgmtItemWD ON QuotaArrangement = _PurgQuotaArrgmtItemWD.QuotaArrangement -- association [1..*]
LEFT OUTER JOIN C_MM_MaterialValueHelp AS _MaterialValueHelp ON Material = _MaterialValueHelp.Material AND Plant = _MaterialValueHelp.Plant -- association [0..1]
LEFT OUTER JOIN C_MM_PlantValueHelp AS _PlantValueHelp ON Plant = _PlantValueHelp.Plant -- association [0..*]
;
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