I_ARunMntrItemSTO
Basic View for Stock Transport Orders in ARun Monitor Runs
I_ARunMntrItemSTO is a Basic CDS View that provides data about "Basic View for Stock Transport Orders in ARun Monitor Runs" in SAP S/4HANA. It reads from 5 data sources (kna1, ekko, ekpo, eket, ekpv) and exposes 6 fields.
Data Sources (5)
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IARUNMNTRITEMSTO | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Basic View for Stock Transport Orders in ARun Monitor Runs | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view |
@AbapCatalog.sqlViewName: 'IARUNMNTRITEMSTO'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Basic View for Stock Transport Orders in ARun Monitor Runs'
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@AccessControl: {
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #X,
sizeCategory: #XXL
}
}
define view I_ARunMntrItemSTO
as select from ekpo as item
inner join ekko as head on item.ebeln = head.ebeln
inner join eket as sched on item.ebeln = sched.ebeln
and item.ebelp = sched.ebelp
inner join ekpv as ship on item.ebeln = ship.ebeln
and item.ebelp = ship.ebelp
left outer join kna1 as cust on ship.kunnr = cust.kunnr
{
item.ebeln as RequirementDocumentNumber,
item.ebelp as RequirementDocumentItem,
sched.menge as ScheduleLineOrderQuantity,
sched.mng02 as ConfdOrderQtyByMatlAvailCheck,
item.netpr as NetPriceAmount,
head.waers as DocumentCurrency
}
where
head.reswk <> ''
and(
item.elikz != 'X'
) -- delivery completed indicator at item level
and(
item.retpo != 'X'
) -- return po
and(
item.loekz = ' '
) -- deletion indicator
and(
item.eglkz != 'X'
) -- final delivery indicator
and(
item.pstyp = '0'
or item.pstyp = '7'
or item.pstyp = '2'
) -- item category in purchasing doc
and(
head.bstyp = 'F'
) -- purchasing doc category , F is PO
and(
head.memorytype = ''
) -- Category of Incompletess
and(
head.loekz != 'X'
) -- deletion indicator
and(
sched.mbdat <> '00000000'
)
and (cust.cvp_xblck = ' ' )
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EKET",
"EKKO",
"EKPO",
"EKPV",
"KNA1"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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