I_MaintenancePlannerGroup

DDL: I_MAINTENANCEPLANNERGROUP SQL: IMAINTPLGRP Type: view BASIC

Maintenance Planner Group

I_MaintenancePlannerGroup is a Basic CDS View (Dimension) that provides data about "Maintenance Planner Group" in SAP S/4HANA. It reads from 1 data source (t024i) and exposes 8 fields with key fields MaintenancePlannerGroup, MaintenancePlanningPlant.

Data Sources (1)

SourceAliasJoin Type
t024i t024i from

Annotations (16)

NameValueLevelField
EndUserText.label Maintenance Planner Group view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IMAINTPLGRP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey MaintenancePlannerGroup view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.objectIdentifier.oidElement MaintenancePlannerGroupOID view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY MaintenancePlannerGroup
KEY MaintenancePlanningPlant t024i iwerk
MaintenancePlannerGroupName
MaintPlannerGroupPhoneNumber t024i intel
MaintenanceOrderType t024i auart_wp
EmailAddress t024i smtp_addr
_MaintenancePlanningPlant _MaintenancePlanningPlant
_MaintenancePlanPlant _MaintenancePlanPlant
@EndUserText.label: 'Maintenance Planner Group'
@Analytics: { dataCategory: #DIMENSION, 
  dataExtraction : { enabled: true , 
  delta.changeDataCapture.automatic: true } 
}
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IMAINTPLGRP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK

@ObjectModel.representativeKey:  'MaintenancePlannerGroup'

@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@Metadata.ignorePropagatedAnnotations: true
@Metadata.allowExtensions: true
@ObjectModel.supportedCapabilities: [#SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #EXTRACTION_DATA_SOURCE]
@ObjectModel.alternativeKey:[{id:'OID',element:['MaintenancePlannerGroupOID']}] 
@ObjectModel.objectIdentifier.oidElement:'MaintenancePlannerGroupOID' 

define view I_MaintenancePlannerGroup as select from t024i
 left outer to one join I_MdiOidConfiguration on I_MdiOidConfiguration.ObjectTypeCode = '5680'
//Obsolete-C1 released association not intended to used and replaced with I_MaintenancePlanPlant

association[0..1] to I_Plant as _MaintenancePlanningPlant on $projection.MaintenancePlanningPlant = _MaintenancePlanningPlant.Plant
//////////////////////////////////////////////////////////////////////////////

association[0..1] to I_MaintenancePlanPlant  as _MaintenancePlanPlant on $projection.MaintenancePlanningPlant = _MaintenancePlanPlant.MaintenancePlanningPlant
{

    @ObjectModel.text.element:  [ 'MaintenancePlannerGroupName' ]
    key cast( t024i.ingrp as eam_planner_group preserving type ) as MaintenancePlannerGroup, 
    
    @ObjectModel.foreignKey.association: '_MaintenancePlanPlant'     
    key t024i.iwerk as MaintenancePlanningPlant, 
    
    @Semantics.text: true
    cast( t024i.innam as eam_planner_group_name preserving type ) as MaintenancePlannerGroupName, 
    @Semantics.telephone.type:#PREF
    t024i.intel as MaintPlannerGroupPhoneNumber, 
    t024i.auart_wp as MaintenanceOrderType, 
    @Semantics.eMail.address : true
    t024i.smtp_addr as EmailAddress,
    
    //MDI/ODM

      @ObjectModel.filter.enabled:false
      @ObjectModel.sort.enabled:false

      //Context ID is not specified

      case when I_MdiOidConfiguration.Context is initial

      //Composition is disabled

             or I_MdiOidConfiguration.ComposeOid is initial then

           cast( t024i.ingrp as maintenanceplannergroup_oid ) //use your own data element


      //Context ID is specified

           when I_MdiOidConfiguration.Context    is not initial
      //           and dd07l.domvalue_l                 is not initial

            and I_MdiOidConfiguration.ComposeOid is not initial then

           cast( concat( concat( I_MdiOidConfiguration.Context, ':' ), t024i.ingrp ) as maintenanceplannergroup_oid ) //use your own data element

           end        as MaintenancePlannerGroupOID, //use your own OID field name

    
    _MaintenancePlanningPlant,  //Obsolete association

    _MaintenancePlanPlant
}               
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MDIOIDCONFIGURATION",
"T024I"
],
"ASSOCIATED":
[
"I_MAINTENANCEPLANPLANT",
"I_PLANT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/