SAP Knowledge Base Article - Public

2958312 - How to mass update Purchase Requisitions to Closed

Symptom

Mass Changes to Purchase Requisition app doesn't have the field to Close the PR.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  • Open the Mass Changes to Purchase Requisition app
  • Go to adopt filters
  • There is no "Close" filter

Cause

The Closed field is not available for change via Mass Changes to Purchase Requisition app in the standard SAP system design.

Resolution

Use the API_PURCHASEREQ_PROCESS_SRV to mass update the closed indicator, in this API you can find the parameter IsClosed.

Sample code:

 {

  "d" : {
    "IsClosed" : true,
  }
}

See Also

 https://api.sap.com/api/API_PURCHASEREQ_PROCESS_SRV/overview

Keywords

API, Close, Purchase Requisition, Close PR, Mass Changes to Purchase Requisitions, App ID F2594, API_PURCHASEREQ_PROCESS_SRV , KBA , MM-PUR-REQ , Purchase Requisitions , Product Enhancement

Product

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