SAP Knowledge Base Article - Public

2771486 - Enhanced Limits error via Purchase Order API

Symptom

You are posting Purchase Orders for enhanced limit items via API_PURCHASEORDER_PROCESS_SRV, but you are receiving error 'APPL_MM_PUR_PO065'
'Use purchase order item category "Standard" or "Third-Party" for 00001' 

Environment

SAP S/4HANA Cloud Public Edition All Versions

Reproducing the Issue

  1. Execute a POST Operation with API_PURCHASEORDER_PROCESS_SRV.
  2. Transfer data at line level required for a 'limit item' 
  3. The posting fails with error - 'Use purchase order item category "Standard" or "Third-Party" for 00001' 

Cause

Payload content.

Resolution

When you display a Limit Purchase Order item, it displays with item category 'E' Enhanced Limits, but the technical item category for a limit item is actually 'A'. 
If you re-process your payload with item category 'A' you should not receive this error.

See Also

API documentation

Keywords

CL_MM_PUR_PO_PROCESS_API, IF_S4HANA_API_BO_PROCESS~DO_MAPPING, PSTYV, APPL_MM_PUR_PO065. , KBA , MM-PUR-PO , Purchase Orders , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions