Register Login

IMPORT it_tab from MEMORY ID 'Zxxxx'

Updated May 18, 2018

I'am currently reviewing a custom code not developed by me.When i execute the program, i'm getting runtime exception (dump) 

"Length error has occured in import statement"

This error is occuring at line :

IMPORT it_tab from MEMORY ID 'Zxxxx'.

As i am not at all familiar with IMPORT/EXPORT memory, i need some inputs as to why this error might be occurring. Any suggestions on what part of the code should i check?


  • 10 Jul 2010 5:17 am rekha

    Length error means the target internal table "it_tab" has structure size less than the importing table structure.You need to check at what instance that table is being exported to memory and what is its type.
    type of importing structure ( "it_tab" in your case) should be same as exporting structure.

  • 10 Jul 2010 5:18 am rekha

    Thanks but actually it was the same internal table being exported and imported so couldnt find structure problem.

    The error was corrected by replacing the import code as

    IMPORT (it_tab) from MEMORY ID 'Zxxxxx'.
  • 14 Oct 2010 11:39 am rekha
    check the tcode in se91 or 93.. create message class...
  • 14 Oct 2010 12:25 pm Guest
    while practice on provision clearing i have got error message that table t043s is missing so how to solve the problem