@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultOutboundDeliveryV2Service") public class DefaultOutboundDeliveryV2Service extends Object implements OutboundDeliveryV2Service
This service enables you to read, create, update and delete outbound deliveries in an API call. It can be consumed in Fiori apps and on other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_OUTBOUND_DELIVERY_SRV_0002 |
API Version: | 2 |
Communication Scenario: | Delivery Processing Integration (SAP_COM_0106) |
Scope Items: | Delivery Processing without Order Reference (1MI), Sell from Stock (BD9), Free of Charge Delivery (BDA), Accelerated Customer Returns (BKP), Procurement of Direct Materials (J45) |
Authentication Methods: | Basic, x509 |
Business Object: | OutboundDelivery |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultOutboundDeliveryV2Service()
Creates a service using
OutboundDeliveryV2Service.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultOutboundDeliveryV2ServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
ConfirmPickingAllItemsFluentHelper |
confirmPickingAllItems(String deliveryDocument)
Creates a fluent helper for the ConfirmPickingAllItems OData function import.
|
ConfirmPickingOneItemFluentHelper |
confirmPickingOneItem(String deliveryDocumentItem,
String deliveryDocument)
Creates a fluent helper for the ConfirmPickingOneItem OData function import.
|
OutbDeliveryHeaderCreateFluentHelper |
createOutbDeliveryHeader(OutbDeliveryHeader outbDeliveryHeader)
Create a new
OutbDeliveryHeader entity and save it to the S/4HANA system. |
OutbDeliveryHeaderDeleteFluentHelper |
deleteOutbDeliveryHeader(OutbDeliveryHeader outbDeliveryHeader)
Deletes an existing
OutbDeliveryHeader entity in the S/4HANA system. |
OutbDeliveryItemDeleteFluentHelper |
deleteOutbDeliveryItem(OutbDeliveryItem outbDeliveryItem)
Deletes an existing
OutbDeliveryItem
entity in the S/4HANA system. |
OutbDeliveryHeaderFluentHelper |
getAllOutbDeliveryHeader()
Fetch multiple
OutbDeliveryHeader entities. |
OutbDeliveryItemFluentHelper |
getAllOutbDeliveryItem()
Fetch multiple
OutbDeliveryItem entities. |
OutbDeliveryDocFlowByKeyFluentHelper |
getOutbDeliveryDocFlowByKey(String precedingDocument,
String precedingDocumentItem,
String subsequentDocumentCategory)
Fetch a single
OutbDeliveryDocFlow entity using key fields. |
OutbDeliveryHeaderByKeyFluentHelper |
getOutbDeliveryHeaderByKey(String deliveryDocument)
Fetch a single
OutbDeliveryHeader entity using key fields. |
OutbDeliveryItemByKeyFluentHelper |
getOutbDeliveryItemByKey(String deliveryDocument,
String deliveryDocumentItem)
Fetch a single
OutbDeliveryItem entity using key fields. |
OutbDeliveryPartnerByKeyFluentHelper |
getOutbDeliveryPartnerByKey(String partnerFunction,
String sDDocument)
Fetch a single
OutbDeliveryPartner entity using key fields. |
SerialNmbrDeliveryByKeyFluentHelper |
getSerialNmbrDeliveryByKey(Long maintenanceItemObjectList)
Fetch a single
SerialNmbrDelivery entity using key fields. |
PickAllItemsFluentHelper |
pickAllItems(String deliveryDocument)
Creates a fluent helper for the PickAllItems OData function import.
|
PickAndBatchSplitOneItemFluentHelper |
pickAndBatchSplitOneItem(String deliveryDocument,
String deliveryDocumentItem,
String batch,
BigDecimal splitQuantity,
String splitQuantityUnit)
Creates a fluent helper for the PickAndBatchSplitOneItem OData function import.
|
PickOneItemFluentHelper |
pickOneItem(String deliveryDocument,
String deliveryDocumentItem)
Creates a fluent helper for the PickOneItem OData function import.
|
PickOneItemWithBaseQuantityFluentHelper |
pickOneItemWithBaseQuantity(String deliveryDocument,
String deliveryDocumentItem,
BigDecimal actualDeliveredQtyInBaseUnit,
String baseUnit)
Creates a fluent helper for the PickOneItemWithBaseQuantity OData function import.
|
PickOneItemWithSalesQuantityFluentHelper |
pickOneItemWithSalesQuantity(BigDecimal actualDeliveryQuantity,
String deliveryDocument,
String deliveryDocumentItem,
String deliveryQuantityUnit)
Creates a fluent helper for the PickOneItemWithSalesQuantity OData function import.
|
PostGoodsIssueFluentHelper |
postGoodsIssue(String deliveryDocument)
Creates a fluent helper for the PostGoodsIssue OData function import.
|
ReverseGoodsIssueFluentHelper |
reverseGoodsIssue(String deliveryDocument,
LocalDateTime actualGoodsMovementDate)
Creates a fluent helper for the ReverseGoodsIssue OData function import.
|
SetPickingQuantityWithBaseQuantityFluentHelper |
setPickingQuantityWithBaseQuantity(BigDecimal actualDeliveredQtyInBaseUnit,
String baseUnit,
String deliveryDocument,
String deliveryDocumentItem)
Creates a fluent helper for the SetPickingQuantityWithBaseQuantity OData function import.
|
OutbDeliveryDocFlowUpdateFluentHelper |
updateOutbDeliveryDocFlow(OutbDeliveryDocFlow outbDeliveryDocFlow)
Update an existing
OutbDeliveryDocFlow entity and save it to the S/4HANA system. |
OutbDeliveryHeaderUpdateFluentHelper |
updateOutbDeliveryHeader(OutbDeliveryHeader outbDeliveryHeader)
Update an existing
OutbDeliveryHeader entity and save it to the S/4HANA system. |
OutbDeliveryItemUpdateFluentHelper |
updateOutbDeliveryItem(OutbDeliveryItem outbDeliveryItem)
Update an existing
OutbDeliveryItem entity and save it to the S/4HANA system. |
DefaultOutboundDeliveryV2Service |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultOutboundDeliveryV2Service()
OutboundDeliveryV2Service.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultOutboundDeliveryV2Service withServicePath(@Nonnull String servicePath)
OutboundDeliveryV2Service
withServicePath
in interface OutboundDeliveryV2Service
servicePath
- Service path that will override the default.@Nonnull public DefaultOutboundDeliveryV2ServiceBatch batch()
batch
in interface BatchService<OutboundDeliveryV2ServiceBatch>
@Nonnull public OutbDeliveryItemFluentHelper getAllOutbDeliveryItem()
OutboundDeliveryV2Service
OutbDeliveryItem
entities.getAllOutbDeliveryItem
in interface OutboundDeliveryV2Service
OutbDeliveryItem
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 public OutbDeliveryItemByKeyFluentHelper getOutbDeliveryItemByKey(String deliveryDocument, String deliveryDocumentItem)
OutboundDeliveryV2Service
OutbDeliveryItem
entity using key fields.getOutbDeliveryItemByKey
in interface OutboundDeliveryV2Service
deliveryDocument
- The number that uniquely identifies the delivery.
Constraints: Not nullable, Maximum length: 10
deliveryDocumentItem
- The number that uniquely identifies the item in a delivery.
Constraints: Not nullable, Maximum length: 6
OutbDeliveryItem
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 public OutbDeliveryItemUpdateFluentHelper updateOutbDeliveryItem(@Nonnull OutbDeliveryItem outbDeliveryItem)
OutboundDeliveryV2Service
OutbDeliveryItem
entity and save it to the S/4HANA system.updateOutbDeliveryItem
in interface OutboundDeliveryV2Service
outbDeliveryItem
- OutbDeliveryItem
entity object that will be updated in the S/4HANA system.OutbDeliveryItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public OutbDeliveryItemDeleteFluentHelper deleteOutbDeliveryItem(@Nonnull OutbDeliveryItem outbDeliveryItem)
OutboundDeliveryV2Service
OutbDeliveryItem
entity in the S/4HANA system.deleteOutbDeliveryItem
in interface OutboundDeliveryV2Service
outbDeliveryItem
- OutbDeliveryItem
entity object that will be deleted in the S/4HANA system.OutbDeliveryItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public OutbDeliveryHeaderFluentHelper getAllOutbDeliveryHeader()
OutboundDeliveryV2Service
OutbDeliveryHeader
entities.getAllOutbDeliveryHeader
in interface OutboundDeliveryV2Service
OutbDeliveryHeader
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 public OutbDeliveryHeaderByKeyFluentHelper getOutbDeliveryHeaderByKey(String deliveryDocument)
OutboundDeliveryV2Service
OutbDeliveryHeader
entity using key fields.getOutbDeliveryHeaderByKey
in interface OutboundDeliveryV2Service
deliveryDocument
- The number that uniquely identifies the delivery.
Constraints: Not nullable, Maximum length: 10
OutbDeliveryHeader
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 public OutbDeliveryHeaderCreateFluentHelper createOutbDeliveryHeader(@Nonnull OutbDeliveryHeader outbDeliveryHeader)
OutboundDeliveryV2Service
OutbDeliveryHeader
entity and save it to the S/4HANA system.createOutbDeliveryHeader
in interface OutboundDeliveryV2Service
outbDeliveryHeader
- OutbDeliveryHeader
entity object that will be created in the S/4HANA system.OutbDeliveryHeader
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public OutbDeliveryHeaderUpdateFluentHelper updateOutbDeliveryHeader(@Nonnull OutbDeliveryHeader outbDeliveryHeader)
OutboundDeliveryV2Service
OutbDeliveryHeader
entity and save it to the S/4HANA system.updateOutbDeliveryHeader
in interface OutboundDeliveryV2Service
outbDeliveryHeader
- OutbDeliveryHeader
entity object that will be updated in the S/4HANA system.OutbDeliveryHeader
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public OutbDeliveryHeaderDeleteFluentHelper deleteOutbDeliveryHeader(@Nonnull OutbDeliveryHeader outbDeliveryHeader)
OutboundDeliveryV2Service
OutbDeliveryHeader
entity in the S/4HANA system.deleteOutbDeliveryHeader
in interface OutboundDeliveryV2Service
outbDeliveryHeader
- OutbDeliveryHeader
entity object that will be deleted in the S/4HANA system.OutbDeliveryHeader
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public OutbDeliveryDocFlowByKeyFluentHelper getOutbDeliveryDocFlowByKey(String precedingDocument, String precedingDocumentItem, String subsequentDocumentCategory)
OutboundDeliveryV2Service
OutbDeliveryDocFlow
entity using key fields.getOutbDeliveryDocFlowByKey
in interface OutboundDeliveryV2Service
precedingDocument
- Number that uniquely identifies the preceding sales, delivery, or billing document (for example, the
quotation from which you created a sales order).
Constraints: Not nullable, Maximum length: 10
precedingDocumentItem
- Preceding Item of an SD Document
Constraints: Not nullable, Maximum length: 6
subsequentDocumentCategory
- The document category of the sales document that you have created from a preceding document (for
example, a delivery note that has been created from a sales order).
Constraints: Not nullable, Maximum length: 4
OutbDeliveryDocFlow
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 public OutbDeliveryDocFlowUpdateFluentHelper updateOutbDeliveryDocFlow(@Nonnull OutbDeliveryDocFlow outbDeliveryDocFlow)
OutboundDeliveryV2Service
OutbDeliveryDocFlow
entity and save it to the S/4HANA system.updateOutbDeliveryDocFlow
in interface OutboundDeliveryV2Service
outbDeliveryDocFlow
- OutbDeliveryDocFlow
entity object that will be updated in the S/4HANA system.OutbDeliveryDocFlow
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SerialNmbrDeliveryByKeyFluentHelper getSerialNmbrDeliveryByKey(Long maintenanceItemObjectList)
OutboundDeliveryV2Service
SerialNmbrDelivery
entity using key fields.getSerialNmbrDeliveryByKey
in interface OutboundDeliveryV2Service
maintenanceItemObjectList
- Number identifying the object list
Constraints: Not nullable
SerialNmbrDelivery
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 public OutbDeliveryPartnerByKeyFluentHelper getOutbDeliveryPartnerByKey(String partnerFunction, String sDDocument)
OutboundDeliveryV2Service
OutbDeliveryPartner
entity using key fields.getOutbDeliveryPartnerByKey
in interface OutboundDeliveryV2Service
partnerFunction
- The abbreviated form of the name that identifies the partner function.
Constraints: Not nullable, Maximum length: 2
sDDocument
- The number that uniquely identifies the sales, delivery, or billing document.
Constraints: Not nullable, Maximum length: 10
OutbDeliveryPartner
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 public PickAndBatchSplitOneItemFluentHelper pickAndBatchSplitOneItem(String deliveryDocument, String deliveryDocumentItem, String batch, BigDecimal splitQuantity, String splitQuantityUnit)
OutboundDeliveryV2Service
Creates a fluent helper for the PickAndBatchSplitOneItem OData function import.
pickAndBatchSplitOneItem
in interface OutboundDeliveryV2Service
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
deliveryDocumentItem
- Item
Constraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: DeliveryDocumentItem
batch
- Batch
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: Batch
splitQuantity
- Qty (stckp.unt)
Constraints: Not nullable, Precision: 3, Scale: 3
Original parameter name from the Odata EDM: SplitQuantity
splitQuantityUnit
- Base Unit
Constraints: Not nullable, Maximum length: 3
Original parameter name from the Odata EDM: SplitQuantityUnit
execute
method on the fluent helper object.@Nonnull public SetPickingQuantityWithBaseQuantityFluentHelper setPickingQuantityWithBaseQuantity(BigDecimal actualDeliveredQtyInBaseUnit, String baseUnit, String deliveryDocument, String deliveryDocumentItem)
OutboundDeliveryV2Service
Creates a fluent helper for the SetPickingQuantityWithBaseQuantity OData function import.
setPickingQuantityWithBaseQuantity
in interface OutboundDeliveryV2Service
actualDeliveredQtyInBaseUnit
- Qty (stckp.unt)
Constraints: Not nullable, Precision: 3, Scale: 3
Original parameter name from the Odata EDM: ActualDeliveredQtyInBaseUnit
baseUnit
- Base Unit
Constraints: Not nullable, Maximum length: 3
Original parameter name from the Odata EDM: BaseUnit
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
deliveryDocumentItem
- Item
Constraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: DeliveryDocumentItem
execute
method on the fluent helper object.@Nonnull public PostGoodsIssueFluentHelper postGoodsIssue(String deliveryDocument)
OutboundDeliveryV2Service
Creates a fluent helper for the PostGoodsIssue OData function import.
postGoodsIssue
in interface OutboundDeliveryV2Service
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
execute
method on the fluent helper object.@Nonnull public ReverseGoodsIssueFluentHelper reverseGoodsIssue(String deliveryDocument, LocalDateTime actualGoodsMovementDate)
OutboundDeliveryV2Service
Creates a fluent helper for the ReverseGoodsIssue OData function import.
reverseGoodsIssue
in interface OutboundDeliveryV2Service
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
actualGoodsMovementDate
- Actual GI Date
Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: ActualGoodsMovementDate
execute
method on the fluent helper object.@Nonnull public ConfirmPickingAllItemsFluentHelper confirmPickingAllItems(String deliveryDocument)
OutboundDeliveryV2Service
Creates a fluent helper for the ConfirmPickingAllItems OData function import.
confirmPickingAllItems
in interface OutboundDeliveryV2Service
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
execute
method on the fluent helper object.@Nonnull public ConfirmPickingOneItemFluentHelper confirmPickingOneItem(String deliveryDocumentItem, String deliveryDocument)
OutboundDeliveryV2Service
Creates a fluent helper for the ConfirmPickingOneItem OData function import.
confirmPickingOneItem
in interface OutboundDeliveryV2Service
deliveryDocumentItem
- Item
Constraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: DeliveryDocumentItem
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
execute
method on the fluent helper object.@Nonnull public PickAllItemsFluentHelper pickAllItems(String deliveryDocument)
OutboundDeliveryV2Service
Creates a fluent helper for the PickAllItems OData function import.
pickAllItems
in interface OutboundDeliveryV2Service
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
execute
method on the fluent helper object.@Nonnull public PickOneItemFluentHelper pickOneItem(String deliveryDocument, String deliveryDocumentItem)
OutboundDeliveryV2Service
Creates a fluent helper for the PickOneItem OData function import.
pickOneItem
in interface OutboundDeliveryV2Service
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
deliveryDocumentItem
- Item
Constraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: DeliveryDocumentItem
execute
method on the fluent helper object.@Nonnull public PickOneItemWithSalesQuantityFluentHelper pickOneItemWithSalesQuantity(BigDecimal actualDeliveryQuantity, String deliveryDocument, String deliveryDocumentItem, String deliveryQuantityUnit)
OutboundDeliveryV2Service
Creates a fluent helper for the PickOneItemWithSalesQuantity OData function import.
pickOneItemWithSalesQuantity
in interface OutboundDeliveryV2Service
actualDeliveryQuantity
- Delivery qty
Constraints: Not nullable, Precision: 3, Scale: 3
Original parameter name from the Odata EDM: ActualDeliveryQuantity
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
deliveryDocumentItem
- Item
Constraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: DeliveryDocumentItem
deliveryQuantityUnit
- Sales Unit
Constraints: Not nullable, Maximum length: 3
Original parameter name from the Odata EDM: DeliveryQuantityUnit
execute
method on the fluent helper object.@Nonnull public PickOneItemWithBaseQuantityFluentHelper pickOneItemWithBaseQuantity(String deliveryDocument, String deliveryDocumentItem, BigDecimal actualDeliveredQtyInBaseUnit, String baseUnit)
OutboundDeliveryV2Service
Creates a fluent helper for the PickOneItemWithBaseQuantity OData function import.
pickOneItemWithBaseQuantity
in interface OutboundDeliveryV2Service
deliveryDocument
- Delivery
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: DeliveryDocument
deliveryDocumentItem
- Item
Constraints: Not nullable, Maximum length: 6
Original parameter name from the Odata EDM: DeliveryDocumentItem
actualDeliveredQtyInBaseUnit
- Qty (stckp.unt)
Constraints: Not nullable, Precision: 3, Scale: 3
Original parameter name from the Odata EDM: ActualDeliveredQtyInBaseUnit
baseUnit
- Base Unit
Constraints: Not nullable, Maximum length: 3
Original parameter name from the Odata EDM: BaseUnit
execute
method on the fluent helper object.Copyright © 2019 SAP SE. All rights reserved.