SAP Knowledge Base Article - Preview

2149751 - Dump TSV_TNEW_PAGE_ALLOC_FAILED when archiving IDocs via SARA transaction

Symptom

  • The archiving of IDocs leads to a dump with the message TSV_TNEW_PAGE_ALLOC_FAILED.

    Sample dump:

Category               Resource Shortage
Runtime Errors         TSV_TNEW_PAGE_ALLOC_FAILED

Short text
No more storage space available for extending an internal table.
What happened?
Termination occurred in the ABAP program "SAPLEDI_ARCH" - in  "IDOC_ARCHIVE_FETCH_OBJECT".
The main program was "RSEXARCA".
In the source code you have the termination point in line 13 of the (Include) program "LEDI_ARCHU04".
The program "SAPLEDI_ARCH" was started as a background job.
Source Code Extract

 FUNCTION IDOC_ARCHIVE_FETCH_OBJECT.
 *"----------------------------------------------------------------------
 *"*"Lokale Schnittstelle:
 *"  IMPORTING
 *"     REFERENCE(IDOC_TABLE) TYPE  TEDIA_IDOC_TT
 *"----------------------------------------------------------------------
   IF idoc_table IS NOT INITIAL.
   SELECT * FROM edidc INTO TABLE gt_edidc
   FOR ALL ENTRIES IN idoc_table WHERE docnum = idoc_table-docnum.
   SELECT * FROM edids INTO TABLE gt_edids
         FOR ALL ENTRIES IN idoc_table WHERE docnum = idoc_table-docnum.
>>>>>    SELECT * FROM edid4 INTO CORRESPONDING FIELDS OF TABLE gt_edidd
         FOR ALL ENTRIES IN idoc_table WHERE docnum = idoc_table-docnum.
   ENDIF.
 ENDFUNCTION.

|SY-MSGID|BA
|SY-MSGNO|137

GT_EDIDC
    Table IT_1649[1000x1084]
IDOC_TAB
    Table IT_1647[1000x36]
...

 


Read more...

Environment

  • SAP Basis ALE
  • SAP NetWeaver
  • SAP Web Application Server for SAP S/4 HANA
  • ABAP PLATFORM - Application Server ABAP

Product

ABAP platform all versions ; SAP NetWeaver all versions ; SAP Web Application Server for SAP S/4HANA all versions

Keywords

BASIS_ALE, SARA, RSEXARCA, SAPLEDI_ARCH, LEDI_ARCHU04, IDOC_ARCHIVE_FETCH_OBJECT, GT_EDIDC, IDOC_TAB, BA 137, BA137, SQL_CAUGHT_RABAX test , KBA , BC-MID-ALE , Integration Technology ALE , BC-CCM-ADK , Archive Development Kit , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.