ARUN_PR_ALLOC_SEL
Status level aggregation of Assigned quantities for Purchase Requisitions
ARUN_PR_ALLOC_SEL is a CDS View that provides data about "Status level aggregation of Assigned quantities for Purchase Requisitions" in SAP S/4HANA. It reads from 1 data source (ARUN_I_PR) and exposes 35 fields.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ARUN_I_PR | ARUN_I_PR | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ARUN_V_PR_SEL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Status level aggregation of Assigned quantities for Purchase Requisitions | view |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| purchreq_num | purchreq_num | Requisition | ||
| purchreq_sch | purchreq_sch | |||
| material | material | Vehicle Model | ||
| plant | plant | Valuation Area | ||
| total_stock | total_stock | |||
| sopen_pre | sopen_pre | |||
| delv_date | delv_date | Delivery Date | ||
| stock_source | stock_source | Stock Source | ||
| stocksegment | stocksegment | Stock Segment | ||
| SeasonYear | SeasonYear | |||
| Season | Season | Season | ||
| sCollection | sCollection | |||
| theme | theme | Theme | ||
| fsh_mg_at1 | fsh_mg_at1 | Fsh. Attribute1 | ||
| fsh_mg_at2 | fsh_mg_at2 | Fsh. Attribute2 | ||
| fsh_mg_at3 | fsh_mg_at3 | Fsh. Attribute3 | ||
| color | color | Level Color | ||
| size1 | size1 | Size 1 | ||
| size2 | size2 | Size 2 | ||
| color_atinn | color_atinn | Internal Char. | ||
| size1_atinn | size1_atinn | Internal Char. | ||
| size2_atinn | size2_atinn | Internal Char. | ||
| stknam | stknam | |||
| company_code | company_code | Company Code | ||
| pfmenge | ||||
| phmenge | ||||
| prmenge | ||||
| pomenge | ||||
| satnr | satnr | Cross-plant CM | ||
| alloc_qty | alloc_qty | Assigned Qty | ||
| attyp | attyp | Trdg Goods Cat. | ||
| supplier | supplier | Supplier | ||
| pr_doc_typ | pr_doc_typ | Stnd purch.ord. | ||
| matkl | matkl | Product Sold Group | ||
| webaz | webaz | GR Proc. Time |
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 ARUN_PR_ALLOC_SEL.
-- 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: ARUN_V_PR_SEL
CREATE VIEW ARUN_PR_ALLOC_SEL AS
SELECT
purchreq_num,
purchreq_sch,
material,
plant,
total_stock,
sopen_pre,
delv_date,
stock_source,
stocksegment,
SeasonYear,
Season,
sCollection,
theme,
fsh_mg_at1,
fsh_mg_at2,
fsh_mg_at3,
color,
size1,
size2,
color_atinn,
size1_atinn,
size2_atinn,
stknam,
company_code,
sum(pfmenge) AS pfmenge,
sum(phmenge) AS phmenge,
sum(prmenge) AS prmenge,
sum(pomenge) AS pomenge,
satnr,
alloc_qty,
attyp,
supplier,
pr_doc_typ,
matkl,
webaz
FROM ARUN_I_PR
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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