Skip to Content
0
Former Member
Nov 24, 2009 at 12:35 PM

LIST_FROM_MEMORY raises exception 'not_found' for FF_5 program

284 Views

Hi,

I need to call the transaction FF_5 from a Z program and fetch the output list of this tcode into an internal table for further processing. I have used following lines of code:

SUBMIT RFBASM00

WITH einlesen EQ c_x

WITH format EQ c_i

WITH auszfile EQ l_filename

EXPORTING LIST TO MEMORY

AND RETURN.

CALL FUNCTION 'LIST_FROM_MEMORY'

TABLES

listobject = t_object

EXCEPTIONS

not_found = 1

OTHERS = 2.

The FF_5 returns its output as an ALV list but the FM 'LIST_FROM_MEMORY' returns sy-subrc = 1, saying the list is not found in the memory.

Please advise.