Class DefaultReservationDocumentService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ReservationDocumentService
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
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ReservationDocumentService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingReservationDocumentService.DEFAULT_SERVICE_PATHto send the requests. -
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.Deprecated.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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultReservationDocumentService
public DefaultReservationDocumentService()Deprecated.Creates a service usingReservationDocumentService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ReservationDocumentServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceReservationDocumentService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:ReservationDocumentServiceCreates a batch request builder object.- Specified by:
batchin interfaceReservationDocumentService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllReservationDocument
Deprecated.Description copied from interface:ReservationDocumentServiceFetch multipleReservationDocumentHeader_2entities.- Specified by:
getAllReservationDocumentin interfaceReservationDocumentService- 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.Description copied from interface:ReservationDocumentServiceFetch the number of entries from theReservationDocumentHeader_2entity collection matching the filter and search expressions.- Specified by:
countReservationDocumentin interfaceReservationDocumentService- 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 public GetByKeyRequestBuilder<ReservationDocumentHeader_2> getReservationDocumentByKey(String reservation) Deprecated.Description copied from interface:ReservationDocumentServiceFetch a singleReservationDocumentHeader_2entity using key fields.- Specified by:
getReservationDocumentByKeyin interfaceReservationDocumentService- 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 public CreateRequestBuilder<ReservationDocumentHeader_2> createReservationDocument(@Nonnull ReservationDocumentHeader_2 reservationDocumentHeader_2) Deprecated.Description copied from interface:ReservationDocumentServiceCreate a newReservationDocumentHeader_2entity and save it to the S/4HANA system.- Specified by:
createReservationDocumentin interfaceReservationDocumentService- 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 public UpdateRequestBuilder<ReservationDocumentHeader_2> updateReservationDocument(@Nonnull ReservationDocumentHeader_2 reservationDocumentHeader_2) Deprecated.Description copied from interface:ReservationDocumentServiceUpdate an existingReservationDocumentHeader_2entity and save it to the S/4HANA system.- Specified by:
updateReservationDocumentin interfaceReservationDocumentService- 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 public DeleteRequestBuilder<ReservationDocumentHeader_2> deleteReservationDocument(@Nonnull ReservationDocumentHeader_2 reservationDocumentHeader_2) Deprecated.Description copied from interface:ReservationDocumentServiceDeletes an existingReservationDocumentHeader_2entity in the S/4HANA system.- Specified by:
deleteReservationDocumentin interfaceReservationDocumentService- 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.Description copied from interface:ReservationDocumentServiceFetch multipleReservationDocumentItem_2entities.- Specified by:
getAllReservationDocumentItemin interfaceReservationDocumentService- 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.Description copied from interface:ReservationDocumentServiceFetch the number of entries from theReservationDocumentItem_2entity collection matching the filter and search expressions.- Specified by:
countReservationDocumentItemin interfaceReservationDocumentService- 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 public GetByKeyRequestBuilder<ReservationDocumentItem_2> getReservationDocumentItemByKey(String reservation, String reservationItem, String recordType) Deprecated.Description copied from interface:ReservationDocumentServiceFetch a singleReservationDocumentItem_2entity using key fields.- Specified by:
getReservationDocumentItemByKeyin interfaceReservationDocumentService- Parameters:
reservation- Number of reservation/dependent requirementsConstraints: Not nullable, Maximum length: 10
reservationItem- Item Number of Reservation / Dependent RequirementsConstraints: Not nullable, Maximum length: 4
recordType- Record typeConstraints: Not nullable, Maximum length: 1
- 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 public UpdateRequestBuilder<ReservationDocumentItem_2> updateReservationDocumentItem(@Nonnull ReservationDocumentItem_2 reservationDocumentItem_2) Deprecated.Description copied from interface:ReservationDocumentServiceUpdate an existingReservationDocumentItem_2entity and save it to the S/4HANA system.- Specified by:
updateReservationDocumentItemin interfaceReservationDocumentService- 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.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-