public interface ReservationDocumentService extends BatchService<ReservationDocumentServiceBatch>
This service enables you to retrieve, create and delete reservation documents. For example, a user might create a reservation for a material with some quantity and assign that reserved material to a cost center, a sales order or an asset. A reservation can also be created for a transfer posting from one plant to another. The service also allows to delete existing reservation documents. It can be consumed by external systems and user interfaces.
Reference: SAP API Business Hub
OData Service: | API_RESERVATION_DOCUMENT_SRV |
API Version: | 1 |
Communication Scenario: | Reservation Integration (SAP_COM_0112) |
Scope Items: | Core Inventory Management (BMC) |
Authentication Methods: | Basic, x509 |
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. |
Modifier and Type | Method and Description |
---|---|
ReservationDocumentHeaderFluentHelper |
getAllReservationDocumentHeader()
Fetch multiple
ReservationDocumentHeader entities. |
ReservationDocumentItemFluentHelper |
getAllReservationDocumentItem()
Fetch multiple
ReservationDocumentItem entities. |
ReservationDocumentHeaderByKeyFluentHelper |
getReservationDocumentHeaderByKey(String reservation)
Fetch a single
ReservationDocumentHeader entity using key fields. |
ReservationDocumentItemByKeyFluentHelper |
getReservationDocumentItemByKey(String reservation,
String reservationItem,
String recordType)
Fetch a single
ReservationDocumentItem entity using key fields. |
ReservationDocumentService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull ReservationDocumentService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull ReservationDocumentHeaderFluentHelper getAllReservationDocumentHeader()
ReservationDocumentHeader
entities.ReservationDocumentHeader
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 ReservationDocumentHeaderByKeyFluentHelper getReservationDocumentHeaderByKey(String reservation)
ReservationDocumentHeader
entity using key fields.reservation
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
ReservationDocumentHeader
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 ReservationDocumentItemFluentHelper getAllReservationDocumentItem()
ReservationDocumentItem
entities.ReservationDocumentItem
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 ReservationDocumentItemByKeyFluentHelper getReservationDocumentItemByKey(String reservation, String reservationItem, String recordType)
ReservationDocumentItem
entity using key fields.reservationItem
- Specifies the number that uniquely identifies an item in .
Constraints: Not nullable, Maximum length: 4
recordType
- Record type
Constraints: Not nullable, Maximum length: 1
reservation
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
ReservationDocumentItem
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.Copyright © 2019 SAP SE. All rights reserved.