Interface ReservationDocumentService
- All Superinterfaces:
BatchService<ReservationDocumentServiceBatch>
- All Known Implementing Classes:
DefaultReservationDocumentService
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. For an existing reservation, you can change the updatable fields of the items. The service also allows to delete existing reservation documents. It can be consumed by external systems and user interfaces..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_RESERVATION_DOCUMENT_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Reservation Integration(SAP_COM_0112) |
| Scope Items: | Core Inventory Management(BMC), Core Inventory Management(OMC) |
| Authentication Methods: | x509 |
| Business Object: | Reservation Document |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptioncreateReservationDocumentHeader(ReservationDocumentHeader reservationDocumentHeader) Deprecated.Create a newReservationDocumentHeaderentity and save it to the S/4HANA system.deleteReservationDocumentHeader(ReservationDocumentHeader reservationDocumentHeader) Deprecated.Deletes an existingReservationDocumentHeaderentity in the S/4HANA system.Deprecated.Fetch multipleReservationDocumentHeaderentities.Deprecated.Fetch multipleReservationDocumentItementities.getReservationDocumentHeaderByKey(String reservation) Deprecated.Fetch a singleReservationDocumentHeaderentity using key fields.getReservationDocumentItemByKey(String reservation, String reservationItem, String recordType) Deprecated.Fetch a singleReservationDocumentItementity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
getAllReservationDocumentHeader
Deprecated.Fetch multipleReservationDocumentHeaderentities.- Returns:
- A fluent helper to fetch multiple
ReservationDocumentHeaderentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getReservationDocumentHeaderByKey
@Nonnull ReservationDocumentHeaderByKeyFluentHelper getReservationDocumentHeaderByKey(String reservation) Deprecated.Fetch a singleReservationDocumentHeaderentity using key fields.- Parameters:
reservation- Number of reservation/dependent requirementsConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
ReservationDocumentHeaderentity 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 theexecutemethod on the fluent helper object.
-
createReservationDocumentHeader
@Nonnull ReservationDocumentHeaderCreateFluentHelper createReservationDocumentHeader(@Nonnull ReservationDocumentHeader reservationDocumentHeader) Deprecated.Create a newReservationDocumentHeaderentity and save it to the S/4HANA system.- Parameters:
reservationDocumentHeader-ReservationDocumentHeaderentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
ReservationDocumentHeaderentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteReservationDocumentHeader
@Nonnull ReservationDocumentHeaderDeleteFluentHelper deleteReservationDocumentHeader(@Nonnull ReservationDocumentHeader reservationDocumentHeader) Deprecated.Deletes an existingReservationDocumentHeaderentity in the S/4HANA system.- Parameters:
reservationDocumentHeader-ReservationDocumentHeaderentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
ReservationDocumentHeaderentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllReservationDocumentItem
Deprecated.Fetch multipleReservationDocumentItementities.- Returns:
- A fluent helper to fetch multiple
ReservationDocumentItementities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getReservationDocumentItemByKey
@Nonnull ReservationDocumentItemByKeyFluentHelper getReservationDocumentItemByKey(String reservation, String reservationItem, String recordType) Deprecated.Fetch a singleReservationDocumentItementity using key fields.- Parameters:
reservationItem- Item Number of Reservation / Dependent RequirementsConstraints: Not nullable, Maximum length: 4
recordType- Record typeConstraints: Not nullable, Maximum length: 1
reservation- Number of reservation/dependent requirementsConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
ReservationDocumentItementity 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 theexecutemethod on the fluent helper object.
-