I_ARunSTOItem

DDL: I_ARUNSTOITEM SQL: IARUNSTOITEM Type: view BASIC

ARun relevant Stock Transport Item

I_ARunSTOItem is a Basic CDS View that provides data about "ARun relevant Stock Transport Item" in SAP S/4HANA. It reads from 4 data sources (ekko, ekpo, ekpv, I_SupDmndMaterialPlant) and exposes 16 fields with key fields PurchasingDocument, PurchasingDocumentItem.

Data Sources (4)

SourceAliasJoin Type
ekko ekko from
ekpo ekpo inner
ekpv ekpv inner
I_SupDmndMaterialPlant marc inner

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName IARUNSTOITEM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
EndUserText.label ARun relevant Stock Transport Item view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocument ekpo ebeln Source PurchDoc
KEY PurchasingDocumentItem ekpo ebelp Item pur. doc.
RequestedRqmtQtyInBaseUnit ekpo menge WarrCountValue
SalesOrganization ekpv vkorg SD Sales Org.
DistributionChannel ekpv vtweg RefDistCh-Cust/Mat.
Division ekpv spart Source supplier
OrderType ekko bsart Stnd purch.ord.
SoldToParty ekpv kunag Sold-to Party
ShipToParty ekpv kunnr Stock customer
ShippingGroupNumber ekpo rfm_psst_group PSST Group
NetPriceAmount ekpo netpr Price
Plant I_SupDmndMaterialPlant Plant Valuation Area
Material I_SupDmndMaterialPlant Material Vehicle Model
CrossPlantConfigurableProduct I_SupDmndMaterialPlant CrossPlantConfigurableProduct Cross-plant CP
RequirementType
BaseUnit ekpo meins Valuation Unit

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 I_ARunSTOItem.
-- 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: IARUNSTOITEM

CREATE VIEW I_ARunSTOItem AS
SELECT
  ekpo.ebeln AS PurchasingDocument,
  ekpo.ebelp AS PurchasingDocumentItem,
  ekpo.menge AS RequestedRqmtQtyInBaseUnit,
  ekpv.vkorg AS SalesOrganization,
  ekpv.vtweg AS DistributionChannel,
  ekpv.spart AS Division,
  ekko.bsart AS OrderType,
  ekpv.kunag AS SoldToParty,
  ekpv.kunnr AS ShipToParty,
  ekpo.rfm_psst_group AS ShippingGroupNumber,
  ekpo.netpr AS NetPriceAmount,
  marc.Plant AS Plant,
  marc.Material AS Material,
  marc.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
  'U1' AS RequirementType,
  ekpo.meins AS BaseUnit
FROM ekko
INNER JOIN ekpo ON /* join condition not captured in parsed metadata */
INNER JOIN ekpv ON /* join condition not captured in parsed metadata */
INNER JOIN I_SupDmndMaterialPlant AS marc ON /* join condition not captured in parsed metadata */
;