SAP Knowledge Base Article - Preview

3492854 - TABLE_ILLEGAL_STATEMENT dump on program SAPLEDI1

Symptom

The system is dumping after patch upgrades. While performing application related activities e.g., recording FI invoices, saving and posting orders through Transaction ME21N, etc, results in ST22 dump like the one below:

  • Runtime Errors         TABLE_ILLEGAL_STATEMENT

     Short Text
         Error in an ABAP/4 statement when processing an internal table.

    How to correct the error
        If you have access to SAP Notes, carry out a search with the following
        keywords: "TABLE_ILLEGAL_STATEMENT" "SAPLEDI1" or "LEDI1F09" "READ_FIELD_POS"

    Information on where terminated
        Termination occurred in the ABAP program "SAPLEDI1" - in "READ_FIELD_POS".
        The main program was "RSM13000 ". In the source code you have the termination point in line 1187
        of the (Include) program "LEDI1F09". The program "SAPLEDI1" was started in the update system.

    Source Code Extract
    Line  Code
    1185       wa_segtyp_feld-offset = offset.
     1186       wa_segtyp_feld-expleng = expleng.
    >>>>>       insert wa_segtyp_feld into segtyp_feld.
     1188     endif.
     1189   endif.
     1190 endform.
     1191 ****************************************************************
     1192 *       F09_CREATE_EOIO_ID.                                         *
     1193 ****************************************************************
     
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
          Name
       18 FORM         SAPLEDI1                            LEDI1F09                             1187
          READ_FIELD_POS
       17 FORM         SAPLEDI1                            LEDI1F09                             1058
          CALL_BADI


Read more...

Environment

  • SAP_BASIS
    700 SAPKB70041
    700 SAPKB70042
    701 SAPKB70126
    701 SAPKB70127
    702 SAPKB70226
    731 SAPKB73133
    740 SAPKB74030
    750 SAPK-75027INSAPBASIS
    751 SAPK-75117INSAPBASIS
    752 SAPK-75213INSAPBASIS
    753 SAPK-75311INSAPBASIS
    754 SAPK-75409INSAPBASIS
    755 SAPK-75507INSAPBASIS
    756 SAPK-75605INSAPBASIS
    757 SAPK-75703INSAPBASIS

Product

SAP Master Data Governance all versions ; SAP NetWeaver Application Server for SAP S/4HANA all versions ; SAP NetWeaver all versions

Keywords

KBA , BC-MID-ALE , Integration Technology ALE , 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.