Arun_Spo_Reqmt
Subcontracting PO Requirement
Arun_Spo_Reqmt is a CDS View that provides data about "Subcontracting PO Requirement" in SAP S/4HANA. It reads from 9 data sources and exposes 40 fields. Part of development package ARUN_CORE.
Data Sources (9)
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | V_ARUN_SPO_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 | |
| EndUserText.label | Subcontracting PO Requirement | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| mandt | ekko | mandt | Editing Client | |
| bsart | ekko | bsart | Stnd purch.ord. | |
| lifnr | ekko | lifnr | Vendor no. | |
| ebeln | resb | ebeln | Source PurchDoc | |
| ebelp | resb | ebelp | Item pur. doc. | |
| ralloc_qty | ||||
| menge | ||||
| bdter | resb | bdter | Reqmts date | |
| sbter | resb | sbter | Latest req.date | |
| sgt_rcat | resb | sgt_rcat | Req. Segment | |
| matnr | resb | matnr | Vehicle Model | |
| werks | resb | werks | Receiving Plant | |
| lgort | resb | lgort | Sublocation | |
| bdart | resb | bdart | RequirementType | |
| charg | resb | charg | Chargeable Proc. | |
| sobkz | resb | sobkz | Special Stock | |
| meins | resb | meins | Valuation Unit | |
| umrez | resb | umrez | Numerator | |
| umren | resb | umren | Denominator | |
| ebele | resb | ebele | Schedule Line | |
| rsnum | resb | rsnum | Reservation | |
| rspos | resb | rspos | Item no. | |
| rsart | resb | rsart | Risk type | |
| xchpf | marc | xchpf | Batch Mgmt Rqt(Plnt) | |
| kunnr | ||||
| baugr | resb | baugr | Pegged Reqmt | |
| satnr | mara | satnr | Cross-plant CM | |
| matkl | ekpo | matkl | Product Sold Group | |
| fsh_mg_at1 | mara | fsh_mg_at1 | Fsh. Attribute1 | |
| fsh_mg_at2 | mara | fsh_mg_at2 | Fsh. Attribute2 | |
| fsh_mg_at3 | mara | fsh_mg_at3 | Fsh. Attribute3 | |
| aedat | ekko | aedat | Obsolete | |
| erdat | ekko | aedat | Obsolete | |
| mspart | mara | spart | Source supplier | |
| color_atinn | mara | color_atinn | Internal Char. | |
| size1_atinn | mara | size1_atinn | Internal Char. | |
| size2_atinn | mara | size2_atinn | Internal Char. | |
| color | mara | color | Level Color | |
| size1 | mara | size1 | Size 1 | |
| size2 | mara | size2 | Size 2 |
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_Spo_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: V_ARUN_SPO_REQ
CREATE VIEW Arun_Spo_Reqmt AS
SELECT
h.mandt AS mandt,
h.bsart AS bsart,
h.lifnr AS lifnr,
re.ebeln AS ebeln,
re.ebelp AS ebelp,
COALESCE(ar.alloc_qty + dl.lfimg, COALESCE(ar.alloc_qty, COALESCE(dl.lfimg, 0))) AS ralloc_qty,
re.bdmng * DIV(re.umrez,re.umren) AS menge,
re.bdter AS bdter,
re.sbter AS sbter,
re.sgt_rcat AS sgt_rcat,
re.matnr AS matnr,
re.werks AS werks,
re.lgort AS lgort,
re.bdart AS bdart,
re.charg AS charg,
re.sobkz AS sobkz,
re.meins AS meins,
re.umrez AS umrez,
re.umren AS umren,
re.ebele AS ebele,
re.rsnum AS rsnum,
re.rspos AS rspos,
re.rsart AS rsart,
m.xchpf AS xchpf,
re.baugr AS baugr,
ma.satnr AS satnr,
i.matkl AS matkl,
ma.fsh_mg_at1 AS fsh_mg_at1,
ma.fsh_mg_at2 AS fsh_mg_at2,
ma.fsh_mg_at3 AS fsh_mg_at3,
h.aedat AS aedat,
h.aedat AS erdat,
ma.spart AS mspart,
ma.color_atinn AS color_atinn,
ma.size1_atinn AS size1_atinn,
ma.size2_atinn AS size2_atinn,
ma.color AS color,
ma.size1 AS size1,
ma.size2 AS size2
FROM ekpo AS i
INNER JOIN ekko AS h ON /* join condition not captured in parsed metadata */
INNER JOIN eket AS sl ON /* join condition not captured in parsed metadata */
INNER JOIN resb AS re ON /* join condition not captured in parsed metadata */
INNER JOIN lfa1 AS ven ON /* join condition not captured in parsed metadata */
INNER JOIN marc AS m ON /* join condition not captured in parsed metadata */
INNER JOIN mara AS ma ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN Arun_Com_Ralloc AS ar ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN lips AS dl 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