Interface ReservationDocumentService
- All Known Implementing Classes:
DefaultReservationDocumentService
This service contains the header and item nodes for reservation documents. You can create a reservation for a material with some quantity and assign that reserved material to a cost center, sales order, or 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 you to delete existing reservation documents. It can be consumed by external systems and user interfaces..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CE_APIRESERVATIONDOCUMENT_0001 |
| API Version: | 1.0.1 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Reservation Integration(SAP_COM_0112) |
| Scope Items: | Core Inventory Management(BMC), Core Inventory Management(OMC) |
| Authentication Methods: | x509 |
| Service Group Name: | API_RESERVATION_DOCUMENT |
| 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 TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theReservationDocumentHeader_2entity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theReservationDocumentItem_2entity collection matching the filter and search expressions.createReservationDocument(ReservationDocumentHeader_2 reservationDocumentHeader_2) Deprecated.Create a newReservationDocumentHeader_2entity and save it to the S/4HANA system.deleteReservationDocument(ReservationDocumentHeader_2 reservationDocumentHeader_2) Deprecated.Deletes an existingReservationDocumentHeader_2entity in the S/4HANA system.Deprecated.Fetch multipleReservationDocumentHeader_2entities.Deprecated.Fetch multipleReservationDocumentItem_2entities.getReservationDocumentByKey(String reservation) Deprecated.Fetch a singleReservationDocumentHeader_2entity using key fields.getReservationDocumentItemByKey(String reservation, String reservationItem, String recordType) Deprecated.Fetch a singleReservationDocumentItem_2entity using key fields.updateReservationDocument(ReservationDocumentHeader_2 reservationDocumentHeader_2) Deprecated.Update an existingReservationDocumentHeader_2entity and save it to the S/4HANA system.updateReservationDocumentItem(ReservationDocumentItem_2 reservationDocumentItem_2) Deprecated.Update an existingReservationDocumentItem_2entity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
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.
-
batch
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllReservationDocument
Deprecated.Fetch multipleReservationDocumentHeader_2entities.- Returns:
- A request builder to fetch multiple
ReservationDocumentHeader_2entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countReservationDocument
Deprecated.Fetch the number of entries from theReservationDocumentHeader_2entity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
ReservationDocumentHeader_2entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getReservationDocumentByKey
@Nonnull GetByKeyRequestBuilder<ReservationDocumentHeader_2> getReservationDocumentByKey(String reservation) Deprecated.Fetch a singleReservationDocumentHeader_2entity using key fields.- Parameters:
reservation- Number of reservation/dependent requirementsConstraints: Not nullable, Maximum length: 10
- Returns:
- A request builder to fetch a single
ReservationDocumentHeader_2entity 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 theexecutemethod on the request builder object.
-
createReservationDocument
@Nonnull CreateRequestBuilder<ReservationDocumentHeader_2> createReservationDocument(@Nonnull ReservationDocumentHeader_2 reservationDocumentHeader_2) Deprecated.Create a newReservationDocumentHeader_2entity and save it to the S/4HANA system.- Parameters:
reservationDocumentHeader_2-ReservationDocumentHeader_2entity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
ReservationDocumentHeader_2entity. To perform execution, call theexecutemethod on the request builder object.
-
updateReservationDocument
@Nonnull UpdateRequestBuilder<ReservationDocumentHeader_2> updateReservationDocument(@Nonnull ReservationDocumentHeader_2 reservationDocumentHeader_2) Deprecated.Update an existingReservationDocumentHeader_2entity and save it to the S/4HANA system.- Parameters:
reservationDocumentHeader_2-ReservationDocumentHeader_2entity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
ReservationDocumentHeader_2entity. To perform execution, call theexecutemethod on the request builder object.
-
deleteReservationDocument
@Nonnull DeleteRequestBuilder<ReservationDocumentHeader_2> deleteReservationDocument(@Nonnull ReservationDocumentHeader_2 reservationDocumentHeader_2) Deprecated.Deletes an existingReservationDocumentHeader_2entity in the S/4HANA system.- Parameters:
reservationDocumentHeader_2-ReservationDocumentHeader_2entity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
ReservationDocumentHeader_2entity. To perform execution, call theexecutemethod on the request builder object.
-
getAllReservationDocumentItem
Deprecated.Fetch multipleReservationDocumentItem_2entities.- Returns:
- A request builder to fetch multiple
ReservationDocumentItem_2entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countReservationDocumentItem
Deprecated.Fetch the number of entries from theReservationDocumentItem_2entity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
ReservationDocumentItem_2entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getReservationDocumentItemByKey
@Nonnull GetByKeyRequestBuilder<ReservationDocumentItem_2> getReservationDocumentItemByKey(String reservation, String reservationItem, String recordType) Deprecated.Fetch a singleReservationDocumentItem_2entity 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 request builder to fetch a single
ReservationDocumentItem_2entity 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 theexecutemethod on the request builder object.
-
updateReservationDocumentItem
@Nonnull UpdateRequestBuilder<ReservationDocumentItem_2> updateReservationDocumentItem(@Nonnull ReservationDocumentItem_2 reservationDocumentItem_2) Deprecated.Update an existingReservationDocumentItem_2entity and save it to the S/4HANA system.- Parameters:
reservationDocumentItem_2-ReservationDocumentItem_2entity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
ReservationDocumentItem_2entity. To perform execution, call theexecutemethod on the request builder object.
-