ARUN_SO_ITEM_QTY

DDL: ARUN_SO_ITEM_QTY SQL: ARUN_V_ITEM_QTY Type: view

Fetch Sup Assgmt status of a sales order

ARUN_SO_ITEM_QTY is a CDS View that provides data about "Fetch Sup Assgmt status of a sales order" in SAP S/4HANA. It reads from 3 data sources (vbap, nsdm_e_marc, vbep) and exposes 4 fields.

Data Sources (3)

SourceAliasJoin Type
vbap item from
nsdm_e_marc mat inner
vbep sch inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName ARUN_V_ITEM_QTY 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 Fetch Sup Assgmt status of a sales order view

Fields (4)

KeyFieldSource TableSource FieldDescription
vbeln vbap vbeln SD Sched. Agmt
posnr vbap posnr WBS Element
delivery_qty
status

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_ITEM_QTY.
-- 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_ITEM_QTY

CREATE VIEW ARUN_SO_ITEM_QTY AS
SELECT
  item.vbeln AS vbeln,
  item.posnr AS posnr,
  sum(sch.dlvqty_bu) AS delivery_qty,
  case when mat.matnr is null then '' else 'X' end AS status
FROM vbap AS item
INNER JOIN vbep AS sch ON /* join condition not captured in parsed metadata */
INNER JOIN nsdm_e_marc AS mat ON /* join condition not captured in parsed metadata */
;