ARUN_PROD_REQMT
Production order components
ARUN_PROD_REQMT is a CDS View that provides data about "Production order components" in SAP S/4HANA. It reads from 4 data sources (Arun_Com_Ralloc, aufk, marc, resb) and exposes 13 fields.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| Arun_Com_Ralloc | ar | left_outer |
| aufk | au | from |
| marc | mr | left_outer |
| resb | re | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | V_ARUN_PRD_REQMT | 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 | Production order components | view |
@AbapCatalog.sqlViewName: 'V_ARUN_PRD_REQMT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.dataClass:#TRANSACTIONAL
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'Production order components'
define view ARUN_PROD_REQMT
as select from aufk as au
inner join resb as re on(
au.mandt = re.mandt
and au.aufnr = re.aufnr
)
left outer join Arun_Com_Ralloc as ar on(
re.rsnum = ar.reserv_num
and re.rspos = ar.reserv_item
and re.bdart = 'AR'
)
left outer join marc as mr on(
mr.matnr = re.matnr
and mr.werks = re.werks
)
{
re.mandt,
re.rsnum,
re.rspos,
re.aufnr,
re.matnr,
re.werks,
re.bdter as requested_date,
re.bdter as material_avail_date,
re.meins,
re.enmng,
re.webaz,
re.sgt_scat,
re.sgt_rcat,
case when ar.alloc_qty > 0 then ar.alloc_qty else 0 end as alloc_qty,
re.charg,
case when re.bdmng > 0 then
re.bdmng - re.enmng - COALESCE(alloc_qty,0) else 0 end as bdmng
}
where
(
re.xloek != 'X'
) -- deleted item should not be selected
and(
re.kzear != 'X'
) -- final issue for this reservation
and(
mr.fsh_mg_arun_req = '1'
) -- arun relevant
Learn More
- 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 Annotations — A Complete Guide
- 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