Skip to Content
0
May 06, 2010 at 02:11 PM

Using LIST_FROM_MEMORY

131 Views

I wish to use LIST_FROM_MEMORY to exchange parameter calling a program with a selection screen (it's the better system I found).

So I have a Zprogram with this code:

SUBMIT zconnect VIA SELECTION-SCREEN

EXPORTING LIST TO MEMORY AND RETURN.

CALL FUNCTION 'LIST_FROM_MEMORY'

TABLES

listobject = list_tab

EXCEPTIONS

not_found = 1

OTHERS = 2.

The "zconnect" program is a simple report with a selection screen e four "write", one for each parameter I put in.

When I put the values and click the "clock" to execute, I get my four values written and I can't go over, I'can't continue my caller program.

How have I do to get the values written in the memory, and not (if it is possible) on the screen?

I found several examples to get the list, but no one to put it.

Thanks for the help.

(I'm doing this because I can't declare a screen in a global class, so I'm trying other ways)