Skip to Content
1

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

Dec 12, 2017 at 06:55 PM

109

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

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

I did

"PurchaseOrderType": "NB",

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member
Apr 11 at 08:23 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded