Arun_So_Req1

DDL: ARUN_SO_REQ1 SQL: ARUN_V_SO_REQ1 Type: view Package: ARUN_CORE

Sales Order Requirement - Initial join

Arun_So_Req1 is a CDS View that provides data about "Sales Order Requirement - Initial join" in SAP S/4HANA. It reads from 3 data sources (vbap, marc, mara) and exposes 48 fields with key fields client, vbeln, posnr. Part of development package ARUN_CORE.

Data Sources (3)

SourceAliasJoin Type
vbap i from
marc m inner
mara ma inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName ARUN_V_SO_REQ1 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 Sales Order Requirement - Initial join view

Fields (48)

KeyFieldSource TableSource FieldDescription
KEY client vbap mandt Editing Client
KEY vbeln vbap vbeln SD Sched. Agmt
KEY posnr vbap posnr WBS Element
matnr vbap matnr Vehicle Model
charg vbap charg Chargeable Proc.
matkl vbap matkl Product Sold Group
mvgr1 vbap mvgr1 MaterialGroup 1
werks vbap werks Receiving Plant
lgort vbap lgort Sublocation
fsh_candate vbap fsh_candate Cancel Date
hfsh_candate vbap fsh_candate Cancel Date
sgt_rcat vbap sgt_rcat Req. Segment
meins vbap meins Valuation Unit
fsh_season vbap fsh_season Season
fsh_theme vbap fsh_theme Theme
grkor vbap grkor Delivery Group
uepos vbap uepos Higher-Lev.Item
lprio vbap lprio Delivery Prior.
sobkz vbap sobkz Special Stock
shkzg vbap shkzg Returns
kowrr vbap kowrr Stat. Value
fixmg vbap fixmg Planned qty
stdat vbap stdat Status Change
stlnr vbap stlnr BOM
sposn vbap sposn Item
bedae vbap bedae Reqmts type
pstyv vbap pstyv Item Category
fsh_vas_rel vbap fsh_vas_rel VAS Relevant
fsh_item vbap fsh_item Item Number
lfsta vbap lfsta Delivery Status
vstel vbap vstel ShpPtDeparture
satnr mara satnr Cross-plant CM
mspart mara spart Source supplier
xchpf marc xchpf Batch Mgmt Rqt(Plnt)
sgt_stk_prt marc sgt_stk_prt Stk Prot.
dismm marc dismm MRP Type
sgt_covs marc sgt_covs Segment. Strategy
color_atinn mara color_atinn Internal Char.
size1_atinn mara size1_atinn Internal Char.
size2_atinn mara size2_atinn Internal Char.
color mara color Level Color
size1 mara size1 Size 1
size2 mara size2 Size 2
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
VBFA 0
BDBS 0

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_So_Req1.
-- 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_SO_REQ1

CREATE VIEW Arun_So_Req1 AS
SELECT
  i.mandt AS client,
  i.vbeln AS vbeln,
  i.posnr AS posnr,
  i.matnr AS matnr,
  i.charg AS charg,
  i.matkl AS matkl,
  i.mvgr1 AS mvgr1,
  i.werks AS werks,
  i.lgort AS lgort,
  i.fsh_candate AS fsh_candate,
  i.fsh_candate AS hfsh_candate,
  i.sgt_rcat AS sgt_rcat,
  i.meins AS meins,
  i.fsh_season AS fsh_season,
  i.fsh_theme AS fsh_theme,
  i.grkor AS grkor,
  i.uepos AS uepos,
  i.lprio AS lprio,
  i.sobkz AS sobkz,
  i.shkzg AS shkzg,
  i.kowrr AS kowrr,
  i.fixmg AS fixmg,
  i.stdat AS stdat,
  i.stlnr AS stlnr,
  i.sposn AS sposn,
  i.bedae AS bedae,
  i.pstyv AS pstyv,
  i.fsh_vas_rel AS fsh_vas_rel,
  i.fsh_item AS fsh_item,
  i.lfsta AS lfsta,
  i.vstel AS vstel,
  ma.satnr AS satnr,
  ma.spart AS mspart,
  m.xchpf AS xchpf,
  m.sgt_stk_prt AS sgt_stk_prt,
  m.dismm AS dismm,
  m.sgt_covs AS sgt_covs,
  ma.color_atinn AS color_atinn,
  ma.size1_atinn AS size1_atinn,
  ma.size2_atinn AS size2_atinn,
  ma.color AS color,
  ma.size1 AS size1,
  ma.size2 AS size2,
  ma.fsh_mg_at1 AS fsh_mg_at1,
  ma.fsh_mg_at2 AS fsh_mg_at2,
  ma.fsh_mg_at3 AS fsh_mg_at3,
  0 AS VBFA,
  0 AS BDBS
FROM vbap AS i
INNER JOIN mara AS ma ON /* join condition not captured in parsed metadata */
INNER JOIN marc AS m ON /* join condition not captured in parsed metadata */
;