Arun_I_Sto_Reqmt
STO selection for Normal mode
Arun_I_Sto_Reqmt is a CDS View that provides data about "STO selection for Normal mode" in SAP S/4HANA. It reads from 8 data sources and exposes 108 fields with key fields ebeln, ebelp.
Data Sources (8)
| Source | Alias | Join Type |
|---|---|---|
| Arun_I_Sto_1 | Arun_I_Sto_1 | from |
| arun_bdbs | bdbs | left_outer |
| knvv | c | left_outer |
| ekes | ekes | left_outer |
| ekpv | itms | inner |
| kna1 | kna1 | inner |
| arun_i_sl_sto_sel | sl | inner |
| t161v | T161V | inner |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| p_langu | abap.lang | |
| p_arun_mode | arun_armd |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ARUN_V_I_STO_REQ | 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 | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #AUTOMATED | view | |
| EndUserText.label | STO selection for Normal mode | view |
Fields (108)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ebeln | i | ebeln | Source PurchDoc |
| KEY | ebelp | i | ebelp | Item pur. doc. |
| aufnr | i | ebeln | Source PurchDoc | |
| posnr | i | ebelp | Item pur. doc. | |
| bdart | ||||
| bstyp | i | bstyp | Source doc.cat. | |
| bsart | i | bsart | Stnd purch.ord. | |
| bedat | i | bedat | Start date | |
| audat | i | bedat | Start date | |
| reswk | i | reswk | Supplying Plant | |
| aedat | i | aedat | Obsolete | |
| erdat | i | aedat | Obsolete | |
| ekorg | i | ekorg | Purchasing Org. | |
| ekgrp | i | ekgrp | Sub. purchasing grp | |
| material | i | matnr | Vehicle Model | |
| matkl | i | matkl | Product Sold Group | |
| req_indelseU1endasreq_ind | ||||
| REQ_SEGMENT | i | sgt_rcat | Req. Segment | |
| fsh_season | i | fsh_season | Season | |
| fsh_theme | i | fsh_theme | Theme | |
| abeln | i | abeln | Alloc. Table | |
| abelp | i | abelp | Item | |
| plant | i | reswk | Supplying Plant | |
| lgort | i | lgort | Sublocation | |
| uebpo | i | uebpo | H-Lev. Item | |
| stapo | i | stapo | Statistical | |
| fsh_vas_rel | i | fsh_vas_rel | VAS Relevant | |
| fsh_item | i | fsh_item | Item Number | |
| maktg | i | maktg | Description | |
| netpr | i | netpr | Price | |
| netwr | i | netwr | Value | |
| berid | i | berid | Single-Character Flag | |
| dismm | i | dismm | MRP Type | |
| req_dlvdate | arun_i_sl_sto_sel | arun_req_dlvdate | Date | |
| cnf_dlvdate | arun_i_sl_sto_sel | eindt | Initial Entry | |
| req_conf_qty | ||||
| umrez | i | umrez | Numerator | |
| umren | i | umren | Denominator | |
| lmein | i | lmein | Base Unit | |
| wamng | arun_i_sl_sto_sel | wamng | Issued | |
| kunnr | ekpv | kunnr | Stock customer | |
| kunwe | ekpv | kunnr | Stock customer | |
| vkorg | ekpv | vkorg | SD Sales Org. | |
| vtweg | ekpv | vtweg | RefDistCh-Cust/Mat. | |
| spart | ekpv | spart | Source supplier | |
| lprio | ekpv | lprio | Delivery Prior. | |
| satnr | i | satnr | Cross-plant CM | |
| xchpf | i | xchpf | Batch Mgmt Rqt(Plnt) | |
| sgt_covs | i | sgt_covs | Segment. Strategy | |
| sgt_stk_prt | i | sgt_stk_prt | Stk Prot. | |
| kdgrp | knvv | kdgrp | Customer group | |
| color_atinn | i | color_atinn | Internal Char. | |
| size1_atinn | i | size1_atinn | Internal Char. | |
| size2_atinn | i | size2_atinn | Internal Char. | |
| color | i | color | Level Color | |
| size1 | i | size1 | Size 1 | |
| size2 | i | size2 | Size 2 | |
| fsh_mg_at1 | i | fsh_mg_at1 | Fsh. Attribute1 | |
| fsh_mg_at2 | i | fsh_mg_at2 | Fsh. Attribute2 | |
| fsh_mg_at3 | i | fsh_mg_at3 | Fsh. Attribute3 | |
| mtvfp | i | mtvfp | Avail. check | |
| fsh_grreg | knvv | fsh_grreg | Grouping Rule | |
| fsh_grsgy | knvv | fsh_grsgy | Group Strategy | |
| fsh_resgy | knvv | fsh_resgy | Rel. Strategy | |
| kvgr1 | knvv | kvgr1 | Customer Grp 1 | |
| kvgr2 | knvv | kvgr2 | Customer Grp 2 | |
| kvgr3 | knvv | kvgr3 | Customer Grp 3 | |
| kvgr4 | knvv | kvgr4 | Customer Grp 4 | |
| kvgr5 | knvv | kvgr5 | Customer Grp 5 | |
| fsh_kvgr6 | knvv | fsh_kvgr6 | Customer Grp 6 | |
| fsh_kvgr7 | knvv | fsh_kvgr7 | Customer Grp 7 | |
| fsh_kvgr8 | knvv | fsh_kvgr8 | Customer Grp 8 | |
| fsh_kvgr9 | knvv | fsh_kvgr9 | Customer Grp 9 | |
| fsh_kvgr10 | knvv | fsh_kvgr10 | Customer Grp 10 | |
| bukrs | i | bukrs | Value | |
| vstel | ekpv | vstel | ShpPtDeparture | |
| route | ekpv | route | Vehicle route | |
| kwmeng | i | kwmeng | Sales Quantity | |
| arunid | arunid | ARun ID | ||
| arun_status | ||||
| salesdoc_num | salesdoc_num | Sales Document | ||
| reserv_num | reserv_num | Reservation | ||
| reserv_item | reserv_item | Reservation Item | ||
| stock_source | stock_source | Stock Source | ||
| batch | batch | Lot No. | ||
| batch_req | arun_i_sl_sto_sel | charg | Chargeable Proc. | |
| purchord_num | purchord_num | PO number | ||
| prodord_num | prodord_num | Prod. Ord | ||
| prodord_item | prodord_item | Prod. Ord Item | ||
| purchord_sch | purchord_sch | PO Schedule Line | ||
| alloc_qty | alloc_qty | Assigned Qty | ||
| arun_mode | arun_mode | ARun Mode | ||
| stk_segment | stk_segment | Stock Segment | ||
| changed_by | changed_by | User Name | ||
| attyp | i | attyp | Trdg Goods Cat. | |
| fixmg | i | fixmg | Planned qty | |
| prreg | ||||
| dmenge | ||||
| rereg | ||||
| sgt_scope | i | sgt_scope | Seg. Scope | |
| sloc_req | i | lgort | Sublocation | |
| ibd_num | ekes | vbeln | SD Sched. Agmt | |
| ibd_itm | ekes | vbelp | Schd. Agmt Item | |
| uecha | ekes | uecha | HghLevItmBatch | |
| tbdlv_qty | ||||
| wmeng | arun_i_sl_sto_sel | wmeng | Order Quantity | |
| klmeng | i | klmeng | CumltvConfdQty | |
| Vrkme | i | 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 Arun_I_Sto_Reqmt.
-- 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_I_STO_REQ
-- Parameters: p_langu : abap.lang, p_arun_mode : arun_armd
CREATE VIEW Arun_I_Sto_Reqmt AS
SELECT
i.ebeln AS ebeln,
i.ebelp AS ebelp,
i.ebeln AS aufnr,
i.ebelp AS posnr,
'U1' AS bdart,
i.bstyp AS bstyp,
i.bsart AS bsart,
i.bedat AS bedat,
i.bedat AS audat,
i.reswk AS reswk,
i.aedat AS aedat,
i.aedat AS erdat,
i.ekorg AS ekorg,
i.ekgrp AS ekgrp,
i.matnr AS material,
i.matkl AS matkl,
case when bdbs.req_ind is not null then bdbs.req_ind else 'U1' end as req_ind AS req_indelseU1endasreq_ind,
i.sgt_rcat AS REQ_SEGMENT,
i.fsh_season AS fsh_season,
i.fsh_theme AS fsh_theme,
i.abeln AS abeln,
i.abelp AS abelp,
i.reswk AS plant,
i.lgort AS lgort,
i.uebpo AS uebpo,
i.stapo AS stapo,
i.fsh_vas_rel AS fsh_vas_rel,
i.fsh_item AS fsh_item,
i.maktg AS maktg,
i.netpr AS netpr,
i.netwr AS netwr,
i.berid AS berid,
i.dismm AS dismm,
sl.arun_req_dlvdate AS req_dlvdate,
sl.eindt AS cnf_dlvdate,
sl.mng02 * DIV(umrez, umren) AS req_conf_qty,
i.umrez AS umrez,
i.umren AS umren,
i.lmein AS lmein,
sl.wamng AS wamng,
itms.kunnr AS kunnr,
itms.kunnr AS kunwe,
itms.vkorg AS vkorg,
itms.vtweg AS vtweg,
itms.spart AS spart,
itms.lprio AS lprio,
i.satnr AS satnr,
i.xchpf AS xchpf,
i.sgt_covs AS sgt_covs,
i.sgt_stk_prt AS sgt_stk_prt,
c.kdgrp AS kdgrp,
i.color_atinn AS color_atinn,
i.size1_atinn AS size1_atinn,
i.size2_atinn AS size2_atinn,
i.color AS color,
i.size1 AS size1,
i.size2 AS size2,
i.fsh_mg_at1 AS fsh_mg_at1,
i.fsh_mg_at2 AS fsh_mg_at2,
i.fsh_mg_at3 AS fsh_mg_at3,
i.mtvfp AS mtvfp,
c.fsh_grreg AS fsh_grreg,
c.fsh_grsgy AS fsh_grsgy,
c.fsh_resgy AS fsh_resgy,
c.kvgr1 AS kvgr1,
c.kvgr2 AS kvgr2,
c.kvgr3 AS kvgr3,
c.kvgr4 AS kvgr4,
c.kvgr5 AS kvgr5,
c.fsh_kvgr6 AS fsh_kvgr6,
c.fsh_kvgr7 AS fsh_kvgr7,
c.fsh_kvgr8 AS fsh_kvgr8,
c.fsh_kvgr9 AS fsh_kvgr9,
c.fsh_kvgr10 AS fsh_kvgr10,
i.bukrs AS bukrs,
itms.vstel AS vstel,
itms.route AS route,
i.kwmeng AS kwmeng,
arunid,
case when arunid is null then '' else arun_status end AS arun_status,
salesdoc_num,
reserv_num,
reserv_item,
stock_source,
batch,
sl.charg AS batch_req,
purchord_num,
prodord_num,
prodord_item,
purchord_sch,
alloc_qty,
arun_mode,
stk_segment,
changed_by,
i.attyp AS attyp,
i.fixmg AS fixmg,
'A' AS prreg,
( sl.glmng * DIV(umrez, umren) ) AS dmenge,
'$$$$' AS rereg,
i.sgt_scope AS sgt_scope,
i.lgort AS sloc_req,
ekes.vbeln AS ibd_num,
ekes.vbelp AS ibd_itm,
ekes.uecha AS uecha,
((sl.mng02 * DIV(umrez, umren)) - ( sl.glmng * DIV(umrez, umren) ) ) AS tbdlv_qty,
sl.wmeng AS wmeng,
i.klmeng AS klmeng,
i.meins AS Vrkme
FROM Arun_I_Sto_1
INNER JOIN ekpv AS itms ON /* join condition not captured in parsed metadata */
INNER JOIN kna1 ON /* join condition not captured in parsed metadata */
INNER JOIN arun_i_sl_sto_sel AS sl ON /* join condition not captured in parsed metadata */
INNER JOIN t161v AS T161V ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN arun_bdbs AS bdbs ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN knvv AS c ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ekes ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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