ARUN_PR_ALLOC_SEL

DDL: ARUN_PR_ALLOC_SEL SQL: ARUN_V_PR_SEL Type: view

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)

SourceAliasJoin Type
ARUN_I_PR ARUN_I_PR from

Annotations (7)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;