ERP SD Sales Order Proxy

Overview

The ERP SD Sales Order Proxy service is a business service that is used for manipulating sales orders in the connected SAP ERP system.

Using this service, you can:

  • Get recent ERP SD sales orders using the relevant ERP customer ID.
  • Get all ERP SD sales orders using the relevant ERP customer ID, material ID, and creation date.
  • Get detailed information of an ERP SD sales order using the relevant sales order ID.
  • Simulate ERP sales order creation.
  • Create ERP SD sales orders using two approaches with different BAPIs. For more information about the BAPIs, see SAP Note 93091.
  • Change ERP SD sales orders using a custom remote-enabled function module. For more information about the function module, see SAP Note 2339873.

Before you use the service, you need to configure the ERP system settings in the ERP SD Configuration service.


API Reference

/{tenant}/erpsalesorder/customer/{customerId}/recentItems

Get recent ERP SD sales order items.

/{tenant}/erpsalesorder/customer/{customerId}/recentItems

get

Get recent ERP SD sales orders for the given ERP customer.

The statuses that are treated to be CLOSE: completed
The statuses that are treated to be OPEN: created

Required scope: hybris.sdorderproxy_view

/{tenant}/erpsalesorder/customer/{customerId}/allItems

Get brief information of ERP SD sales order items.

/{tenant}/erpsalesorder/customer/{customerId}/allItems

get

Get a list of ERP SD sales orders.

Required scope: hybris.sdorderproxy_view

/{tenant}/erpsalesorder/{salesorderId}

Manage a specific ERP sales order.

/{tenant}/erpsalesorder/{salesorderId}

get

Get the details of specific ERP SD sales order using the sales order identifier and the required ERP configuration parameters.

Required scope: hybris.sdorderproxy_view

put

Update a specific ERP SD sales order. Before using the operation, you need to implement the SAP note 2339873 to create a custom function module. For more information about this note, find [SAP Note 2339873] at http://service.sap.com/sap/support/notes/2339873.

When you change an ERP SD Sales Order, you can change the relevant information, for example:

  • Insert ERP SD Sales Order items
  • Delete ERP SD Sales Order items
  • Change ERP SD Sales Order items materials and quantity and some other information

Required scope: hybris.sdorderproxy_manage

/{tenant}/erpsalesorder/simulate

Simulate creation of an ERP SD sales order.

/{tenant}/erpsalesorder/simulate

post

Simulate creation of an ERP SD sales order via JsonRPC protocol to call BAPI_SALESORDER_SIMULATE. By calling the resource and the operation, the availability and pricing are determined and returned.

Required scope: hybris.sdorderproxy_manage