I_ARunSalesOrderItem
ARun relevant Sales Document Item
I_ARunSalesOrderItem is a Basic CDS View that provides data about "ARun relevant Sales Document Item" in SAP S/4HANA. It reads from 3 data sources (I_SupDmndMaterialPlant, vbak, vbap) and exposes 21 fields with key fields SalesDocument, SalesDocumentItem. Part of development package ARUN_RELEASE_CHECK.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_SupDmndMaterialPlant | marc | inner |
| vbak | vbak | from |
| vbap | vbap | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | IARUNSOITEM | 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 Sales Document Item | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesDocument | vbap | vbeln | SD Sched. Agmt |
| KEY | SalesDocumentItem | vbap | posnr | WBS Element |
| RequestedRqmtQtyInBaseUnit | vbap | kwmeng | Sales Quantity | |
| SalesOrganization | vbak | vkorg | SD Sales Org. | |
| DistributionChannel | vbak | vtweg | RefDistCh-Cust/Mat. | |
| Division | vbak | spart | Source supplier | |
| OrderType | vbak | auart | Sales Doc. Type | |
| SoldToParty | vbak | kunnr | Stock customer | |
| ShipToParty | ||||
| DeliveryGroup | vbap | grkor | Delivery Group | |
| ShippingGroupNumber | vbap | rfm_psst_group | PSST Group | |
| ARunSupplyAssgmtReleaseRule | vbak | fsh_rereg | Release Rule | |
| NetPriceAmount | vbap | netpr | Price | |
| DocumentCurrency | vbap | waerk | Doc. Currency | |
| Plant | I_SupDmndMaterialPlant | Plant | Valuation Area | |
| Material | I_SupDmndMaterialPlant | Material | Vehicle Model | |
| CrossPlantConfigurableProduct | I_SupDmndMaterialPlant | CrossPlantConfigurableProduct | Cross-plant CP | |
| vbtypGthenVGelseVCendasRequirementType | ||||
| BaseUnit | vbap | meins | Valuation Unit | |
| HeaderDelivIncompletionStatus | vbak | uvvlk | Delivery – Item | |
| ItemDeliveryIncompletionStatus | vbap | uvvlk | Delivery – Item |
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_ARunSalesOrderItem.
-- 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: IARUNSOITEM
CREATE VIEW I_ARunSalesOrderItem AS
SELECT
vbap.vbeln AS SalesDocument,
vbap.posnr AS SalesDocumentItem,
vbap.kwmeng AS RequestedRqmtQtyInBaseUnit,
vbak.vkorg AS SalesOrganization,
vbak.vtweg AS DistributionChannel,
vbak.spart AS Division,
vbak.auart AS OrderType,
vbak.kunnr AS SoldToParty,
case when we1.kunnr is not null then we1.kunnr else we2.kunnr end AS ShipToParty,
vbap.grkor AS DeliveryGroup,
vbap.rfm_psst_group AS ShippingGroupNumber,
vbak.fsh_rereg AS ARunSupplyAssgmtReleaseRule,
vbap.netpr AS NetPriceAmount,
vbap.waerk AS DocumentCurrency,
marc.Plant AS Plant,
marc.Material AS Material,
marc.CrossPlantConfigurableProduct AS CrossPlantConfigurableProduct,
case when vbak.vbtyp = 'I' then 'VI' when vbak.vbtyp = 'G' then 'VG' else 'VC' end as RequirementType AS vbtypGthenVGelseVCendasRequirementType,
vbap.meins AS BaseUnit,
vbak.uvvlk AS HeaderDelivIncompletionStatus,
vbap.uvvlk AS ItemDeliveryIncompletionStatus
FROM vbak
INNER JOIN vbap ON /* join condition not captured in parsed metadata */
INNER JOIN I_SupDmndMaterialPlant AS marc ON /* join condition not captured in parsed metadata */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA