@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultMaintenanceOrderOperationConfirmationService") public class DefaultMaintenanceOrderOperationConfirmationService extends Object implements MaintenanceOrderOperationConfirmationService
This synchronous inbound service enables you to create new maintenance order confirmations and cancel confirmations that are already posted. You can display and use this data, for example, in an external application. The API is based on the OData V2 protocol..
Reference: SAP API Business Hub
OData Service: | API_MAINTORDERCONFIRMATION |
API Version: | 1 |
Communication Scenario: | Plant Maintenance Execution Integration (SAP_COM_0398) |
Scope Items: | Service Order Management and Monitoring (3D2), Service Contract Management (3MO), In-House Repair (3XK), Service Order processing with SAP Field service management (49X), Service Quotation (4GA), Reactive Maintenance (4HH), Proactive Maintenance (4HI), Improvement Maintenance (4VT), Operations and Overhead Maintenance (4WM), Corrective Maintenance (BH1), Emergency Maintenance (BH2), Preventive Maintenance (BJ2) |
Authentication Methods: | Basic, x509, OAuth2 |
Business Object: | MaintenanceOrderConfirmation |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultMaintenanceOrderOperationConfirmationService()
Creates a service using
MaintenanceOrderOperationConfirmationService.DEFAULT_SERVICE_PATH to send the
requests. |
Modifier and Type | Method and Description |
---|---|
DefaultMaintenanceOrderOperationConfirmationServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
CancelMaintOrderConfirmationFluentHelper |
cancelMaintOrderConfirmation(String maintOrderConf,
String maintOrderConfCntrValue)
Creates a fluent helper for the CancelMaintOrderConfirmation OData function import.
|
LongTextCreateFluentHelper |
createLongText(LongText longText)
Create a new
LongText entity and save it to the S/4HANA system. |
MaintOrderConfirmationCreateFluentHelper |
createMaintOrderConfirmation(MaintOrderConfirmation maintOrderConfirmation)
Create a new
MaintOrderConfirmation entity and save it to the S/4HANA system. |
LongTextFluentHelper |
getAllLongText()
Fetch multiple
LongText entities. |
MaintOrderConfirmationFluentHelper |
getAllMaintOrderConfirmation()
Fetch multiple
MaintOrderConfirmation entities. |
LongTextByKeyFluentHelper |
getLongTextByKey(String maintOrderConf,
String maintOrderConfCntrValue)
Fetch a single
LongText entity using key fields. |
MaintOrderConfirmationByKeyFluentHelper |
getMaintOrderConfirmationByKey(String maintOrderConf,
String maintOrderConfCntrValue)
Fetch a single
MaintOrderConfirmation entity using key fields. |
DefaultMaintenanceOrderOperationConfirmationService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultMaintenanceOrderOperationConfirmationService()
MaintenanceOrderOperationConfirmationService.DEFAULT_SERVICE_PATH
to send the
requests.@Nonnull public DefaultMaintenanceOrderOperationConfirmationService withServicePath(@Nonnull String servicePath)
MaintenanceOrderOperationConfirmationService
withServicePath
in interface MaintenanceOrderOperationConfirmationService
servicePath
- Service path that will override the default.@Nonnull public DefaultMaintenanceOrderOperationConfirmationServiceBatch batch()
batch
in interface BatchService<MaintenanceOrderOperationConfirmationServiceBatch>
@Nonnull public MaintOrderConfirmationFluentHelper getAllMaintOrderConfirmation()
MaintenanceOrderOperationConfirmationService
MaintOrderConfirmation
entities.getAllMaintOrderConfirmation
in interface MaintenanceOrderOperationConfirmationService
MaintOrderConfirmation
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 MaintOrderConfirmationByKeyFluentHelper getMaintOrderConfirmationByKey(String maintOrderConf, String maintOrderConfCntrValue)
MaintenanceOrderOperationConfirmationService
MaintOrderConfirmation
entity using key fields.getMaintOrderConfirmationByKey
in interface MaintenanceOrderOperationConfirmationService
maintOrderConf
- Number used to identify an operation in the confirmation.
Constraints: Not nullable, Maximum length: 10
maintOrderConfCntrValue
- Counter that enumerates confirmations for an operation. If more than one confirmation was created for
an operation then the confirmation counter together with the confirmation number unambiguously
identifies the individual confirmation.
Constraints: Not nullable, Maximum length: 8
MaintOrderConfirmation
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 MaintOrderConfirmationCreateFluentHelper createMaintOrderConfirmation(@Nonnull MaintOrderConfirmation maintOrderConfirmation)
MaintenanceOrderOperationConfirmationService
MaintOrderConfirmation
entity and save it to the S/4HANA system.createMaintOrderConfirmation
in interface MaintenanceOrderOperationConfirmationService
maintOrderConfirmation
- MaintOrderConfirmation
entity object that will be created in the S/4HANA system.MaintOrderConfirmation
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public LongTextFluentHelper getAllLongText()
MaintenanceOrderOperationConfirmationService
LongText
entities.getAllLongText
in interface MaintenanceOrderOperationConfirmationService
LongText
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 LongTextByKeyFluentHelper getLongTextByKey(String maintOrderConf, String maintOrderConfCntrValue)
MaintenanceOrderOperationConfirmationService
LongText
entity using key fields.getLongTextByKey
in interface MaintenanceOrderOperationConfirmationService
maintOrderConf
- Number used to identify an operation in the confirmation.
Constraints: Not nullable, Maximum length: 10
maintOrderConfCntrValue
- Counter that enumerates confirmations for an operation. If more than one confirmation was created for
an operation then the confirmation counter together with the confirmation number unambiguously
identifies the individual confirmation.
Constraints: Not nullable, Maximum length: 8
LongText
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 LongTextCreateFluentHelper createLongText(@Nonnull LongText longText)
MaintenanceOrderOperationConfirmationService
LongText
entity and save it to the S/4HANA system.createLongText
in interface MaintenanceOrderOperationConfirmationService
longText
- LongText
entity object that will be created in the S/4HANA system.LongText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CancelMaintOrderConfirmationFluentHelper cancelMaintOrderConfirmation(String maintOrderConf, String maintOrderConfCntrValue)
MaintenanceOrderOperationConfirmationService
Creates a fluent helper for the CancelMaintOrderConfirmation OData function import.
cancelMaintOrderConfirmation
in interface MaintenanceOrderOperationConfirmationService
maintOrderConf
- Confirmation
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: MaintOrderConf
maintOrderConfCntrValue
- Counter
Constraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: MaintOrderConfCntrValue
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.