Interface MaintenanceItemService
- All Superinterfaces:
BatchService<MaintenanceItemServiceBatch>
- All Known Implementing Classes:
DefaultMaintenanceItemService
This API allows you to read, create, and update maintenance items. The request contains all the information that is necessary to read, create, and update maintenance items. If the input in the request is not as expected, the system displays appropriate error or warning messages in the response. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_MAINTENANCEITEM |
| API Version: | 1.3.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Maintenance Planning Integration(SAP_COM_0396) |
| Scope Items: | Service Order Management and Monitoring(3D2), Reactive Maintenance(4HH), Proactive Maintenance(4HI), Improvement Maintenance(4VT), Operational and Overhead Maintenance(4WM), Corrective Maintenance(BH1), Emergency Maintenance(BH2), Preventive Maintenance(BJ2), Reactive Maintenance(OHH), Proactive Maintenance(OHI), PSM: Preventive Maintenance(OJ2), Improvement Maintenance(OVT), Operational and Overhead Maintenance(OWM), Recurring Services(4X5) |
| Authentication Methods: | x509 |
| Business Object: | Maintenance Item |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptioncreateMaintenanceItem(MaintenanceItem maintenanceItem) Deprecated.Create a newMaintenanceItementity and save it to the S/4HANA system.createMaintenanceItemCause(MaintenanceItemCause maintenanceItemCause) Deprecated.Create a newMaintenanceItemCauseentity and save it to the S/4HANA system.createMaintenanceItemReason(MaintenanceItemReason maintenanceItemReason) Deprecated.Create a newMaintenanceItemReasonentity and save it to the S/4HANA system.deleteMaintenanceItemCause(MaintenanceItemCause maintenanceItemCause) Deprecated.Deletes an existingMaintenanceItemCauseentity in the S/4HANA system.deleteMaintenanceItemCauseText(MaintenanceItemCauseText maintenanceItemCauseText) Deprecated.Deletes an existingMaintenanceItemCauseTextentity in the S/4HANA system.deleteMaintenanceItemReason(MaintenanceItemReason maintenanceItemReason) Deprecated.Deletes an existingMaintenanceItemReasonentity in the S/4HANA system.deleteMaintenanceItemReasonText(MaintenanceItemReasonText maintenanceItemReasonText) Deprecated.Deletes an existingMaintenanceItemReasonTextentity in the S/4HANA system.deleteMaintItemObjectListItem(MaintItemObjectListItem maintItemObjectListItem) Deprecated.Deletes an existingMaintItemObjectListItementity in the S/4HANA system.Deprecated.Fetch multipleMaintenanceItementities.Deprecated.Fetch multipleMaintenanceItemCauseentities.Deprecated.Fetch multipleMaintenanceItemCauseTextentities.Deprecated.Fetch multipleMaintenanceItemReasonentities.Deprecated.Fetch multipleMaintenanceItemReasonTextentities.Deprecated.Fetch multipleMaintenanceItemTextentities.Deprecated.Fetch multipleMaintenancePlanCallObjectentities.Deprecated.Fetch multipleMaintItemObjectListItementities.getMaintenanceItemByKey(String maintenanceItem) Deprecated.Fetch a singleMaintenanceItementity using key fields.getMaintenanceItemCauseByKey(String maintenanceItem, String nmbrOfMaintComplianceItems) Deprecated.Fetch a singleMaintenanceItemCauseentity using key fields.getMaintenanceItemCauseTextByKey(String maintenanceItem, String nmbrOfMaintComplianceItems, String language) Deprecated.Fetch a singleMaintenanceItemCauseTextentity using key fields.getMaintenanceItemReasonByKey(String maintenanceItem, String nmbrOfMaintComplianceItems) Deprecated.Fetch a singleMaintenanceItemReasonentity using key fields.getMaintenanceItemReasonTextByKey(String maintenanceItem, String nmbrOfMaintComplianceItems, String language) Deprecated.Fetch a singleMaintenanceItemReasonTextentity using key fields.getMaintenanceItemTextByKey(String maintenanceItem, String language) Deprecated.Fetch a singleMaintenanceItemTextentity using key fields.getMaintenancePlanCallObjectByKey(String maintenancePlan, Integer maintenancePlanCallNumber, String maintenanceItem) Deprecated.Fetch a singleMaintenancePlanCallObjectentity using key fields.getMaintItemObjectListItemByKey(String maintenanceItem, Long maintenanceItemObjectList, Integer maintenanceObjectListItem) Deprecated.Fetch a singleMaintItemObjectListItementity using key fields.updateMaintenanceItem(MaintenanceItem maintenanceItem) Deprecated.Update an existingMaintenanceItementity and save it to the S/4HANA system.updateMaintenanceItemCause(MaintenanceItemCause maintenanceItemCause) Deprecated.Update an existingMaintenanceItemCauseentity and save it to the S/4HANA system.updateMaintenanceItemCauseText(MaintenanceItemCauseText maintenanceItemCauseText) Deprecated.Update an existingMaintenanceItemCauseTextentity and save it to the S/4HANA system.updateMaintenanceItemReason(MaintenanceItemReason maintenanceItemReason) Deprecated.Update an existingMaintenanceItemReasonentity and save it to the S/4HANA system.updateMaintenanceItemReasonText(MaintenanceItemReasonText maintenanceItemReasonText) Deprecated.Update an existingMaintenanceItemReasonTextentity and save it to the S/4HANA system.updateMaintenanceItemText(MaintenanceItemText maintenanceItemText) Deprecated.Update an existingMaintenanceItemTextentity and save it to the S/4HANA system.updateMaintItemObjectListItem(MaintItemObjectListItem maintItemObjectListItem) Deprecated.Update an existingMaintItemObjectListItementity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
getAllMaintenanceItem
Deprecated.Fetch multipleMaintenanceItementities.- Returns:
- A fluent helper to fetch multiple
MaintenanceItementities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getMaintenanceItemByKey
Deprecated.Fetch a singleMaintenanceItementity using key fields.- Parameters:
maintenanceItem- Maintenance ItemConstraints: Not nullable, Maximum length: 16
- Returns:
- A fluent helper to fetch a single
MaintenanceItementity 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 theexecutemethod on the fluent helper object.
-
createMaintenanceItem
@Nonnull MaintenanceItemCreateFluentHelper createMaintenanceItem(@Nonnull MaintenanceItem maintenanceItem) Deprecated.Create a newMaintenanceItementity and save it to the S/4HANA system.- Parameters:
maintenanceItem-MaintenanceItementity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
MaintenanceItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateMaintenanceItem
@Nonnull MaintenanceItemUpdateFluentHelper updateMaintenanceItem(@Nonnull MaintenanceItem maintenanceItem) Deprecated.Update an existingMaintenanceItementity and save it to the S/4HANA system.- Parameters:
maintenanceItem-MaintenanceItementity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
MaintenanceItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllMaintenanceItemCause
Deprecated.Fetch multipleMaintenanceItemCauseentities.- Returns:
- A fluent helper to fetch multiple
MaintenanceItemCauseentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getMaintenanceItemCauseByKey
@Nonnull MaintenanceItemCauseByKeyFluentHelper getMaintenanceItemCauseByKey(String maintenanceItem, String nmbrOfMaintComplianceItems) Deprecated.Fetch a singleMaintenanceItemCauseentity using key fields.- Parameters:
nmbrOfMaintComplianceItems- Sequential Number for ComplianceConstraints: Not nullable, Maximum length: 4
maintenanceItem- Maintenance ItemConstraints: Not nullable, Maximum length: 16
- Returns:
- A fluent helper to fetch a single
MaintenanceItemCauseentity 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 theexecutemethod on the fluent helper object.
-
createMaintenanceItemCause
@Nonnull MaintenanceItemCauseCreateFluentHelper createMaintenanceItemCause(@Nonnull MaintenanceItemCause maintenanceItemCause) Deprecated.Create a newMaintenanceItemCauseentity and save it to the S/4HANA system.- Parameters:
maintenanceItemCause-MaintenanceItemCauseentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
MaintenanceItemCauseentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateMaintenanceItemCause
@Nonnull MaintenanceItemCauseUpdateFluentHelper updateMaintenanceItemCause(@Nonnull MaintenanceItemCause maintenanceItemCause) Deprecated.Update an existingMaintenanceItemCauseentity and save it to the S/4HANA system.- Parameters:
maintenanceItemCause-MaintenanceItemCauseentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
MaintenanceItemCauseentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteMaintenanceItemCause
@Nonnull MaintenanceItemCauseDeleteFluentHelper deleteMaintenanceItemCause(@Nonnull MaintenanceItemCause maintenanceItemCause) Deprecated.Deletes an existingMaintenanceItemCauseentity in the S/4HANA system.- Parameters:
maintenanceItemCause-MaintenanceItemCauseentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
MaintenanceItemCauseentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllMaintenanceItemCauseText
Deprecated.Fetch multipleMaintenanceItemCauseTextentities.- Returns:
- A fluent helper to fetch multiple
MaintenanceItemCauseTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getMaintenanceItemCauseTextByKey
@Nonnull MaintenanceItemCauseTextByKeyFluentHelper getMaintenanceItemCauseTextByKey(String maintenanceItem, String nmbrOfMaintComplianceItems, String language) Deprecated.Fetch a singleMaintenanceItemCauseTextentity using key fields.- Parameters:
nmbrOfMaintComplianceItems- Sequential Number for ComplianceConstraints: Not nullable, Maximum length: 4
maintenanceItem- Maintenance ItemConstraints: Not nullable, Maximum length: 16
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
MaintenanceItemCauseTextentity 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 theexecutemethod on the fluent helper object.
-
updateMaintenanceItemCauseText
@Nonnull MaintenanceItemCauseTextUpdateFluentHelper updateMaintenanceItemCauseText(@Nonnull MaintenanceItemCauseText maintenanceItemCauseText) Deprecated.Update an existingMaintenanceItemCauseTextentity and save it to the S/4HANA system.- Parameters:
maintenanceItemCauseText-MaintenanceItemCauseTextentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
MaintenanceItemCauseTextentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteMaintenanceItemCauseText
@Nonnull MaintenanceItemCauseTextDeleteFluentHelper deleteMaintenanceItemCauseText(@Nonnull MaintenanceItemCauseText maintenanceItemCauseText) Deprecated.Deletes an existingMaintenanceItemCauseTextentity in the S/4HANA system.- Parameters:
maintenanceItemCauseText-MaintenanceItemCauseTextentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
MaintenanceItemCauseTextentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllMaintenanceItemReason
Deprecated.Fetch multipleMaintenanceItemReasonentities.- Returns:
- A fluent helper to fetch multiple
MaintenanceItemReasonentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getMaintenanceItemReasonByKey
@Nonnull MaintenanceItemReasonByKeyFluentHelper getMaintenanceItemReasonByKey(String maintenanceItem, String nmbrOfMaintComplianceItems) Deprecated.Fetch a singleMaintenanceItemReasonentity using key fields.- Parameters:
nmbrOfMaintComplianceItems- Sequential Number for ComplianceConstraints: Not nullable, Maximum length: 4
maintenanceItem- Maintenance ItemConstraints: Not nullable, Maximum length: 16
- Returns:
- A fluent helper to fetch a single
MaintenanceItemReasonentity 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 theexecutemethod on the fluent helper object.
-
createMaintenanceItemReason
@Nonnull MaintenanceItemReasonCreateFluentHelper createMaintenanceItemReason(@Nonnull MaintenanceItemReason maintenanceItemReason) Deprecated.Create a newMaintenanceItemReasonentity and save it to the S/4HANA system.- Parameters:
maintenanceItemReason-MaintenanceItemReasonentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
MaintenanceItemReasonentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateMaintenanceItemReason
@Nonnull MaintenanceItemReasonUpdateFluentHelper updateMaintenanceItemReason(@Nonnull MaintenanceItemReason maintenanceItemReason) Deprecated.Update an existingMaintenanceItemReasonentity and save it to the S/4HANA system.- Parameters:
maintenanceItemReason-MaintenanceItemReasonentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
MaintenanceItemReasonentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteMaintenanceItemReason
@Nonnull MaintenanceItemReasonDeleteFluentHelper deleteMaintenanceItemReason(@Nonnull MaintenanceItemReason maintenanceItemReason) Deprecated.Deletes an existingMaintenanceItemReasonentity in the S/4HANA system.- Parameters:
maintenanceItemReason-MaintenanceItemReasonentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
MaintenanceItemReasonentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllMaintenanceItemReasonText
Deprecated.Fetch multipleMaintenanceItemReasonTextentities.- Returns:
- A fluent helper to fetch multiple
MaintenanceItemReasonTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getMaintenanceItemReasonTextByKey
@Nonnull MaintenanceItemReasonTextByKeyFluentHelper getMaintenanceItemReasonTextByKey(String maintenanceItem, String nmbrOfMaintComplianceItems, String language) Deprecated.Fetch a singleMaintenanceItemReasonTextentity using key fields.- Parameters:
nmbrOfMaintComplianceItems- Sequential Number for ComplianceConstraints: Not nullable, Maximum length: 4
maintenanceItem- Maintenance ItemConstraints: Not nullable, Maximum length: 16
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
MaintenanceItemReasonTextentity 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 theexecutemethod on the fluent helper object.
-
updateMaintenanceItemReasonText
@Nonnull MaintenanceItemReasonTextUpdateFluentHelper updateMaintenanceItemReasonText(@Nonnull MaintenanceItemReasonText maintenanceItemReasonText) Deprecated.Update an existingMaintenanceItemReasonTextentity and save it to the S/4HANA system.- Parameters:
maintenanceItemReasonText-MaintenanceItemReasonTextentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
MaintenanceItemReasonTextentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteMaintenanceItemReasonText
@Nonnull MaintenanceItemReasonTextDeleteFluentHelper deleteMaintenanceItemReasonText(@Nonnull MaintenanceItemReasonText maintenanceItemReasonText) Deprecated.Deletes an existingMaintenanceItemReasonTextentity in the S/4HANA system.- Parameters:
maintenanceItemReasonText-MaintenanceItemReasonTextentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
MaintenanceItemReasonTextentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllMaintenanceItemText
Deprecated.Fetch multipleMaintenanceItemTextentities.- Returns:
- A fluent helper to fetch multiple
MaintenanceItemTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getMaintenanceItemTextByKey
@Nonnull MaintenanceItemTextByKeyFluentHelper getMaintenanceItemTextByKey(String maintenanceItem, String language) Deprecated.Fetch a singleMaintenanceItemTextentity using key fields.- Parameters:
maintenanceItem- Maintenance ItemConstraints: Not nullable, Maximum length: 16
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
MaintenanceItemTextentity 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 theexecutemethod on the fluent helper object.
-
updateMaintenanceItemText
@Nonnull MaintenanceItemTextUpdateFluentHelper updateMaintenanceItemText(@Nonnull MaintenanceItemText maintenanceItemText) Deprecated.Update an existingMaintenanceItemTextentity and save it to the S/4HANA system.- Parameters:
maintenanceItemText-MaintenanceItemTextentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
MaintenanceItemTextentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllMaintItemObjectListItem
Deprecated.Fetch multipleMaintItemObjectListItementities.- Returns:
- A fluent helper to fetch multiple
MaintItemObjectListItementities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getMaintItemObjectListItemByKey
@Nonnull MaintItemObjectListItemByKeyFluentHelper getMaintItemObjectListItemByKey(String maintenanceItem, Long maintenanceItemObjectList, Integer maintenanceObjectListItem) Deprecated.Fetch a singleMaintItemObjectListItementity using key fields.- Parameters:
maintenanceItemObjectList- Object list numberConstraints: Not nullable
maintenanceItem- Maintenance ItemConstraints: Not nullable, Maximum length: 16
maintenanceObjectListItem- Object list countersConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
MaintItemObjectListItementity 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 theexecutemethod on the fluent helper object.
-
updateMaintItemObjectListItem
@Nonnull MaintItemObjectListItemUpdateFluentHelper updateMaintItemObjectListItem(@Nonnull MaintItemObjectListItem maintItemObjectListItem) Deprecated.Update an existingMaintItemObjectListItementity and save it to the S/4HANA system.- Parameters:
maintItemObjectListItem-MaintItemObjectListItementity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
MaintItemObjectListItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteMaintItemObjectListItem
@Nonnull MaintItemObjectListItemDeleteFluentHelper deleteMaintItemObjectListItem(@Nonnull MaintItemObjectListItem maintItemObjectListItem) Deprecated.Deletes an existingMaintItemObjectListItementity in the S/4HANA system.- Parameters:
maintItemObjectListItem-MaintItemObjectListItementity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
MaintItemObjectListItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllMaintenancePlanCallObject
Deprecated.Fetch multipleMaintenancePlanCallObjectentities.- Returns:
- A fluent helper to fetch multiple
MaintenancePlanCallObjectentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getMaintenancePlanCallObjectByKey
@Nonnull MaintenancePlanCallObjectByKeyFluentHelper getMaintenancePlanCallObjectByKey(String maintenancePlan, Integer maintenancePlanCallNumber, String maintenanceItem) Deprecated.Fetch a singleMaintenancePlanCallObjectentity using key fields.- Parameters:
maintenancePlanCallNumber- Maintenance Plan Call NumberConstraints: Not nullable
maintenancePlan- Maintenance PlanConstraints: Not nullable, Maximum length: 12
maintenanceItem- Maintenance ItemConstraints: Not nullable, Maximum length: 16
- Returns:
- A fluent helper to fetch a single
MaintenancePlanCallObjectentity 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 theexecutemethod on the fluent helper object.
-