public interface SalesOrderService
You can use this service to integrate external applications with sales order processing in SAP S/4HANA Cloud. In every API call, you can make use of the following operations: - You can retrieve sales orders. Apply any of the filters provided or retrieve all existing data. - You can create sales orders. Note that you must use “deep insert” requests (a header plus the following entities: header partner, header pricing element, item, item partner, and item pricing element). You cannot create entities without including any related entities. - For existing sales orders, you can create new items. Note that you must use “deep insert” requests (with the following entities: item partner and item pricing element). You cannot create entities without including any related entities. - For existing sales orders, you can update the header, header partner, header pricing element, item, item partner, and item pricing element. - For existing sales orders, you can delete the header, header partner, header pricing element, item, item partner, and item pricing element..
Reference: SAP API Business Hub
OData Service: | API_SALES_ORDER_SRV |
API Version: | 1 |
Communication Scenario: | Sales Order Integration (SAP_COM_0109) |
Scope Items: | Integration with 3rd-party salesforce sutomation system (1QI), Sell from Stock (BD9) |
Business Object: | SalesOrder |
SalesOrderFluentHelper getAllSalesOrder()
SalesOrder
entities.SalesOrder
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.SalesOrderByKeyFluentHelper getSalesOrderByKey(String salesOrder)
SalesOrder
entity using key fields.salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
SalesOrder
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.SalesOrderCreateFluentHelper createSalesOrder(SalesOrder salesOrder)
SalesOrder
entity and save it to the S/4HANA system.salesOrder
- SalesOrder
entity object that will be created in the S/4HANA system.SalesOrder
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderUpdateFluentHelper updateSalesOrder(SalesOrder salesOrder)
SalesOrder
entity and save it to the S/4HANA system.salesOrder
- SalesOrder
entity object that will be updated in the S/4HANA system.SalesOrder
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderDeleteFluentHelper deleteSalesOrder(SalesOrder salesOrder)
SalesOrder
entity in the S/4HANA system.salesOrder
- SalesOrder
entity object that will be deleted in the S/4HANA system.SalesOrder
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderHeaderPartnerFluentHelper getAllSalesOrderHeaderPartner()
SalesOrderHeaderPartner
entities.SalesOrderHeaderPartner
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.SalesOrderHeaderPartnerByKeyFluentHelper getSalesOrderHeaderPartnerByKey(String salesOrder, String partnerFunction)
SalesOrderHeaderPartner
entity using key fields.partnerFunction
- The abbreviated form of the name that identifies the partner function.Constraints: Not nullable, Maximum length: 2
salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
SalesOrderHeaderPartner
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.SalesOrderHeaderPartnerCreateFluentHelper createSalesOrderHeaderPartner(SalesOrderHeaderPartner salesOrderHeaderPartner)
SalesOrderHeaderPartner
entity and save it to the S/4HANA system.salesOrderHeaderPartner
- SalesOrderHeaderPartner
entity object that will be created in the S/4HANA system.SalesOrderHeaderPartner
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderHeaderPartnerUpdateFluentHelper updateSalesOrderHeaderPartner(SalesOrderHeaderPartner salesOrderHeaderPartner)
SalesOrderHeaderPartner
entity and save it to the S/4HANA system.salesOrderHeaderPartner
- SalesOrderHeaderPartner
entity object that will be updated in the S/4HANA system.SalesOrderHeaderPartner
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderHeaderPartnerDeleteFluentHelper deleteSalesOrderHeaderPartner(SalesOrderHeaderPartner salesOrderHeaderPartner)
SalesOrderHeaderPartner
entity in the S/4HANA system.salesOrderHeaderPartner
- SalesOrderHeaderPartner
entity object that will be deleted in the S/4HANA system.SalesOrderHeaderPartner
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderHeaderPrElementFluentHelper getAllSalesOrderHeaderPrElement()
SalesOrderHeaderPrElement
entities.SalesOrderHeaderPrElement
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.SalesOrderHeaderPrElementByKeyFluentHelper getSalesOrderHeaderPrElementByKey(String salesOrder, String pricingProcedureStep, String pricingProcedureCounter)
SalesOrderHeaderPrElement
entity using key fields.pricingProcedureCounter
- Access number of the conditions within a step in the pricing procedure.Constraints: Not nullable, Maximum length: 3
salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
pricingProcedureStep
- Number that determines the sequence of the condition within a procedure.Constraints: Not nullable, Maximum length: 3
SalesOrderHeaderPrElement
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.SalesOrderHeaderPrElementCreateFluentHelper createSalesOrderHeaderPrElement(SalesOrderHeaderPrElement salesOrderHeaderPrElement)
SalesOrderHeaderPrElement
entity and save it to the S/4HANA system.salesOrderHeaderPrElement
- SalesOrderHeaderPrElement
entity object that will be created in the S/4HANA system.SalesOrderHeaderPrElement
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderHeaderPrElementUpdateFluentHelper updateSalesOrderHeaderPrElement(SalesOrderHeaderPrElement salesOrderHeaderPrElement)
SalesOrderHeaderPrElement
entity and save it to the S/4HANA system.salesOrderHeaderPrElement
- SalesOrderHeaderPrElement
entity object that will be updated in the S/4HANA system.SalesOrderHeaderPrElement
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderHeaderPrElementDeleteFluentHelper deleteSalesOrderHeaderPrElement(SalesOrderHeaderPrElement salesOrderHeaderPrElement)
SalesOrderHeaderPrElement
entity in the S/4HANA system.salesOrderHeaderPrElement
- SalesOrderHeaderPrElement
entity object that will be deleted in the S/4HANA system.SalesOrderHeaderPrElement
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderItemFluentHelper getAllSalesOrderItem()
SalesOrderItem
entities.SalesOrderItem
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.SalesOrderItemByKeyFluentHelper getSalesOrderItemByKey(String salesOrder, String salesOrderItem)
SalesOrderItem
entity using key fields.salesOrderItem
- Sales Order ItemConstraints: Not nullable, Maximum length: 6
salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
SalesOrderItem
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.SalesOrderItemCreateFluentHelper createSalesOrderItem(SalesOrderItem salesOrderItem)
SalesOrderItem
entity and save it to the S/4HANA system.salesOrderItem
- SalesOrderItem
entity object that will be created in the S/4HANA system.SalesOrderItem
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderItemUpdateFluentHelper updateSalesOrderItem(SalesOrderItem salesOrderItem)
SalesOrderItem
entity and save it to the S/4HANA system.salesOrderItem
- SalesOrderItem
entity object that will be updated in the S/4HANA system.SalesOrderItem
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderItemDeleteFluentHelper deleteSalesOrderItem(SalesOrderItem salesOrderItem)
SalesOrderItem
entity in the S/4HANA system.salesOrderItem
- SalesOrderItem
entity object that will be deleted in the S/4HANA system.SalesOrderItem
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderItemPartnerFluentHelper getAllSalesOrderItemPartner()
SalesOrderItemPartner
entities.SalesOrderItemPartner
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.SalesOrderItemPartnerByKeyFluentHelper getSalesOrderItemPartnerByKey(String salesOrder, String salesOrderItem, String partnerFunction)
SalesOrderItemPartner
entity using key fields.partnerFunction
- The abbreviated form of the name that identifies the partner function.Constraints: Not nullable, Maximum length: 2
salesOrderItem
- Sales Order ItemConstraints: Not nullable, Maximum length: 6
salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
SalesOrderItemPartner
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.SalesOrderItemPartnerCreateFluentHelper createSalesOrderItemPartner(SalesOrderItemPartner salesOrderItemPartner)
SalesOrderItemPartner
entity and save it to the S/4HANA system.salesOrderItemPartner
- SalesOrderItemPartner
entity object that will be created in the S/4HANA system.SalesOrderItemPartner
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderItemPartnerUpdateFluentHelper updateSalesOrderItemPartner(SalesOrderItemPartner salesOrderItemPartner)
SalesOrderItemPartner
entity and save it to the S/4HANA system.salesOrderItemPartner
- SalesOrderItemPartner
entity object that will be updated in the S/4HANA system.SalesOrderItemPartner
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderItemPartnerDeleteFluentHelper deleteSalesOrderItemPartner(SalesOrderItemPartner salesOrderItemPartner)
SalesOrderItemPartner
entity in the S/4HANA system.salesOrderItemPartner
- SalesOrderItemPartner
entity object that will be deleted in the S/4HANA system.SalesOrderItemPartner
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderItemPrElementFluentHelper getAllSalesOrderItemPrElement()
SalesOrderItemPrElement
entities.SalesOrderItemPrElement
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.SalesOrderItemPrElementByKeyFluentHelper getSalesOrderItemPrElementByKey(String salesOrder, String salesOrderItem, String pricingProcedureStep, String pricingProcedureCounter)
SalesOrderItemPrElement
entity using key fields.salesOrderItem
- Sales Order ItemConstraints: Not nullable, Maximum length: 6
pricingProcedureCounter
- Access number of the conditions within a step in the pricing procedure.Constraints: Not nullable, Maximum length: 3
salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
pricingProcedureStep
- Number that determines the sequence of the condition within a procedure.Constraints: Not nullable, Maximum length: 3
SalesOrderItemPrElement
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.SalesOrderItemPrElementCreateFluentHelper createSalesOrderItemPrElement(SalesOrderItemPrElement salesOrderItemPrElement)
SalesOrderItemPrElement
entity and save it to the S/4HANA system.salesOrderItemPrElement
- SalesOrderItemPrElement
entity object that will be created in the S/4HANA system.SalesOrderItemPrElement
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderItemPrElementUpdateFluentHelper updateSalesOrderItemPrElement(SalesOrderItemPrElement salesOrderItemPrElement)
SalesOrderItemPrElement
entity and save it to the S/4HANA system.salesOrderItemPrElement
- SalesOrderItemPrElement
entity object that will be updated in the S/4HANA system.SalesOrderItemPrElement
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderItemPrElementDeleteFluentHelper deleteSalesOrderItemPrElement(SalesOrderItemPrElement salesOrderItemPrElement)
SalesOrderItemPrElement
entity in the S/4HANA system.salesOrderItemPrElement
- SalesOrderItemPrElement
entity object that will be deleted in the S/4HANA system.SalesOrderItemPrElement
entity. To perform execution, call the execute
method on the fluent helper object.SalesOrderScheduleLineFluentHelper getAllSalesOrderScheduleLine()
SalesOrderScheduleLine
entities.SalesOrderScheduleLine
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.SalesOrderScheduleLineByKeyFluentHelper getSalesOrderScheduleLineByKey(String salesOrder, String salesOrderItem, String scheduleLine)
SalesOrderScheduleLine
entity using key fields.salesOrderItem
- The number that uniquely identifies the item in the sales document.Constraints: Not nullable, Maximum length: 6
scheduleLine
- The number that uniquely identifies the schedule line in the sales document.Constraints: Not nullable, Maximum length: 4
salesOrder
- The number that uniquely identifies the sales document.Constraints: Not nullable, Maximum length: 10
SalesOrderScheduleLine
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.