Black Friday is ending this Friday! 40% off with coupon CYBER40 - Sign up here

Close

How To Fix 00098 - Program error with LOOP AT int. tab: FROM greater than TO


00098 - Overview

  • Message type: E = Error

  • Message class: 00 -

  • Message number: 098

  • Message text: Program error with LOOP AT int. tab: FROM greater than TO

  • Show details Hide details
  • What causes this issue?

    The limits within which an internal table should be displayed are
    incorrect. The specification of FROM is larger than TO.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Correct the specifications for FROM and TO.

    Error message extract from SAP system. Copyright SAP SE.


00098 - Details

  • The SAP error message "00098 Program error with LOOP AT int. tab: FROM greater than TO" typically occurs when there is an issue with the internal table being processed in a LOOP statement. This error indicates that the range specified for the LOOP AT statement is invalid, specifically that the starting index (FROM) is greater than the ending index (TO).
    
    Cause: Invalid Indexing: The error arises when the internal table is being looped over, and the specified range for the loop is incorrect. This can happen if: The internal table is empty, and an attempt is made to loop over it with a specified range. The FROM index is set to a value greater than the TO index. There is a logical error in the code that calculates the indices. Data Manipulation: If the internal table is modified (e.g., rows are deleted) before the LOOP statement, it may lead to an invalid range.
    Solution: Check Index Values: Review

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


00098 - Related SAP Errors

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker