C_MaintenancePlanQuickVw

DDL: C_MAINTENANCEPLANQUICKVW SQL: CMAINTPLANQW Type: view CONSUMPTION

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.

Data Sources (1)

SourceAliasJoin Type
I_MaintenancePlan I_MaintenancePlan from

Annotations (13)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName CMAINTPLANQW view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Quick View for Maintenance Plan view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.representativeKey MaintenancePlan view
UI.headerInfo.typeName Maintenance Plan view
UI.headerInfo.typeNamePlural Maintenance Plans view
UI.headerInfo.typeImageUrl sap-icon: imageUrl: view

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
@AbapCatalog.sqlViewName: 'CMAINTPLANQW'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@EndUserText.label: 'Quick View for Maintenance Plan'

@ClientHandling.algorithm: #SESSION_VARIABLE

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

@ObjectModel.representativeKey: 'MaintenancePlan'

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

  imageUrl: 'MaintenancePlanThumbnailURL'
}
define view 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


}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MAINTENANCEPLAN",
"I_MAINTENANCEPLANCATPARAM",
"I_MAINTENANCEPLANCATPARAMT",
"I_MAINTENANCESTRATEGY",
"I_MAINTENANCESTRATEGYT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/