SAP Knowledge Base Article - Public

3589960 - How to Cancel Purchas Order Through Web Service?

Symptom

You have created few purchase orders and ordered to the supplier. Later you realized to cancel these orders. 

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to SOAP UI tool
  2. Create a New Project 
  3. Upload the WSDL file for Purchase Order
  4. Enter the Payload and execute

Resolution

You can find the sample payload below to Cancel the purchase order through web service. 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header/>
<soapenv:Body>
<glob:PurchaseOrderUploadRequest_sync>
<BasicMessageHeader>
<ID>00300571CE9F1DED9698C626CD53DAEK</ID>
<UUID>12345678-90AB-CDEF-0123-456789ABCDEF</UUID>
</BasicMessageHeader>
<PurchaseOrderMaintainBundle actionCode="02">
<ObjectNodeSenderTechnicalID>1</ObjectNodeSenderTechnicalID>
<BusinessTransactionDocumentTypeCode>001</BusinessTransactionDocumentTypeCode>
<PurchaseOrderID>PO ID</PurchaseOrderID>
<CancelPurchaseOrderActionIndicator>true</CancelPurchaseOrderActionIndicator>
</PurchaseOrderMaintainBundle>
</glob:PurchaseOrderUploadRequest_sync>
</soapenv:Body>
</soapenv:Envelope>

Keywords

Cancel Purchas Order Through Web Service, Cancel PO , KBA , AP-POP-PO , Purchase Order , Problem

Product

SAP Business ByDesign all versions