atpc_dvol_peak_creation_tstmp
Data Volume for Peaks with Creation Timestamp
atpc_dvol_peak_creation_tstmp is a CDS View that provides data about "Data Volume for Peaks with Creation Timestamp" in SAP S/4HANA. It reads from 5 data sources (aufk, plaf, resb, vbap, vbbe) and exposes 7 fields with key fields mandt, matnr, werks, mandt, matnr. Part of development package ATP_LIVECHACHE_DEL.
Data Sources (5)
Parameters (1)
| Name | Type | Default |
|---|---|---|
| iv_time_zone | timezone |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ATPC_DVOLP_CTS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Data Volume for Peaks with Creation Timestamp | view |
@AbapCatalog.sqlViewName: 'ATPC_DVOLP_CTS'
@AbapCatalog.compiler.compareFilter: true
@ObjectModel.usageType: {
serviceQuality: #X,
sizeCategory: #XXL,
dataClass: #MIXED
}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Data Volume for Peaks with Creation Timestamp'
define view atpc_dvol_peak_creation_tstmp
with parameters
iv_time_zone : timezone
as
select from vbap
inner join vbbe on vbap.mandt = vbbe.mandt
and vbap.matnr = vbbe.matnr
and vbap.werks = vbbe.werks
{
key vbap.mandt,
key vbap.matnr,
key vbap.werks,
key dats_tims_to_tstmp( erdat, erzet, :iv_time_zone, $session.client, 'NULL' ) as creation_tstmp
}
where
vbap.matnr <> ''
and vbap.werks <> ''
and vbap.sobkz = ''
union
select from resb
left outer join plaf on resb.mandt = plaf.mandt
and resb.plnum = plaf.plnum
left outer join aufk on resb.mandt = aufk.mandt
and resb.aufnr = aufk.aufnr
{
key resb.mandt,
key resb.matnr,
key resb.werks,
key case when plaf.plnum is not null
then plaf.pstmp
when aufk.aufnr is not null
then dats_tims_to_tstmp(aedat, aezeit, :iv_time_zone, $session.client, 'NULL' )
// else null
end as creation_tstmp
}
where
resb.xloek = ''
and resb.kzear = ''
and resb.bdmng > resb.enmng
and resb.dumps = ''
and resb.no_disp = ''
and resb.txtps = ''
and resb.schgt = ''
and resb.dbskz = ''
and(
resb.vorab is null
or resb.vorab = ''
)
and resb.matnr <> ''
and resb.werks <> ''
and resb.sobkz = '';
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