P_ARunSimlnLog
View for ARun Log at Date Level
P_ARunSimlnLog is a Composite CDS View that provides data about "View for ARun Log at Date Level" in SAP S/4HANA. It reads from 2 data sources (P_ARunSimlnLogBsc1, I_ARunSimlnLog) and exposes 10 fields. Part of development package VDM_ARUN_MONITOR.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_ARunSimlnLogBsc1 | req | inner |
| I_ARunSimlnLog | sched | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| AbapCatalog.sqlViewName | PARUNSIMLOG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ATPCheckUUID | I_ARunSimlnLog | ATPCheckUUID | ||
| RequirementType | I_ARunSimlnLog | RequirementType | ||
| RequirementDocumentNumber | I_ARunSimlnLog | RequirementDocumentNumber | ||
| RequirementDocumentItem | I_ARunSimlnLog | RequirementDocumentItem | ||
| RequestedDate | I_ARunSimlnLog | RequestedDate | ||
| ProductAvailabilityDate | I_ARunSimlnLog | ProductAvailabilityDate | ||
| ConfirmedRqmtQtyInBaseUnit | ||||
| DeliveredQuantityInBaseUnit | I_ARunSimlnLog | DeliveredQuantityInBaseUnit | ||
| ARunTotSupProtQty | I_ARunSimlnLog | ARunTotSupProtQty | ||
| ARunActualSupProtQty | I_ARunSimlnLog | ARunActualSupProtQty |
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM: {
viewType: #COMPOSITE
}
@AccessControl: {
authorizationCheck: #NOT_REQUIRED,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@VDM.private: true
@AbapCatalog: {
sqlViewName: 'PARUNSIMLOG',
compiler.compareFilter: true
}
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #XXL
}
}
define view P_ARunSimlnLog
as select from I_ARunSimlnLog as sched
inner join P_ARunSimlnLogBsc1 as req on sched.ATPCheckUUID = req.ATPCheckUUID
and sched.RequirementType = req.RequirementType
and sched.RequirementDocumentNumber = req.RequirementDocumentNumber
and sched.RequirementDocumentItem = req.RequirementDocumentItem
and sched.RequestedDate = req.RequestedDate
{
sched.ATPCheckUUID,
sched.RequirementType,
sched.RequirementDocumentNumber,
sched.RequirementDocumentItem,
sched.RequestedDate,
sched.ProductAvailabilityDate,
// Total Requested = Requested + Confirmed + Delivered
case
when sched.RequestedRqmtQtyInBaseUnit > 0
then sched.RequestedRqmtQtyInBaseUnit - req.ConfirmedRqmtQtyInBaseUnit + sched.ConfirmedRqmtQtyInBaseUnit + sched.DeliveredQuantityInBaseUnit
else sched.ConfirmedRqmtQtyInBaseUnit+sched.DeliveredQuantityInBaseUnit
end as RequestedRqmtQtyInBaseUnit,
// Total Confirmed = Confirmed + Delivered
sched.ConfirmedRqmtQtyInBaseUnit + sched.DeliveredQuantityInBaseUnit as ConfirmedRqmtQtyInBaseUnit,
sched.DeliveredQuantityInBaseUnit,
sched.ARunTotSupProtQty,
sched.ARunActualSupProtQty
}
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