C_MaintenancePlanQuickVw

DDL: C_MAINTENANCEPLANQUICKVW Type: view_entity CONSUMPTION Package: ODATA_EAM_MPLAN_MAN

Quick View for Maintenance Plan

C_MaintenancePlanQuickVw is a Consumption CDS View that provides data about "Quick View for Maintenance Plan" in SAP S/4HANA. It reads from 1 data source (I_MaintenancePlan) and exposes 19 fields with key field MaintenancePlan. It is exposed through 2 OData services (UI_MAINTENANCEITEM, UI_MAINTENANCENOTIFICATION). It is used in 1 Fiori application: Manage Maintenance Items. Part of development package ODATA_EAM_MPLAN_MAN.

Data Sources (1)

SourceAliasJoin Type
I_MaintenancePlan I_MaintenancePlan from

Annotations (11)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Quick View for Maintenance Plan view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.representativeKey MaintenancePlan view
Analytics.technicalName CMAINTPLANQW view
UI.headerInfo.typeName Maintenance Plan view
UI.headerInfo.typeNamePlural Maintenance Plans view
UI.headerInfo.typeImageUrl sap-icon: imageUrl: view

OData Services (2)

ServiceBindingVersionContractRelease
UI_MAINTENANCEITEM UI_MAINTENANCEITEM V2 C1 NOT_RELEASED
UI_MAINTENANCENOTIFICATION UI_MAINTENANCENOTIFICATION V4 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F5356 Manage Maintenance Items Transactional An application to Manage Maintenance Items, provides and comprehensive Maintenance Item view, create new Maintenance Item, edit existing Maintenance Item.

Manage Maintenance Items

Business Role: Maintenance Planner

With the Manage Maintenance Items app, you as a maintenance planner can manage maintenance items. You can create maintenance items, decide how to evaluate final due date for a maintenance item, assign maintenance item to a maintenance plan, view details of a maintenance item, view status of an equipment or a functional location within a maintenance item, and so on.

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY MaintenancePlan MaintenancePlan Maintenance Plan
MaintenancePlanDesc MaintenancePlanDesc
MaintenancePlanLongText Long Text
MaintenancePlanCategory MaintenancePlanCategory Category
MaintenancePlanCategoryDesc Maintenance Plan Category Text
MaintenanceStrategy MaintenanceStrategy Maintenance Strategy
MaintenanceStrategyDesc Maintenance Plan Strategy Text
BasicStartDate BasicStartDate Start Of Cycle
MaintenancePlanInternalID MaintenancePlanInternalID
MaintPlanActvSystemStatusDesc
LastScheduledMaintCallDate Last Scheduled Call Date
LastScheduledMaintCallObject Last Scheduled Call Object
NextScheduledMaintCallDate Next Scheduled Call Date
NextScheduledMaintCallObject Next Scheduled Call Object
LastManualMaintCallDate Last Manual Call Date
LastManualMaintCallObject Last Manual Call Object
NextManualMaintCallDate Next Manual Call Date
NextManualMaintCallObject Next Manual Call Object
sapicon Image
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@EndUserText.label: 'Quick View for Maintenance Plan'

@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL

@ObjectModel.representativeKey: 'MaintenancePlan'
@Analytics.technicalName: 'CMAINTPLANQW'

