arun_i_plaf

DDL: ARUN_I_PLAF SQL: ARUN_V_PLAF Type: view Package: ARUN_ITA

Planned order selection

arun_i_plaf is a CDS View that provides data about "Planned order selection" in SAP S/4HANA. It reads from 3 data sources (mara, marc, plaf) and exposes 21 fields. Part of development package ARUN_ITA.

Data Sources (3)

SourceAliasJoin Type
mara m inner
marc mc inner
plaf p from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName ARUN_V_PLAF 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 Planned order selection view

Fields (21)

KeyFieldSource TableSource FieldDescription
planord_num plaf plnum Planned Order
material plaf matnr Vehicle Model
plant plaf plwrk Planning Plant
total_stock
delv_date plaf pedtr Order End Date
stocksegment plaf sgt_scat Stock Segment
paart plaf paart Planned Order Type
supplier plaf flief Fixed Vendor
webaz plaf webaz GR Proc. Time
fsh_mg_at1 mara fsh_mg_at1 Fsh. Attribute1
fsh_mg_at2 mara fsh_mg_at2 Fsh. Attribute2
fsh_mg_at3 mara fsh_mg_at3 Fsh. Attribute3
color mara color Level Color
size1 mara size1 Size 1
size2 mara size2 Size 2
color_atinn mara color_atinn Internal Char.
size1_atinn mara size1_atinn Internal Char.
size2_atinn mara size2_atinn Internal Char.
satnr mara satnr Cross-plant CM
attyp mara attyp Trdg Goods Cat.
matkl mara matkl Product Sold Group

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_i_plaf.
-- 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_PLAF

CREATE VIEW arun_i_plaf AS
SELECT
  p.plnum AS planord_num,
  p.matnr AS material,
  p.plwrk AS plant,
  p.gsmng - p.avmng - p.wemng AS total_stock,
  p.pedtr AS delv_date,
  p.sgt_scat AS stocksegment,
  p.paart AS paart,
  p.flief AS supplier,
  p.webaz AS webaz,
  m.fsh_mg_at1 AS fsh_mg_at1,
  m.fsh_mg_at2 AS fsh_mg_at2,
  m.fsh_mg_at3 AS fsh_mg_at3,
  m.color AS color,
  m.size1 AS size1,
  m.size2 AS size2,
  m.color_atinn AS color_atinn,
  m.size1_atinn AS size1_atinn,
  m.size2_atinn AS size2_atinn,
  m.satnr AS satnr,
  m.attyp AS attyp,
  m.matkl AS matkl
FROM plaf AS p
INNER JOIN mara AS m ON /* join condition not captured in parsed metadata */
INNER JOIN marc AS mc ON /* join condition not captured in parsed metadata */
;