Common APIs used in SAP EWM #1

Commonly used APIs in SAP EWM can be an invaluable resource for developers and consultants

Common APIs used in SAP EWM #1

  1. The API_WAREHOUSE_ORDER_TASK_2 is a commonly used API in SAP EWM to manage warehouse tasks and orders, enabling the creation, modification, and confirmation of warehouse tasks efficiently.

Example Request:

POST <host>/sap/opu/odata4/sap/api_warehouse_order_task_2/srvd_a2x/sap/warehouseorder/0001/WarehouseTask

{??

??? "EWMWarehouse": " 1000",

??? "SourceHandlingUnit": " HU_1000_1",

??? "WarehouseProcessType": "9999",

??? "DestinationStorageType": "A970",

??? "DestinationStorageBin": "GR-AREA"

}


To cancel the warehouse tasks, you use http method post to call the Cancel warehouse task

Example request for cancel Warehouse tasks.

POST <host>/sap/opu/odata4/sap/api_warehouse_order_task_2/srvd_a2x/sap/warehouseorder/0001/WarehouseTask(EWMWarehouse='1000',WarehouseTask='1000004703',WarehouseTaskItem='0')/SAP__self.CancelWarehouseTask


To confirm a product warehouse task that has had changes made to it, you use the http method?POST?to call the?ConfirmWarehouseTaskProduct

Example:

POST <host>/sap/opu/odata4/sap/api_warehouse_order_task_2/srvd_a2x/sap/warehouseorder/0001/WarehouseTask(EWMWarehouse='1050',WarehouseTask='1000004703',WarehouseTaskItem='0')/SAP__self.ConfirmWarehouseTaskProduct


2. Create Resource

The API_WAREHOUSE_RESOURCE_2 is used in SAP EWM to manage warehouse resources, such as creating, updating, or retrieving details about resources like workers or equipment in the warehouse.

Example Request:

POST <host>/sap/opu/odata4/sap/api_warehouse_resource_2/srvd_a2x/sap/warehouseresource/0001/WarehouseResource HTTP/1.1

X-CSRF-Token: 8Da6BrdeDKALwCvjmO8NDA==

Content-Type: application/json

{

?????? "EWMWarehouse": "1000",

?????? "EWMResource":? "RES1"

}

3. Read Outbound deliveries

The WhseOutboundDeliveryOrderHead API is used in SAP EWM to manage outbound delivery orders at the header level. It supports operations like creating, updating, or retrieving details about outbound delivery order headers. This API helps streamline outbound logistics processes.

The WhseOutboundDeliveryOrderItem API in SAP EWM is used to manage the items within outbound delivery orders. It enables operations like creating, updating, or retrieving details for individual delivery items, ensuring efficient handling of outbound logistics at the item level.

Read single outbound delivery

GET <host>/sap/opu/odata4/sap/api_warehouse_odo_2/srvd_a2x/sap/warehouseoutbdeliveryorder/0001/WhseOutboundDeliveryOrderHead('80000000')


Post Goods issue request:

POST <host>/sap/opu/odata4/sap/api_warehouse_odo_2/srvd_a2x/sap/warehouseoutbdeliveryorder/0001/WhseOutboundDeliveryOrderHead('80008407')/SAP__self.PostGoodsIssue

I'll keep updating this blog with more SAP EWM APIs.


Ritesh S Dube

Senior Software Engineer

2 个月

Very useful info Bala. Thanks for sharing it.

回复

要查看或添加评论,请登录

BalaKrishna Gajula的更多文章

社区洞察

其他会员也浏览了