SAP Knowledge Base Article - Public

3834888 - TSV_TNEW_OCCURS_NO_ROLL_MEMORY when creating purchase order with many items via API - SAP S/4HANA Cloud Public Edition

Symptom

  • When inserting a large number of purchase order line items via the Purchase Order API, the insertion fails.
  • Error returned: code "TSV_TNEW_OCCURS_NO_ROLL_MEMORY"; message "ABAP Runtime error 'TSV_TNEW_OCCURS_NO_ROLL_MEMORY'".
  • An ABAP runtime dump can be found in ST22 around the reported time window.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Use the Purchase Order OData API to create a purchase order that contains a very large number of line items in a single request.
  2. Submit the request to create the purchase order.
  3. Observe that the request fails and the response contains error code TSV_TNEW_OCCURS_NO_ROLL_MEMORY; verify the ABAP dump in transaction ST22.

Cause

Excessively large numbers of purchase order line items sent in a single API call can exhaust available ABAP roll memory, resulting in runtime error TSV_TNEW_OCCURS_NO_ROLL_MEMORY.

Resolution

Root cause has been identified and a fix has been completed and tested. The fix has been released as a hotfix via HFC05.

The schedule can be found from document below:

SAP S/4HANA Cloud Public Edition, 3-System Landscape – Upgrade & Maintenance Schedule

Keywords

TSV_TNEW_OCCURS_NO_ROLL_MEMORY, ABAP runtime error, roll memory, memory dump, purchase order API, OData V4, create purchase order, many line items, large payload, API error, ST22, purchase order line items, runtime dump, SAP S/4HANA Cloud Public Edition, public cloud , KBA , MM-FIO-PUR-PO-2CL , Fiori UI for Purchase Orders (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions