Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem in LIST_FROM_MEMORY

Hi All,

My requirement is to enhance the standard report program RIQMEL20 to accomodate the custom fields added.

What i have done is as follows.

SUBMIT riqmel20 USING SELECTION-SCREEN gc_screen
                
WITH SELECTION-TABLE gt_rspar_tab
                
EXPORTING LIST TO MEMORY
                
AND RETURN.


*Import the prepared list from the memory
   
CALL FUNCTION 'LIST_FROM_MEMORY'
    
TABLES
        listobject
= gt_list_tab
     
EXCEPTIONS
        not_found 
= 1
       
OTHERS     = 2.

   
IF sy-subrc = 0.
****Get the unstructured output of riqmel20 report
     
CALL FUNCTION 'LIST_TO_ASCI'
       
EXPORTING
          list_index        
= zif_utl_constants=>gc_ascii
       
TABLES
          listasci          
= gt_vlist
          listobject        
= gt_list_tab
       
EXCEPTIONS
          empty_list        
= 1
          list_index_invalid
= 2
         
OTHERS             = 3.

      ENDIF.

The problem is there are 108 fields altogether in the standard report program.

But when submitting and reading from memory, I am getting only 95 fields.

The remaining fields are getting truncated.

Is it because of some size constraint?

How can this be solved??

Thanks in advance.

Regards,

Vignesh Sunkasi.K

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question