@UI.headerInfo : {
  typeName: 'Maintenance Plan',
  typeNamePlural: 'Maintenance Plans',
  typeImageUrl: 'sap-icon://gantt-bars',

  imageUrl: 'MaintenancePlanThumbnailURL'
}
define view entity C_MaintenancePlanQuickVw
  as select from I_MaintenancePlan
{

      @UI.facet: [{ purpose: #QUICK_VIEW, type: #FIELDGROUP_REFERENCE, targetQualifier: 'MaintPlanQuickView' }]
      @UI: { fieldGroup:     [{ qualifier:'MaintPlanQuickView', position: 10 }]}
      @ObjectModel.text.element:  [ 'MaintenancePlanDesc' ]
      @UI.hidden: true
      @EndUserText.label: 'Maintenance Plan'

  key MaintenancePlan,
      MaintenancePlanDesc,
      @UI: {
      fieldGroup:     [{ qualifier:'MaintPlanQuickView', position: 30}]
      }
      @EndUserText.label: 'Long Text'
      @Semantics.text: true
      @ObjectModel.virtualElement
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_EAM_MPLAN_LTXT_EXIT'
      cast (' ' as eams_ltext )                    as MaintenancePlanLongText,
      @UI: {
        fieldGroup:     [{ qualifier:'MaintPlanQuickView', position: 40}]
        }
      @EndUserText.label: 'Category'
      @ObjectModel.text.element:  [ 'MaintenancePlanCategoryDesc' ]
      @UI.textArrangement: #TEXT_FIRST
      MaintenancePlanCategory,
      @EndUserText.label: 'Maintenance Plan Category Text'
      _MaintenancePlanCatParam._Text[1:Language = $session.system_language].MaintenancePlanCategoryDesc,
      @UI: {
      fieldGroup:     [{ qualifier:'MaintPlanQuickView', position: 50}]
      }
      @EndUserText.label: 'Maintenance Strategy'
      @ObjectModel.text.element:  [ 'MaintenanceStrategyDesc' ]
      @UI.textArrangement: #TEXT_FIRST
      MaintenanceStrategy,

      @EndUserText.label: 'Maintenance Plan Strategy Text'
      _MaintenanceStrategy._MaintenanceStrategyText[1:Language = $session.system_language].MaintenanceStrategyDesc,

      @UI: {
      fieldGroup:     [{ qualifier:'MaintPlanQuickView', position: 60}]
      }
      @EndUserText.label: 'Start Of Cycle'
      BasicStartDate,

      @UI.hidden: true
      MaintenancePlanInternalID,

      @ObjectModel: {
                 virtualElement: true,
                 virtualElementCalculatedBy: 'ABAP:CL_EAM_MPLAN_ACTSTATUSTXT_EXIT'
               }
      @UI: {
      fieldGroup:     [{ qualifier:'MaintPlanQuickView', position: 70}]
      }
      @EndUserText.label: 'System Status'
      @ObjectModel.text.element:  [ 'MaintPlanActvSystemStatusDesc' ]
      @UI.textArrangement: #TEXT_FIRST
      cast ('' as vdm_j_system_status_concat_t)    as ConcatenatedActiveSystStsName,

      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_EAM_MPLAN_ACTSTATUSTXT_EXIT'
      cast( '' as eam_maintplan_active_sy_status ) as MaintPlanActvSystemStatusDesc,


      @ObjectModel: {
                 virtualElement: true,
                 virtualElementCalculatedBy: 'ABAP:CL_EAM_MPLAN_CALLOBJ_EXIT'
               }
      @UI: {
      fieldGroup:     [{ qualifier:'MaintPlanQuickView', position: 80}]
      }
      @EndUserText.label: 'Last Scheduled Call Date'
      cast ('' as eams_last_sched_call_date)       as LastScheduledMaintCallDate,
      @ObjectModel: {
                virtualElement: true,
                virtualElementCalculatedBy: 'ABAP:CL_EAM_MPLAN_CALLOBJ_EXIT'
              }
      @UI: {
      fieldGroup:     [{ qualifier:'MaintPlanQuickView', position: 90}]
      }
      @EndUserText.label: 'Last Scheduled Call Object'
      cast ('' as eams_last_sched_call_object)     as LastScheduledMaintCallObject,
      @ObjectModel: {
                virtualElement: true,
                virtualElementCalculatedBy: 'ABAP:CL_EAM_MPLAN_CALLOBJ_EXIT'
              }
      @UI: {
      fieldGroup:     [{ qualifier:'MaintPlanQuickView', position: 100}]
      }
      @EndUserText.label: 'Next Scheduled Call Date'
      cast ('' as eams_next_sched_call_date)       as NextScheduledMaintCallDate,
      @ObjectModel: {
                virtualElement: true,
                virtualElementCalculatedBy: 'ABAP:CL_EAM_MPLAN_CALLOBJ_EXIT'
              }
      @UI: {
      fieldGroup:     [{ qualifier:'MaintPlanQuickView', position: 110}]
      }
      @EndUserText.label: 'Next Scheduled Call Object'
      cast ('' as eams_next_sched_call_object)     as NextScheduledMaintCallObject,
      @ObjectModel: {
                virtualElement: true,
                virtualElementCalculatedBy: 'ABAP:CL_EAM_MPLAN_CALLOBJ_EXIT'
              }
      @UI: {
      fieldGroup:     [{ qualifier:'MaintPlanQuickView', position: 120}]
      }
      @EndUserText.label: 'Last Manual Call Date'
      cast ('' as eams_last_man_call_date)         as LastManualMaintCallDate,
      @ObjectModel: {
                virtualElement: true,
                virtualElementCalculatedBy: 'ABAP:CL_EAM_MPLAN_CALLOBJ_EXIT'
              }
      @UI: {
      fieldGroup:     [{ qualifier:'MaintPlanQuickView', position: 130}]
      }
      @EndUserText.label: 'Last Manual Call Object'
      cast ('' as eams_last_man_call_object)       as LastManualMaintCallObject,
      @ObjectModel: {
                virtualElement: true,
                virtualElementCalculatedBy: 'ABAP:CL_EAM_MPLAN_CALLOBJ_EXIT'
              }
      @UI: {
      fieldGroup:     [{ qualifier:'MaintPlanQuickView', position: 140}]
      }
      @EndUserText.label: 'Next Manual Call Date'
      cast ('' as eams_next_man_call_date)         as NextManualMaintCallDate,
      @ObjectModel: {
                virtualElement: true,
                virtualElementCalculatedBy: 'ABAP:CL_EAM_MPLAN_CALLOBJ_EXIT'
              }
      @UI: {
      fieldGroup:     [{ qualifier:'MaintPlanQuickView', position: 150}]
      }
      @EndUserText.label: 'Next Manual Call Object'
      cast ('' as eams_next_man_call_object)       as NextManualMaintCallObject,

      @Semantics.imageUrl: true
      @EndUserText.label: 'Image'
      @Consumption.filter.hidden: true
      'sap-icon://gantt-bars'                      as MaintenancePlanThumbnailURL


}