@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultReservationDocumentService") public class DefaultReservationDocumentService extends Object implements ReservationDocumentService
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: | Stock Handling - Rework, Scrap, Blocked Stock (BMC) |
Constructor and Description |
---|
DefaultReservationDocumentService() |
public ReservationDocumentHeaderFluentHelper getAllReservationDocumentHeader()
ReservationDocumentService
ReservationDocumentHeader
entities.getAllReservationDocumentHeader
in interface ReservationDocumentService
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.public ReservationDocumentHeaderByKeyFluentHelper getReservationDocumentHeaderByKey(String reservation)
ReservationDocumentService
ReservationDocumentHeader
entity using key fields.getReservationDocumentHeaderByKey
in interface ReservationDocumentService
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.public ReservationDocumentHeaderCreateFluentHelper createReservationDocumentHeader(ReservationDocumentHeader reservationDocumentHeader)
ReservationDocumentService
ReservationDocumentHeader
entity and save it to the S/4HANA system.createReservationDocumentHeader
in interface ReservationDocumentService
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.public ReservationDocumentHeaderDeleteFluentHelper deleteReservationDocumentHeader(ReservationDocumentHeader reservationDocumentHeader)
ReservationDocumentService
ReservationDocumentHeader
entity in the S/4HANA system.deleteReservationDocumentHeader
in interface ReservationDocumentService
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.public ReservationDocumentItemFluentHelper getAllReservationDocumentItem()
ReservationDocumentService
ReservationDocumentItem
entities.getAllReservationDocumentItem
in interface ReservationDocumentService
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.public ReservationDocumentItemByKeyFluentHelper getReservationDocumentItemByKey(String reservation, String reservationItem, String recordType)
ReservationDocumentService
ReservationDocumentItem
entity using key fields.getReservationDocumentItemByKey
in interface ReservationDocumentService
reservation
- Alphanumeric key uniquely identifying the document.Constraints: Not nullable, Maximum length: 10
reservationItem
- Specifies the number that uniquely identifies an item in .Constraints: Not nullable, Maximum length: 4
recordType
- Record typeConstraints: Not nullable, Maximum length: 1
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 © 2018 SAP SE. All rights reserved.