|
How can I send an order cancellation to Business Network when they are active in Business Buying solutions (P2P)?
Buying organizations use cancel orders to cancel previously sent purchase orders. Business Network displays the status of canceled purchase orders as Obsoleted. However, the new purchase order sent in its place is labeled as "Changed" in the dashboard view, and upon opening it in the Business Network, it is displayed as "Cancelled" with the status highlighted in orange text.
Cancel orders are the same as regular purchase orders, except:
For an example of a cancel order refer to the cXML snippet below:
<OrderRequest>
<OrderRequestHeader
orderDate = "2019-07-24T08:49:10+08:00"
orderID = "TESTEDELETE"
orderType = "regular"
orderVersion = "insert the same version as the PO you want to obsolete"
type = "delete">
<DocumentReference payloadID="older version PO payloadID"/>
</OrderRequestHeader>
</OrderRequest>
This procedure will create a new order record with the revision field as Cancelled and will obsolete the purchase order sent in the DocumentReference element. This purchase order will be permanently closed. In the dashboard view, the new order appears with a "Changed" status, and upon opening it in the Business Network, it is displayed as "Cancelled" with the status highlighted in orange text. .
See also Cancel orders in the cXML Solutions Guide to learn more.
SAP Business Network for Procurement & Supply Chain > Transaction Documents > Transaction (Purchase Orders, Ship Notices & Goods Receipts)