Skip to Content
avatar image
Former Member

Use purchase order category “Standard” (“NB”) error - API_PURCHASEORDER_PROCESS_SRV

Hi everyone,

I'm facing this error "Use purchase order category “Standard” (“NB”) when I'm calling the avaiable SAP API, API_PURCHASEORDER_PROCESS_SRV.

I'm making a simple POST request, as you can see below:

{
"PurchaseOrder" : "",
"PurchasingOrganization" : "1500",
"PurchasingGroup" : "Z01",
"CompanyCode" : "1500",
"SupplyingSupplier" : "2000060",
"Supplier" : "2000060",
"PurchaseOrderType" : "ZP01",
"DocumentCurrency" : "EUR",
"to_PurchaseOrderItem" :
[{ "OrderQuantity": "1",
"PurchaseOrderQuantityUnit" : "KG",
"Material": "1000000159",
"Plant": "1503",
"PurchaseOrderItemCategory" : "0" }] }

Does anyone know why I'm having this error? or what is missing on my request?

Best regards and thank you in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 19 at 08:52 PM

    I did

    "PurchaseOrderType": "NB",
    

    Not sure why but for me that was the reason of the error

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 11 at 08:23 AM

    It was written in the Note 2586313 - Cannot update Purchase Order using API_PURCHASEORDER_PROCESS_SRV.

    API can only Create / Update NB Purchase Orders, this is also described in the SAP help:

    OData Service for Purchase Order API

    Add comment
    10|10000 characters needed characters exceeded