ARUN_I_SO_VBEP_FIELD

DDL: ARUN_I_SO_VBEP_FIELD SQL: ARUNI_V_SO_VBEP Type: view Package: ARUN_ITA

Date level information for SO

ARUN_I_SO_VBEP_FIELD is a CDS View that provides data about "Date level information for SO" in SAP S/4HANA. It reads from 3 data sources (vbep, tvep, ARUN_VBEP_DATE) and exposes 9 fields. Part of development package ARUN_ITA.

Data Sources (3)

SourceAliasJoin Type
vbep sl inner
tvep tvep inner
ARUN_VBEP_DATE vbep_date from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName ARUNI_V_SO_VBEP 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
ClientHandling.algorithm #AUTOMATED view
EndUserText.label Date level information for SO view

Fields (9)

KeyFieldSource TableSource FieldDescription
vbeln vbep vbeln SD Sched. Agmt
posnr vbep posnr WBS Element
mbdat vbep mbdat Mat.Avail.Date
req_dlvdate
edatu
dlvqty_bu
kwmeng ARUN_VBEP_DATE kwmeng Sales Quantity
vbtypGthenVGelseVCendasreq_ind
wmeng

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_SO_VBEP_FIELD.
-- 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_SO_VBEP

CREATE VIEW ARUN_I_SO_VBEP_FIELD AS
SELECT
  sl.vbeln AS vbeln,
  sl.posnr AS posnr,
  sl.mbdat AS mbdat,
  min(vbep_date.req_dlvdate) AS req_dlvdate,
  max(sl.edatu) AS edatu,
  sum(dlvqty_bu) AS dlvqty_bu,
  vbep_date.kwmeng AS kwmeng,
  case when vbep_date.vbtyp = 'I' then 'VI' when vbep_date.vbtyp = 'G' then 'VG' else 'VC' end as req_ind AS vbtypGthenVGelseVCendasreq_ind,
  sum(vbep_date.wmeng) AS wmeng
FROM ARUN_VBEP_DATE AS vbep_date
INNER JOIN vbep AS sl ON /* join condition not captured in parsed metadata */
INNER JOIN tvep ON /* join condition not captured in parsed metadata */
;