public interface MaintenanceNotificationService extends BatchService<MaintenanceNotificationServiceBatch>
This service contains maintenance notification header details, item, item cause, item activity, and partner function. The information is sent in the request as a payload. The request payload contains all information required to create or update a maintenance notification. All the information in the payload is used to create or update a maintenance notification including appropriate checks for restricted values and authorizations. Once the maintenance notification has been created, the notification number is sent in the response with the data included. If the input in the request is not as expected when you create or update a maintenance notification, the system displays appropriate error or warning messages in the response..
Reference: SAP API Business Hub
OData Service: | API_MAINTNOTIFICATION |
API Version: | 1 |
Communication Scenario: | Maintenance Processing Integration (SAP_COM_0397) |
Scope Items: | Reactive Maintenance (4HH), Proactive Maintenance (4HI), Improvement Maintenance (4VT), Operational and Overhead Maintenance (4WM), Corrective Maintenance (BH1), Emergency Maintenance (BH2), Preventive Maintenance (BJ2) |
Authentication Methods: | Basic, x509, OAuth2 |
Business Object: | MaintenanceNotification |
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 MaintenanceNotificationService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull MaintenanceNotificationFluentHelper getAllMaintenanceNotification()
MaintenanceNotification
entities.MaintenanceNotification
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 MaintenanceNotificationByKeyFluentHelper getMaintenanceNotificationByKey(String maintenanceNotification)
MaintenanceNotification
entity using key fields.maintenanceNotification
- Number that identifies the notification.
Constraints: Not nullable, Maximum length: 12
MaintenanceNotification
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 MaintenanceNotificationCreateFluentHelper createMaintenanceNotification(@Nonnull MaintenanceNotification maintenanceNotification)
MaintenanceNotification
entity and save it to the S/4HANA system.maintenanceNotification
- MaintenanceNotification
entity object that will be created in the S/4HANA system.MaintenanceNotification
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceNotificationUpdateFluentHelper updateMaintenanceNotification(@Nonnull MaintenanceNotification maintenanceNotification)
MaintenanceNotification
entity and save it to the S/4HANA system.maintenanceNotification
- MaintenanceNotification
entity object that will be updated in the S/4HANA system.MaintenanceNotification
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceNotificationItemFluentHelper getAllMaintenanceNotificationItem()
MaintenanceNotificationItem
entities.MaintenanceNotificationItem
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 MaintenanceNotificationItemByKeyFluentHelper getMaintenanceNotificationItemByKey(String maintenanceNotification, String maintenanceNotificationItem)
MaintenanceNotificationItem
entity using key fields.maintenanceNotificationItem
- Item Number in Item Record
Constraints: Not nullable, Maximum length: 4
maintenanceNotification
- Number that identifies the notification.
Constraints: Not nullable, Maximum length: 12
MaintenanceNotificationItem
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 MaintenanceNotificationItemCreateFluentHelper createMaintenanceNotificationItem(@Nonnull MaintenanceNotificationItem maintenanceNotificationItem)
MaintenanceNotificationItem
entity and save it to the S/4HANA system.maintenanceNotificationItem
- MaintenanceNotificationItem
entity object that will be created in the S/4HANA system.MaintenanceNotificationItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceNotificationItemUpdateFluentHelper updateMaintenanceNotificationItem(@Nonnull MaintenanceNotificationItem maintenanceNotificationItem)
MaintenanceNotificationItem
entity and save it to the S/4HANA system.maintenanceNotificationItem
- MaintenanceNotificationItem
entity object that will be updated in the S/4HANA system.MaintenanceNotificationItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceNotificationPartnerFluentHelper getAllMaintenanceNotificationPartner()
MaintenanceNotificationPartner
entities.MaintenanceNotificationPartner
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 MaintenanceNotificationPartnerByKeyFluentHelper getMaintenanceNotificationPartnerByKey(String maintenanceNotification, String partnerFunction, String notificationPartnerObjectNmbr)
MaintenanceNotificationPartner
entity using key fields.partnerFunction
- You can convert the keys that identify the partner functions in the original German system to
language-specific keys. The converted keys then appear according to the language in which the user
logs on.
Constraints: Not nullable, Maximum length: 2
maintenanceNotification
- Number that identifies the notification.
Constraints: Not nullable, Maximum length: 12
notificationPartnerObjectNmbr
- Counter for differentiation 6-digit
Constraints: Not nullable, Maximum length: 6
MaintenanceNotificationPartner
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 MaintenanceNotificationPartnerCreateFluentHelper createMaintenanceNotificationPartner(@Nonnull MaintenanceNotificationPartner maintenanceNotificationPartner)
MaintenanceNotificationPartner
entity and save it to the S/4HANA system.maintenanceNotificationPartner
- MaintenanceNotificationPartner
entity object that will be created in the S/4HANA system.MaintenanceNotificationPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintenanceNotificationPartnerUpdateFluentHelper updateMaintenanceNotificationPartner(@Nonnull MaintenanceNotificationPartner maintenanceNotificationPartner)
MaintenanceNotificationPartner
entity and save it to the S/4HANA system.maintenanceNotificationPartner
- MaintenanceNotificationPartner
entity object that will be updated in the S/4HANA system.MaintenanceNotificationPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintNotificationItemActivityFluentHelper getAllMaintNotificationItemActivity()
MaintNotificationItemActivity
entities.MaintNotificationItemActivity
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 MaintNotificationItemActivityByKeyFluentHelper getMaintNotificationItemActivityByKey(String maintNotificationActivity, String maintenanceNotification, String maintenanceNotificationItem)
MaintNotificationItemActivity
entity using key fields.maintNotificationActivity
- You can record actions which refer to both the notification header and an item.
Constraints: Not nullable, Maximum length: 4
maintenanceNotificationItem
- Item Number in Item Record
Constraints: Not nullable, Maximum length: 4
maintenanceNotification
- Number that identifies the notification.
Constraints: Not nullable, Maximum length: 12
MaintNotificationItemActivity
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 MaintNotificationItemActivityCreateFluentHelper createMaintNotificationItemActivity(@Nonnull MaintNotificationItemActivity maintNotificationItemActivity)
MaintNotificationItemActivity
entity and save it to the S/4HANA system.maintNotificationItemActivity
- MaintNotificationItemActivity
entity object that will be created in the S/4HANA system.MaintNotificationItemActivity
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintNotificationItemActivityUpdateFluentHelper updateMaintNotificationItemActivity(@Nonnull MaintNotificationItemActivity maintNotificationItemActivity)
MaintNotificationItemActivity
entity and save it to the S/4HANA system.maintNotificationItemActivity
- MaintNotificationItemActivity
entity object that will be updated in the S/4HANA system.MaintNotificationItemActivity
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintNotificationItemCauseFluentHelper getAllMaintNotificationItemCause()
MaintNotificationItemCause
entities.MaintNotificationItemCause
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 MaintNotificationItemCauseByKeyFluentHelper getMaintNotificationItemCauseByKey(String maintenanceNotification, String maintenanceNotificationItem, String maintenanceNotificationCause)
MaintNotificationItemCause
entity using key fields.maintenanceNotificationItem
- Item Number in Item Record
Constraints: Not nullable, Maximum length: 4
maintenanceNotificationCause
- Sequential Number for Cause
Constraints: Not nullable, Maximum length: 4
maintenanceNotification
- Number that identifies the notification.
Constraints: Not nullable, Maximum length: 12
MaintNotificationItemCause
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 MaintNotificationItemCauseCreateFluentHelper createMaintNotificationItemCause(@Nonnull MaintNotificationItemCause maintNotificationItemCause)
MaintNotificationItemCause
entity and save it to the S/4HANA system.maintNotificationItemCause
- MaintNotificationItemCause
entity object that will be created in the S/4HANA system.MaintNotificationItemCause
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull MaintNotificationItemCauseUpdateFluentHelper updateMaintNotificationItemCause(@Nonnull MaintNotificationItemCause maintNotificationItemCause)
MaintNotificationItemCause
entity and save it to the S/4HANA system.maintNotificationItemCause
- MaintNotificationItemCause
entity object that will be updated in the S/4HANA system.MaintNotificationItemCause
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull CompleteMaintNotificationFluentHelper completeMaintNotification(String maintenanceNotification, LocalDateTime notificationReferenceDate, LocalTime notificationReferenceTime)
Creates a fluent helper for the CompleteMaintNotification OData function import.
notificationReferenceDate
- Reference Date
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: NotificationReferenceDate
maintenanceNotification
- Notification
Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: MaintenanceNotification
notificationReferenceTime
- Reference Time
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: NotificationReferenceTime
execute
method on the fluent helper object.@Nonnull SetMaintNotifToInProcessFluentHelper setMaintNotifToInProcess(String maintenanceNotification)
Creates a fluent helper for the SetMaintNotifToInProcess OData function import.
maintenanceNotification
- Notification
Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: MaintenanceNotification
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.