@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultMeasurementDocumentService") public class DefaultMeasurementDocumentService extends Object implements ServiceWithNavigableEntities, MeasurementDocumentService
The data transferred to the system after a measurement has been taken at a measuring point or a counter is described in the SAP system as a measurement document. The payload used to create a measurement document through this API is sent in JSON format as a request object. The long text for the measurement document is included within as a nested object. .
Reference: SAP API Business Hub
OData Service: | MEASUREMENTDOCUMENT_0001 |
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 |
Service Group Name: | API_MEASUREMENTDOCUMENT |
Business Object: | MeasurementDocument |
ServiceWithNavigableEntities.NavigableEntity<EntityT extends VdmEntity<EntityT>>
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultMeasurementDocumentService()
Creates a service using
MeasurementDocumentService.DEFAULT_SERVICE_PATH to send the requests. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEntity
public DefaultMeasurementDocumentService()
MeasurementDocumentService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultMeasurementDocumentService withServicePath(@Nonnull String servicePath)
MeasurementDocumentService
withServicePath
in interface MeasurementDocumentService
servicePath
- Service path that will override the default.@Nonnull public BatchRequestBuilder batch()
MeasurementDocumentService
batch
in interface MeasurementDocumentService
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<MeasurementDocument> getAllMeasurementDocument()
MeasurementDocumentService
MeasurementDocument
entities.getAllMeasurementDocument
in interface MeasurementDocumentService
MeasurementDocument
entities. This request builder allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<MeasurementDocument> countMeasurementDocument()
MeasurementDocumentService
MeasurementDocument
entity collection matching the filter and search expressions.countMeasurementDocument
in interface MeasurementDocumentService
MeasurementDocument
entities. This request builder allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<MeasurementDocument> getMeasurementDocumentByKey(@Nonnull String measurementDocument)
MeasurementDocumentService
MeasurementDocument
entity using key fields.getMeasurementDocumentByKey
in interface MeasurementDocumentService
measurementDocument
- Measurement Document
Constraints: Not nullable, Maximum length: 20
MeasurementDocument
entity using key fields. This request builder allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CreateRequestBuilder<MeasurementDocument> createMeasurementDocument(@Nonnull MeasurementDocument measurementDocument)
MeasurementDocumentService
MeasurementDocument
entity and save it to the S/4HANA system.createMeasurementDocument
in interface MeasurementDocumentService
measurementDocument
- MeasurementDocument
entity object that will be created in the S/4HANA system.MeasurementDocument
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public UpdateRequestBuilder<MeasurementDocument> updateMeasurementDocument(@Nonnull MeasurementDocument measurementDocument)
MeasurementDocumentService
MeasurementDocument
entity and save it to the S/4HANA system.updateMeasurementDocument
in interface MeasurementDocumentService
measurementDocument
- MeasurementDocument
entity object that will be updated in the S/4HANA system.MeasurementDocument
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<MsmtDocumentLongText> getAllMsmtDocumentLongText()
MeasurementDocumentService
MsmtDocumentLongText
entities.getAllMsmtDocumentLongText
in interface MeasurementDocumentService
MsmtDocumentLongText
entities. This request builder allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<MsmtDocumentLongText> countMsmtDocumentLongText()
MeasurementDocumentService
MsmtDocumentLongText
entity collection matching the filter and search expressions.countMsmtDocumentLongText
in interface MeasurementDocumentService
MsmtDocumentLongText
entities. This request builder allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<MsmtDocumentLongText> getMsmtDocumentLongTextByKey(@Nonnull String measurementDocument)
MeasurementDocumentService
MsmtDocumentLongText
entity using key fields.getMsmtDocumentLongTextByKey
in interface MeasurementDocumentService
measurementDocument
- Measurement Document
Constraints: Not nullable, Maximum length: 20
MsmtDocumentLongText
entity using key fields. This request builder allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CreateRequestBuilder<MsmtDocumentLongText> createMsmtDocumentLongText(@Nonnull MsmtDocumentLongText msmtDocumentLongText)
MeasurementDocumentService
MsmtDocumentLongText
entity and save it to the S/4HANA system.createMsmtDocumentLongText
in interface MeasurementDocumentService
msmtDocumentLongText
- MsmtDocumentLongText
entity object that will be created in the S/4HANA system.MsmtDocumentLongText
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public UpdateRequestBuilder<MsmtDocumentLongText> updateMsmtDocumentLongText(@Nonnull MsmtDocumentLongText msmtDocumentLongText)
MeasurementDocumentService
MsmtDocumentLongText
entity and save it to the S/4HANA system.updateMsmtDocumentLongText
in interface MeasurementDocumentService
msmtDocumentLongText
- MsmtDocumentLongText
entity object that will be updated in the S/4HANA system.MsmtDocumentLongText
entity. To perform execution, call the
execute
method on the request builder object.@Nonnull public String getServicePath()
ServiceWithNavigableEntities
getServicePath
in interface ServiceWithNavigableEntities
Copyright © 2021 SAP SE. All rights reserved.