@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultMaintenanceNotificationService") public class DefaultMaintenanceNotificationService extends Object implements MaintenanceNotificationService
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 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultMaintenanceNotificationService()
Creates a service using
MaintenanceNotificationService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultMaintenanceNotificationService()
MaintenanceNotificationService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultMaintenanceNotificationService withServicePath(@Nonnull String servicePath)
MaintenanceNotificationService
withServicePath
in interface MaintenanceNotificationService
servicePath
- Service path that will override the default.@Nonnull public DefaultMaintenanceNotificationServiceBatch batch()
batch
in interface BatchService<MaintenanceNotificationServiceBatch>
@Nonnull public MaintenanceNotificationFluentHelper getAllMaintenanceNotification()
MaintenanceNotificationService
MaintenanceNotification
entities.getAllMaintenanceNotification
in interface MaintenanceNotificationService
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 public MaintenanceNotificationByKeyFluentHelper getMaintenanceNotificationByKey(String maintenanceNotification)
MaintenanceNotificationService
MaintenanceNotification
entity using key fields.getMaintenanceNotificationByKey
in interface MaintenanceNotificationService
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 public MaintenanceNotificationCreateFluentHelper createMaintenanceNotification(@Nonnull MaintenanceNotification maintenanceNotification)
MaintenanceNotificationService
MaintenanceNotification
entity and save it to the S/4HANA system.createMaintenanceNotification
in interface MaintenanceNotificationService
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 public MaintenanceNotificationUpdateFluentHelper updateMaintenanceNotification(@Nonnull MaintenanceNotification maintenanceNotification)
MaintenanceNotificationService
MaintenanceNotification
entity and save it to the S/4HANA system.updateMaintenanceNotification
in interface MaintenanceNotificationService
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 public MaintenanceNotificationItemFluentHelper getAllMaintenanceNotificationItem()
MaintenanceNotificationService
MaintenanceNotificationItem
entities.getAllMaintenanceNotificationItem
in interface MaintenanceNotificationService
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 public MaintenanceNotificationItemByKeyFluentHelper getMaintenanceNotificationItemByKey(String maintenanceNotification, String maintenanceNotificationItem)
MaintenanceNotificationService
MaintenanceNotificationItem
entity using key fields.getMaintenanceNotificationItemByKey
in interface MaintenanceNotificationService
maintenanceNotification
- Number that identifies the notification.
Constraints: Not nullable, Maximum length: 12
maintenanceNotificationItem
- Item Number in Item Record
Constraints: Not nullable, Maximum length: 4
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 public MaintenanceNotificationItemCreateFluentHelper createMaintenanceNotificationItem(@Nonnull MaintenanceNotificationItem maintenanceNotificationItem)
MaintenanceNotificationService
MaintenanceNotificationItem
entity and save it to the S/4HANA system.createMaintenanceNotificationItem
in interface MaintenanceNotificationService
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 public MaintenanceNotificationItemUpdateFluentHelper updateMaintenanceNotificationItem(@Nonnull MaintenanceNotificationItem maintenanceNotificationItem)
MaintenanceNotificationService
MaintenanceNotificationItem
entity and save it to the S/4HANA system.updateMaintenanceNotificationItem
in interface MaintenanceNotificationService
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 public MaintenanceNotificationPartnerFluentHelper getAllMaintenanceNotificationPartner()
MaintenanceNotificationService
MaintenanceNotificationPartner
entities.getAllMaintenanceNotificationPartner
in interface MaintenanceNotificationService
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 public MaintenanceNotificationPartnerByKeyFluentHelper getMaintenanceNotificationPartnerByKey(String maintenanceNotification, String partnerFunction, String notificationPartnerObjectNmbr)
MaintenanceNotificationService
MaintenanceNotificationPartner
entity using key fields.getMaintenanceNotificationPartnerByKey
in interface MaintenanceNotificationService
maintenanceNotification
- Number that identifies the notification.
Constraints: Not nullable, Maximum length: 12
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
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 public MaintenanceNotificationPartnerCreateFluentHelper createMaintenanceNotificationPartner(@Nonnull MaintenanceNotificationPartner maintenanceNotificationPartner)
MaintenanceNotificationService
MaintenanceNotificationPartner
entity and save it to the S/4HANA system.createMaintenanceNotificationPartner
in interface MaintenanceNotificationService
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 public MaintenanceNotificationPartnerUpdateFluentHelper updateMaintenanceNotificationPartner(@Nonnull MaintenanceNotificationPartner maintenanceNotificationPartner)
MaintenanceNotificationService
MaintenanceNotificationPartner
entity and save it to the S/4HANA system.updateMaintenanceNotificationPartner
in interface MaintenanceNotificationService
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 public MaintNotificationItemActivityFluentHelper getAllMaintNotificationItemActivity()
MaintenanceNotificationService
MaintNotificationItemActivity
entities.getAllMaintNotificationItemActivity
in interface MaintenanceNotificationService
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 public MaintNotificationItemActivityByKeyFluentHelper getMaintNotificationItemActivityByKey(String maintNotificationActivity, String maintenanceNotification, String maintenanceNotificationItem)
MaintenanceNotificationService
MaintNotificationItemActivity
entity using key fields.getMaintNotificationItemActivityByKey
in interface MaintenanceNotificationService
maintNotificationActivity
- You can record actions which refer to both the notification header and an item.
Constraints: Not nullable, Maximum length: 4
maintenanceNotification
- Number that identifies the notification.
Constraints: Not nullable, Maximum length: 12
maintenanceNotificationItem
- Item Number in Item Record
Constraints: Not nullable, Maximum length: 4
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 public MaintNotificationItemActivityCreateFluentHelper createMaintNotificationItemActivity(@Nonnull MaintNotificationItemActivity maintNotificationItemActivity)
MaintenanceNotificationService
MaintNotificationItemActivity
entity and save it to the S/4HANA system.createMaintNotificationItemActivity
in interface MaintenanceNotificationService
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 public MaintNotificationItemActivityUpdateFluentHelper updateMaintNotificationItemActivity(@Nonnull MaintNotificationItemActivity maintNotificationItemActivity)
MaintenanceNotificationService
MaintNotificationItemActivity
entity and save it to the S/4HANA system.updateMaintNotificationItemActivity
in interface MaintenanceNotificationService
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 public MaintNotificationItemCauseFluentHelper getAllMaintNotificationItemCause()
MaintenanceNotificationService
MaintNotificationItemCause
entities.getAllMaintNotificationItemCause
in interface MaintenanceNotificationService
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 public MaintNotificationItemCauseByKeyFluentHelper getMaintNotificationItemCauseByKey(String maintenanceNotification, String maintenanceNotificationItem, String maintenanceNotificationCause)
MaintenanceNotificationService
MaintNotificationItemCause
entity using key fields.getMaintNotificationItemCauseByKey
in interface MaintenanceNotificationService
maintenanceNotification
- Number that identifies the notification.
Constraints: Not nullable, Maximum length: 12
maintenanceNotificationItem
- Item Number in Item Record
Constraints: Not nullable, Maximum length: 4
maintenanceNotificationCause
- Sequential Number for Cause
Constraints: Not nullable, Maximum length: 4
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 public MaintNotificationItemCauseCreateFluentHelper createMaintNotificationItemCause(@Nonnull MaintNotificationItemCause maintNotificationItemCause)
MaintenanceNotificationService
MaintNotificationItemCause
entity and save it to the S/4HANA system.createMaintNotificationItemCause
in interface MaintenanceNotificationService
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 public MaintNotificationItemCauseUpdateFluentHelper updateMaintNotificationItemCause(@Nonnull MaintNotificationItemCause maintNotificationItemCause)
MaintenanceNotificationService
MaintNotificationItemCause
entity and save it to the S/4HANA system.updateMaintNotificationItemCause
in interface MaintenanceNotificationService
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 public CompleteMaintNotificationFluentHelper completeMaintNotification(@Nonnull String maintenanceNotification, @Nullable LocalDateTime notificationReferenceDate, @Nullable LocalTime notificationReferenceTime)
MaintenanceNotificationService
Creates a fluent helper for the CompleteMaintNotification OData function import.
completeMaintNotification
in interface MaintenanceNotificationService
maintenanceNotification
- Notification
Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: MaintenanceNotification
notificationReferenceDate
- Reference Date
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: NotificationReferenceDate
notificationReferenceTime
- Reference Time
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: NotificationReferenceTime
execute
method on the fluent helper object.@Nonnull public SetMaintNotifToInProcessFluentHelper setMaintNotifToInProcess(@Nonnull String maintenanceNotification)
MaintenanceNotificationService
Creates a fluent helper for the SetMaintNotifToInProcess OData function import.
setMaintNotifToInProcess
in interface MaintenanceNotificationService
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.