public interface MaintenancePlanService extends BatchService<MaintenancePlanServiceBatch>
This API allows you to read, create, and update maintenance plans. It contains maintenance plans, schedules, maintenance items, maintenance cycles and classification details. The request contains all the information that is necessary to read, create, and update maintenance plans. If the input in the request is not as expected, the system displays appropriate error or warning messages in the response..
Reference: SAP API Business Hub
OData Service: | OP_API_MAINTENANCEPLAN_0001 |
API Version: | 1 |
Minimum ERP Version: | 2021 |
Authentication Methods: | Basic, x509 |
Business Object: | Maintenance Plan |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull MaintenancePlanService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull MaintenanceItemFluentHelper getAllMaintenanceItem()
MaintenanceItem
entities.MaintenanceItem
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceItemByKeyFluentHelper getMaintenanceItemByKey(String maintenanceItem)
MaintenanceItem
entity using key fields.maintenanceItem
- Maintenance item
Constraints: Not nullable, Maximum length: 16
MaintenanceItem
entity using key fields. This fluent helper allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceItemCreateFluentHelper createMaintenanceItem(@Nonnull MaintenanceItem maintenanceItem)
MaintenanceItem
entity and save it to the S/4HANA system.maintenanceItem
- MaintenanceItem
entity object that will be created in the S/4HANA system.MaintenanceItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceItemUpdateFluentHelper updateMaintenanceItem(@Nonnull MaintenanceItem maintenanceItem)
MaintenanceItem
entity and save it to the S/4HANA system.maintenanceItem
- MaintenanceItem
entity object that will be updated in the S/4HANA system.MaintenanceItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceItemCauseFluentHelper getAllMaintenanceItemCause()
MaintenanceItemCause
entities.MaintenanceItemCause
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceItemCauseByKeyFluentHelper getMaintenanceItemCauseByKey(String maintenanceItem, String nmbrOfMaintComplianceItems)
MaintenanceItemCause
entity using key fields.nmbrOfMaintComplianceItems
- Sequential Number for Compliance
Constraints: Not nullable, Maximum length: 4
maintenanceItem
- Maintenance item
Constraints: Not nullable, Maximum length: 16
MaintenanceItemCause
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceItemCauseTextFluentHelper getAllMaintenanceItemCauseText()
MaintenanceItemCauseText
entities.MaintenanceItemCauseText
entities. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceItemCauseTextByKeyFluentHelper getMaintenanceItemCauseTextByKey(String maintenanceItem, String nmbrOfMaintComplianceItems, String language)
MaintenanceItemCauseText
entity using key fields.nmbrOfMaintComplianceItems
- Sequential Number for Compliance
Constraints: Not nullable, Maximum length: 4
maintenanceItem
- Maintenance item
Constraints: Not nullable, Maximum length: 16
language
- MaintenanceItemCauseText
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceItemReasonFluentHelper getAllMaintenanceItemReason()
MaintenanceItemReason
entities.MaintenanceItemReason
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceItemReasonByKeyFluentHelper getMaintenanceItemReasonByKey(String maintenanceItem, String nmbrOfMaintComplianceItems)
MaintenanceItemReason
entity using key fields.nmbrOfMaintComplianceItems
- Sequential Number for Compliance
Constraints: Not nullable, Maximum length: 4
maintenanceItem
- Maintenance item
Constraints: Not nullable, Maximum length: 16
MaintenanceItemReason
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceItemReasonTextFluentHelper getAllMaintenanceItemReasonText()
MaintenanceItemReasonText
entities.MaintenanceItemReasonText
entities. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceItemReasonTextByKeyFluentHelper getMaintenanceItemReasonTextByKey(String maintenanceItem, String nmbrOfMaintComplianceItems, String language)
MaintenanceItemReasonText
entity using key fields.nmbrOfMaintComplianceItems
- Sequential Number for Compliance
Constraints: Not nullable, Maximum length: 4
maintenanceItem
- Maintenance item
Constraints: Not nullable, Maximum length: 16
language
- MaintenanceItemReasonText
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceItemTextFluentHelper getAllMaintenanceItemText()
MaintenanceItemText
entities.MaintenanceItemText
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceItemTextByKeyFluentHelper getMaintenanceItemTextByKey(String maintenanceItem, String language)
MaintenanceItemText
entity using key fields.maintenanceItem
- Maintenance item
Constraints: Not nullable, Maximum length: 16
language
- Language Key
Constraints: Not nullable, Maximum length: 2
MaintenanceItemText
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceItemTextUpdateFluentHelper updateMaintenanceItemText(@Nonnull MaintenanceItemText maintenanceItemText)
MaintenanceItemText
entity and save it to the S/4HANA system.maintenanceItemText
- MaintenanceItemText
entity object that will be updated in the S/4HANA system.MaintenanceItemText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenancePlanFluentHelper getAllMaintenancePlan()
MaintenancePlan
entities.MaintenancePlan
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenancePlanByKeyFluentHelper getMaintenancePlanByKey(String maintenancePlan)
MaintenancePlan
entity using key fields.maintenancePlan
- Maintenance Plan
Constraints: Not nullable, Maximum length: 12
MaintenancePlan
entity using key fields. This fluent helper allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenancePlanCreateFluentHelper createMaintenancePlan(@Nonnull MaintenancePlan maintenancePlan)
MaintenancePlan
entity and save it to the S/4HANA system.maintenancePlan
- MaintenancePlan
entity object that will be created in the S/4HANA system.MaintenancePlan
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenancePlanUpdateFluentHelper updateMaintenancePlan(@Nonnull MaintenancePlan maintenancePlan)
MaintenancePlan
entity and save it to the S/4HANA system.maintenancePlan
- MaintenancePlan
entity object that will be updated in the S/4HANA system.MaintenancePlan
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenancePlanCycleFluentHelper getAllMaintenancePlanCycle()
MaintenancePlanCycle
entities.MaintenancePlanCycle
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenancePlanCycleByKeyFluentHelper getMaintenancePlanCycleByKey(String maintenancePlan, String maintenancePlanCycle)
MaintenancePlanCycle
entity using key fields.maintenancePlan
- Maintenance Plan
Constraints: Not nullable, Maximum length: 12
maintenancePlanCycle
- Counter in Control Tables
Constraints: Not nullable, Maximum length: 2
MaintenancePlanCycle
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenancePlanCycleUpdateFluentHelper updateMaintenancePlanCycle(@Nonnull MaintenancePlanCycle maintenancePlanCycle)
MaintenancePlanCycle
entity and save it to the S/4HANA system.maintenancePlanCycle
- MaintenancePlanCycle
entity object that will be updated in the S/4HANA system.MaintenancePlanCycle
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenancePlanScheduleFluentHelper getAllMaintenancePlanSchedule()
MaintenancePlanSchedule
entities.MaintenancePlanSchedule
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenancePlanScheduleByKeyFluentHelper getMaintenancePlanScheduleByKey(String maintenancePlan, Integer maintenancePlanCallNumber, String maintenancePackage)
MaintenancePlanSchedule
entity using key fields.maintenancePlanCallNumber
- Maintenance Plan Call Number
Constraints: Not nullable
maintenancePlan
- Maintenance Plan
Constraints: Not nullable, Maximum length: 12
maintenancePackage
- Maintenance Package Number
Constraints: Not nullable, Maximum length: 2
MaintenancePlanSchedule
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenancePlanTextFluentHelper getAllMaintenancePlanText()
MaintenancePlanText
entities.MaintenancePlanText
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenancePlanTextByKeyFluentHelper getMaintenancePlanTextByKey(String maintenancePlan, String language)
MaintenancePlanText
entity using key fields.maintenancePlan
- Maintenance Plan
Constraints: Not nullable, Maximum length: 12
language
- Language Key
Constraints: Not nullable, Maximum length: 2
MaintenancePlanText
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenancePlanTextUpdateFluentHelper updateMaintenancePlanText(@Nonnull MaintenancePlanText maintenancePlanText)
MaintenancePlanText
entity and save it to the S/4HANA system.maintenancePlanText
- MaintenancePlanText
entity object that will be updated in the S/4HANA system.MaintenancePlanText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintItemObjectListItemFluentHelper getAllMaintItemObjectListItem()
MaintItemObjectListItem
entities.MaintItemObjectListItem
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintItemObjectListItemByKeyFluentHelper getMaintItemObjectListItemByKey(String maintenanceItem, Long maintenanceItemObjectList, Integer maintenanceObjectListItem)
MaintItemObjectListItem
entity using key fields.maintenanceItemObjectList
- Object list number
Constraints: Not nullable
maintenanceItem
- Maintenance item
Constraints: Not nullable, Maximum length: 16
maintenanceObjectListItem
- Object list counters
Constraints: Not nullable
MaintItemObjectListItem
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintItemObjectListItemUpdateFluentHelper updateMaintItemObjectListItem(@Nonnull MaintItemObjectListItem maintItemObjectListItem)
MaintItemObjectListItem
entity and save it to the S/4HANA system.maintItemObjectListItem
- MaintItemObjectListItem
entity object that will be updated in the S/4HANA system.MaintItemObjectListItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintItemObjectListItemDeleteFluentHelper deleteMaintItemObjectListItem(@Nonnull MaintItemObjectListItem maintItemObjectListItem)
MaintItemObjectListItem
entity in the S/4HANA system.maintItemObjectListItem
- MaintItemObjectListItem
entity object that will be deleted in the S/4HANA system.MaintItemObjectListItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenancePlanCallObjectFluentHelper getAllMaintenancePlanCallObject()
MaintenancePlanCallObject
entities.MaintenancePlanCallObject
entities. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenancePlanCallObjectByKeyFluentHelper getMaintenancePlanCallObjectByKey(String maintenancePlan, Integer maintenancePlanCallNumber, String maintenanceItem)
MaintenancePlanCallObject
entity using key fields.maintenancePlanCallNumber
- Maintenance Plan Call Number
Constraints: Not nullable
maintenancePlan
- Maintenance Plan
Constraints: Not nullable, Maximum length: 12
maintenanceItem
- Maintenance item
Constraints: Not nullable, Maximum length: 16
MaintenancePlanCallObject
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintPlanClfnCharValueFluentHelper getAllMaintPlanClfnCharValue()
MaintPlanClfnCharValue
entities.MaintPlanClfnCharValue
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintPlanClfnCharValueByKeyFluentHelper getMaintPlanClfnCharValueByKey(String maintenancePlan, String classType, String clfnCharcValuePositionNumber, String charcInternalID)
MaintPlanClfnCharValue
entity using key fields.clfnCharcValuePositionNumber
- Characteristic value counter
Constraints: Not nullable, Maximum length: 3
maintenancePlan
- Maintenance Plan
Constraints: Not nullable, Maximum length: 12
charcInternalID
- Characteristic Internal ID
Constraints: Not nullable, Maximum length: 10
classType
- Class Type
Constraints: Not nullable, Maximum length: 3
MaintPlanClfnCharValue
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintPlanClfnClassFluentHelper getAllMaintPlanClfnClass()
MaintPlanClfnClass
entities.MaintPlanClfnClass
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintPlanClfnClassByKeyFluentHelper getMaintPlanClfnClassByKey(String maintenancePlan, String classInternalID, String classType)
MaintPlanClfnClass
entity using key fields.maintenancePlan
- Maintenance Plan
Constraints: Not nullable, Maximum length: 12
classInternalID
- Internal Class Number
Constraints: Not nullable, Maximum length: 10
classType
- Class Type
Constraints: Not nullable, Maximum length: 3
MaintPlanClfnClass
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintPlanClfnClassCharFluentHelper getAllMaintPlanClfnClassChar()
MaintPlanClfnClassChar
entities.MaintPlanClfnClassChar
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintPlanClfnClassCharByKeyFluentHelper getMaintPlanClfnClassCharByKey(String maintenancePlan, String classInternalID, String charcInternalID)
MaintPlanClfnClassChar
entity using key fields.maintenancePlan
- Maintenance Plan
Constraints: Not nullable, Maximum length: 12
charcInternalID
- Characteristic Internal ID
Constraints: Not nullable, Maximum length: 10
classInternalID
- Internal Class Number
Constraints: Not nullable, Maximum length: 10
MaintPlanClfnClassChar
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenancePlanStrategyCycleFluentHelper getAllMaintenancePlanStrategyCycle()
MaintenancePlanStrategyCycle
entities.MaintenancePlanStrategyCycle
entities. This fluent helper allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenancePlanStrategyCycleByKeyFluentHelper getMaintenancePlanStrategyCycleByKey(String maintenancePlan, String maintenancePlanCycle)
MaintenancePlanStrategyCycle
entity using key fields.maintenancePlan
- Maintenance Plan
Constraints: Not nullable, Maximum length: 12
maintenancePlanCycle
- Counter in Control Tables
Constraints: Not nullable, Maximum length: 2
MaintenancePlanStrategyCycle
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull AssignMaintItemToMaintPlanFluentHelper assignMaintItemToMaintPlan(@Nonnull String maintenancePlan, @Nonnull String maintenanceitem)
Creates a fluent helper for the AssignMaintItemToMaintPlan OData function import.
maintenancePlan
- Maintenance Plan
Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: MaintenancePlan
maintenanceitem
- Maintenance Item
Constraints: Not nullable, Maximum length: 16
Original parameter name from the Odata EDM: Maintenanceitem
execute
method on the fluent helper object.@Nonnull RestartMaintPlnScheduleFluentHelper restartMaintPlnSchedule(@Nonnull String maintenancePlan, @Nullable LocalDateTime schedulingStartDate, @Nullable LocalTime schedulingStartTime, @Nullable String maintPlanStartCntrReadingValue, @Nullable Boolean maintPlanSchedFutrCallsAreKept)
Creates a fluent helper for the RestartMaintPlnSchedule OData function import.
maintPlanSchedFutrCallsAreKept
- Boolean Variable (X = True, - = False, Space = Unknown)
Constraints: Nullable
Original parameter name from the Odata EDM: MaintPlanSchedFutrCallsAreKept
maintenancePlan
- Maintenance Plan
Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: MaintenancePlan
schedulingStartDate
- Start of cycle
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: SchedulingStartDate
schedulingStartTime
- Start Time
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: SchedulingStartTime
maintPlanStartCntrReadingValue
- StartCounterReading
Constraints: Nullable, Maximum length: 22
Original parameter name from the Odata EDM: MaintPlanStartCntrReadingValue
execute
method on the fluent helper object.@Nonnull StartMaintPlnScheduleFluentHelper startMaintPlnSchedule(@Nonnull String maintenancePlan, @Nullable LocalDateTime schedulingStartDate, @Nullable LocalTime schedulingStartTime, @Nullable String maintPlanStartCntrReadingValue, @Nullable LocalDateTime maintPlnSchedgCallObjUpToDte)
Creates a fluent helper for the StartMaintPlnSchedule OData function import.
maintenancePlan
- Maintenance Plan
Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: MaintenancePlan
schedulingStartDate
- Start of cycle
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: SchedulingStartDate
schedulingStartTime
- Start Time
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: SchedulingStartTime
maintPlanStartCntrReadingValue
- StartCounterReading
Constraints: Nullable, Maximum length: 22
Original parameter name from the Odata EDM: MaintPlanStartCntrReadingValue
maintPlnSchedgCallObjUpToDte
- Current Date
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: MaintPlnSchedgCallObjUpToDte
execute
method on the fluent helper object.Copyright © 2022 SAP SE. All rights reserved.