public interface ReservationDocumentService extends BatchService<ReservationDocumentServiceBatch>
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. |
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 ReservationDocumentHeaderCreateFluentHelper createReservationDocumentHeader(@Nonnull ReservationDocumentHeader reservationDocumentHeader)
ReservationDocumentHeader
entity and save it to the S/4HANA system.reservationDocumentHeader
- ReservationDocumentHeader
entity object that will be created in the S/4HANA system.ReservationDocumentHeader
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ReservationDocumentHeaderDeleteFluentHelper deleteReservationDocumentHeader(@Nonnull ReservationDocumentHeader reservationDocumentHeader)
ReservationDocumentHeader
entity in the S/4HANA system.reservationDocumentHeader
- ReservationDocumentHeader
entity object that will be deleted in the S/4HANA system.ReservationDocumentHeader
entity. 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 © 2020 SAP SE. All rights reserved.