I_MaintenancePlanTP

DDL: I_MAINTENANCEPLANTP SQL: IMAINTPLANTP Type: view TRANSACTIONAL

Maintenance Plan (Transactional Processing)

I_MaintenancePlanTP is a Transactional CDS View that provides data about "Maintenance Plan (Transactional Processing)" in SAP S/4HANA. It reads from 1 data source (I_MaintenancePlan) and exposes 60 fields with key field MaintenancePlan. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MaintenancePlan I_MaintenancePlan from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_MaintenanceSingleCycleTP _MaintenanceSingleCycleTP _MaintenanceSingleCycleTP.MaintenancePlan = $projection.MaintenancePlan
[0..*] I_MaintPlanMaintCallTP _MaintenanceCallTP _MaintenanceCallTP.MaintenancePlan = $projection.MaintenancePlan -- Extensions, do not expose as association:
[0..1] E_MaintenancePlan _MaintenancePlanExtension $projection.MaintenancePlan = _MaintenancePlanExtension.MaintenancePlan

Annotations (19)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName IMAINTPLANTP view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Maintenance Plan (Transactional Processing) view
ObjectModel.compositionRoot true view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled false view
ObjectModel.draftEnabled false view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.writeActivePersistence IMAINTPLANTP view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view
ObjectModel.sapObjectNodeType.name MaintenancePlan view

Fields (60)

KeyFieldSource TableSource FieldDescription
KEY MaintenancePlan MaintenancePlan MaintenancePlan
MaintenancePlanDesc MaintenancePlanDesc MaintPlanText
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangedByUser LastChangedByUser User Name
MaintenanceStrategy MaintenanceStrategy Strategy Fields
SchedulingDuration SchedulingDuration SchedPeriod
SchedulingDurationUnit SchedulingDurationUnit UoM:HandlCap GR
Equipment Equipment Equipment check
FunctionalLocation FunctionalLocation Object ID
Customer Customer Sold-to Party
NumberOfMaintenanceItems NumberOfMaintenanceItems No. items
Language Language Report Text Language
CycleModificationRatio CycleModificationRatio CycModifFactor
MaintPlanSchedgIndicator MaintPlanSchedgIndicator SchedIndic.
CallHorizonPercent CallHorizonPercent Horizon
CallHorizonInDays CallHorizonInDays Call horizon
CallHorizonValue
MaintenanceCallHorizonCalcType MaintenanceCallHorizonCalcType
AuthorizationGroup AuthorizationGroup AuthorizGroup
MaintenancePlanInternalID MaintenancePlanInternalID Val. Obj. No.
MaintenanceCall MaintenanceCall Call Number
MaintenancePlanCategory MaintenancePlanCategory MPlan cat.
MaintPlanFreeDefinedAttrib MaintPlanFreeDefinedAttrib Sort field
BasicStartDate BasicStartDate Municipality
SchedulingStartDate SchedulingStartDate Valn start date
SchedulingStartTime SchedulingStartTime Time Stamp
MaintSchedulingStartCounter MaintSchedulingStartCounter StrtCtrReadg
MaintPlanStartBufferQuantity FurthrSchedulng
MaintPlanStartBufferUnit MaintPlanStartBufferUnit
FactoryCalendar FactoryCalendar Factory Calendar
LateCompletionShiftFactor Late Completion
LateCompletionTolerancePercent Upper Limit
EarlyCompletionShiftFactor EarlyCompletion
EarlyCompletionTolerancePct Tolerance (-)
PrdcssrCallObjCompltnIsRqd PrdcssrCallObjCompltnIsRqd Compl.Requirmnt
LogicalOperator LogicalOperator Operation type
MaintPlanIsLockedAgainstCalls MaintPlanIsLockedAgainstCalls Stock del. flag
SchedulingEndDate SchedulingEndDate End Date for Sched.
MaintSchedulingEndCounter MaintSchedulingEndCounter End Counter
_StatusObjectActiveStatus _StatusObjectActiveStatus
_Customer _Customer
_Equipment _Equipment
_FunctionalLocationLabel _FunctionalLocationLabel
_MaintenanceItem _MaintenanceItem
_MaintenancePlanCatParam _MaintenancePlanCatParam
_MaintenanceStrategy _MaintenanceStrategy
_MaintenanceCycle _MaintenanceCycle
_FactoryCalendar _FactoryCalendar
_SchedulingIndicator _SchedulingIndicator
_MaintPlanCallHistory _MaintPlanCallHistory
_SchedulingDurationUnit _SchedulingDurationUnit
_LogicalOperator _LogicalOperator
_MaintenanceSingleCycleTP _MaintenanceSingleCycleTP
_MaintenanceCallTP _MaintenanceCallTP
_AuthorizationGroup _AuthorizationGroup
_MaintCallConfIsRequired _MaintCallConfIsRequired
_MaintenancePlanSortField _MaintenancePlanSortField
_MaintPlanStartBufferUnit _MaintPlanStartBufferUnit

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_MaintenancePlanTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IMAINTPLANTP

CREATE VIEW I_MaintenancePlanTP AS
SELECT
  MaintenancePlan,
  MaintenancePlanDesc,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  LastChangedByUser,
  MaintenanceStrategy,
  SchedulingDuration,
  SchedulingDurationUnit,
  Equipment,
  FunctionalLocation,
  Customer,
  NumberOfMaintenanceItems,
  Language,
  CycleModificationRatio,
  MaintPlanSchedgIndicator,
  CallHorizonPercent,
  CallHorizonInDays,
  cast( '' as fti_mnomzins) AS CallHorizonValue,
  MaintenanceCallHorizonCalcType,
  AuthorizationGroup,
  MaintenancePlanInternalID,
  MaintenanceCall,
  MaintenancePlanCategory,
  MaintPlanFreeDefinedAttrib,
  BasicStartDate,
  SchedulingStartDate,
  SchedulingStartTime,
  MaintSchedulingStartCounter,
  cast(MaintPlanStartBufferQuantity as fti_mnomzins) AS MaintPlanStartBufferQuantity,
  MaintPlanStartBufferUnit,
  FactoryCalendar,
  cast(LateCompletionShiftFactor as fti_mnomzins) AS LateCompletionShiftFactor,
  cast(LateCompletionTolerancePercent as fti_mnomzins) AS LateCompletionTolerancePercent,
  cast(EarlyCompletionShiftFactor as fti_mnomzins) AS EarlyCompletionShiftFactor,
  cast(EarlyCompletionTolerancePct as fti_mnomzins) AS EarlyCompletionTolerancePct,
  PrdcssrCallObjCompltnIsRqd,
  LogicalOperator,
  MaintPlanIsLockedAgainstCalls,
  SchedulingEndDate,
  MaintSchedulingEndCounter
FROM I_MaintenancePlan
LEFT OUTER JOIN I_MaintenanceSingleCycleTP AS _MaintenanceSingleCycleTP ON _MaintenanceSingleCycleTP.MaintenancePlan = MaintenancePlan  -- association [0..1]
LEFT OUTER JOIN I_MaintPlanMaintCallTP AS _MaintenanceCallTP ON _MaintenanceCallTP.MaintenancePlan = MaintenancePlan  -- association [0..*]
LEFT OUTER JOIN E_MaintenancePlan AS _MaintenancePlanExtension ON MaintenancePlan = _MaintenancePlanExtension.MaintenancePlan  -- association [0..1]
;