ARUNI_EBAN_SEL

DDL: ARUNI_EBAN_SEL SQL: ARUNI_V_EBAN_SEL Type: view

Get Purchase Requisition data

ARUNI_EBAN_SEL is a CDS View that provides data about "Get Purchase Requisition data" in SAP S/4HANA. It reads from 3 data sources (mara, marc, eban) and exposes 25 fields.

Data Sources (3)

SourceAliasJoin Type
mara m inner
marc mc inner
eban pr from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName ARUNI_V_EBAN_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 Get Purchase Requisition data view

Fields (25)

KeyFieldSource TableSource FieldDescription
banfn eban banfn Requisition
bnfpo eban bnfpo Requisn. item
matnr eban matnr Vehicle Model
werks eban werks Receiving Plant
total_stock
lfdat eban lfdat Delivery Date
meins eban meins Valuation Unit
sgt_scat eban sgt_scat Stock Segment
lgort eban lgort Sublocation
company_code eban extcompanycodeforpurg Company Code
satnr eban satnr Cross-plant CM
bsart eban bsart Stnd purch.ord.
lifnr eban lifnr Vendor no.
webaz eban 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.
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 ARUNI_EBAN_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: ARUNI_V_EBAN_SEL

CREATE VIEW ARUNI_EBAN_SEL AS
SELECT
  pr.banfn AS banfn,
  pr.bnfpo AS bnfpo,
  pr.matnr AS matnr,
  pr.werks AS werks,
  pr.menge - pr.bsmng AS total_stock,
  pr.lfdat AS lfdat,
  pr.meins AS meins,
  pr.sgt_scat AS sgt_scat,
  pr.lgort AS lgort,
  pr.extcompanycodeforpurg AS company_code,
  pr.satnr AS satnr,
  pr.bsart AS bsart,
  pr.lifnr AS lifnr,
  pr.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.attyp AS attyp,
  m.matkl AS matkl
FROM eban AS pr
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 */
;