I_NumberOfOpenPMNotif
Nmbr. of Open Notif. for Tech. Object
I_NumberOfOpenPMNotif is a Composite CDS View that provides data about "Nmbr. of Open Notif. for Tech. Object" in SAP S/4HANA. It reads from 2 data sources (P_OpenMaintNotifForEquipment, P_OpenMaintNotifForFuncnlLoc) and exposes 7 fields with key fields TechnicalObject, TechObjIsEquipOrFuncnlLoc, TechObjIsEquipOrFuncnlLoc. Part of development package RAP_EAM_NTF.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_OpenMaintNotifForEquipment | _OpenMaintNotifForEquipment | from |
| P_OpenMaintNotifForFuncnlLoc | _OpenMaintNotifForFuncnlLoc | union |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | INUMOFNOTIF | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Nmbr. of Open Notif. for Tech. Object | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TechnicalObject | |||
| KEY | TechObjIsEquipOrFuncnlLoc | |||
| NmbrOfOpenMaintNotifications | ||||
| KEY | TechObjIsEquipOrFuncnlLoc | |||
| NmbrOfOpenMaintNotifications | ||||
| SuperiorTechnicalObject | ||||
| SuperiorFunctionalLocation | _FunctionalLocation | SuperiorFunctionalLocation |
@AbapCatalog.sqlViewName: 'INUMOFNOTIF'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Nmbr. of Open Notif. for Tech. Object'
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@AccessControl.personalData.blocking: #('TRANSACTIONAL_DATA')
define view I_NumberOfOpenPMNotif
as select from P_OpenMaintNotifForEquipment as _OpenMaintNotifForEquipment
left outer to one join I_EquipmentTimeSeg as _EquipmentTimeSeg on _EquipmentTimeSeg.Equipment = _OpenMaintNotifForEquipment.Equipment
and _EquipmentTimeSeg.ValidityEndDate = '99991231'
and _EquipmentTimeSeg.EquipUsagePeriodSequenceNumber = '001'
{
key cast( _OpenMaintNotifForEquipment.Equipment as eams_tec_obj ) as TechnicalObject,
key cast ( 'EAMS_EQUI' as eams_tec_obj_type_value) as TechObjIsEquipOrFuncnlLoc,
cast( _OpenMaintNotifForEquipment.NmbrOfOpenMaintNotifications as eam_open_notifications preserving type ) as NmbrOfOpenMaintNotifications,
cast ( cast( case when _EquipmentTimeSeg.SuperordinateEquipment <> ''
then _EquipmentTimeSeg.SuperordinateEquipment
when _EquipmentTimeSeg.SuperordinateEquipment = ''
then _EquipmentTimeSeg._LocationAccountAssignment.FunctionalLocation end as char40 ) as eams_tec_obj ) as SuperiorTechnicalObject,
_EquipmentTimeSeg._LocationAccountAssignment.FunctionalLocation as SuperiorFunctionalLocation
}
union
select from P_OpenMaintNotifForFuncnlLoc as _OpenMaintNotifForFuncnlLoc
left outer to one join I_FunctionalLocation as _FunctionalLocation on _FunctionalLocation.FunctionalLocation = _OpenMaintNotifForFuncnlLoc.FunctionalLocation
{
key cast( _OpenMaintNotifForFuncnlLoc.FunctionalLocation as eams_tec_obj ) as TechnicalObject,
key cast ( 'EAMS_FL' as eams_tec_obj_type_value) as TechObjIsEquipOrFuncnlLoc,
cast( _OpenMaintNotifForFuncnlLoc.NmbrOfOpenMaintNotifications as eam_open_notifications preserving type ) as NmbrOfOpenMaintNotifications,
cast ( cast ( _FunctionalLocation.SuperiorFunctionalLocation as char40 ) as eams_tec_obj ) as SuperiorTechnicalObject,
_FunctionalLocation.SuperiorFunctionalLocation as SuperiorFunctionalLocation
}
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