Arun_Reqsrt_Mm

DDL: ARUN_REQSRT_MM SQL: V_ARUN_SRT_MM Type: view

Requirement sorting - MM

Arun_Reqsrt_Mm is a CDS View that provides data about "Requirement sorting - MM" in SAP S/4HANA. It reads from 6 data sources and exposes 44 fields.

Data Sources (6)

SourceAliasJoin Type
knvv c left_outer
ekko h from
ekpo i inner
ekpv is inner
marc m inner
mara ma inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName V_ARUN_SRT_MM 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
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Requirement sorting - MM view

Fields (44)

KeyFieldSource TableSource FieldDescription
ebeln ekko ebeln Source PurchDoc
bstyp ekko bstyp Source doc.cat.
bsart ekko bsart Stnd purch.ord.
bedat ekko bedat Start date
reswk ekko reswk Supplying Plant
aedat ekko aedat Obsolete
ekorg ekko ekorg Purchasing Org.
kunnr ekko kunnr Stock customer
audat ekko bedat Start date
ebelp ekpo ebelp Item pur. doc.
matnr ekpo matnr Vehicle Model
meins ekpo meins Valuation Unit
sgt_rcat ekpo sgt_rcat Req. Segment
fsh_season ekpo fsh_season Season
fsh_theme ekpo fsh_theme Theme
abeln ekpo abeln Alloc. Table
abelp ekpo abelp Item
werks ekpo werks Receiving Plant
lgort ekpo lgort Sublocation
matkl ekpo matkl Product Sold Group
menge 0
umrez ekpo umrez Numerator
umren ekpo umren Denominator
lmein ekpo lmein Base Unit
vkorg ekpv vkorg SD Sales Org.
vtweg ekpv vtweg RefDistCh-Cust/Mat.
spart ekpv spart Source supplier
lprio ekpv lprio Delivery Prior.
satnr mara satnr Cross-plant CM
mtpos_mara mara mtpos_mara GenItemCatGroup
xchpf marc xchpf Batch Mgmt Rqt(Plnt)
sgt_covs marc sgt_covs Segment. Strategy
sgt_stk_prt marc sgt_stk_prt Stk Prot.
kdgrp knvv kdgrp Customer group
kvgr1 knvv kvgr1 Customer Grp 1
kvgr2 knvv kvgr2 Customer Grp 2
kvgr3 knvv kvgr3 Customer Grp 3
kvgr4 knvv kvgr4 Customer Grp 4
kvgr5 knvv kvgr5 Customer Grp 5
fsh_kvgr6 knvv fsh_kvgr6 Customer Grp 6
fsh_kvgr7 knvv fsh_kvgr7 Customer Grp 7
fsh_kvgr8 knvv fsh_kvgr8 Customer Grp 8
fsh_kvgr9 knvv fsh_kvgr9 Customer Grp 9
fsh_kvgr10 knvv fsh_kvgr10 Customer Grp 10

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_Reqsrt_Mm.
-- 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: V_ARUN_SRT_MM

CREATE VIEW Arun_Reqsrt_Mm AS
SELECT
  h.ebeln AS ebeln,
  h.bstyp AS bstyp,
  h.bsart AS bsart,
  h.bedat AS bedat,
  h.reswk AS reswk,
  h.aedat AS aedat,
  h.ekorg AS ekorg,
  h.kunnr AS kunnr,
  h.bedat AS audat,
  i.ebelp AS ebelp,
  i.matnr AS matnr,
  i.meins AS meins,
  i.sgt_rcat AS sgt_rcat,
  i.fsh_season AS fsh_season,
  i.fsh_theme AS fsh_theme,
  i.abeln AS abeln,
  i.abelp AS abelp,
  i.werks AS werks,
  i.lgort AS lgort,
  i.matkl AS matkl,
  0 AS menge,
  i.umrez AS umrez,
  i.umren AS umren,
  i.lmein AS lmein,
  is.vkorg AS vkorg,
  is.vtweg AS vtweg,
  is.spart AS spart,
  is.lprio AS lprio,
  ma.satnr AS satnr,
  ma.mtpos_mara AS mtpos_mara,
  m.xchpf AS xchpf,
  m.sgt_covs AS sgt_covs,
  m.sgt_stk_prt AS sgt_stk_prt,
  c.kdgrp AS kdgrp,
  c.kvgr1 AS kvgr1,
  c.kvgr2 AS kvgr2,
  c.kvgr3 AS kvgr3,
  c.kvgr4 AS kvgr4,
  c.kvgr5 AS kvgr5,
  c.fsh_kvgr6 AS fsh_kvgr6,
  c.fsh_kvgr7 AS fsh_kvgr7,
  c.fsh_kvgr8 AS fsh_kvgr8,
  c.fsh_kvgr9 AS fsh_kvgr9,
  c.fsh_kvgr10 AS fsh_kvgr10
FROM ekko AS h
INNER JOIN ekpo AS i ON /* join condition not captured in parsed metadata */
INNER JOIN marc AS m ON /* join condition not captured in parsed metadata */
INNER JOIN mara AS ma ON /* join condition not captured in parsed metadata */
INNER JOIN ekpv AS is ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN knvv AS c ON /* join condition not captured in parsed metadata */
;