Skip to Content
0
Former Member
Aug 01, 2007 at 07:49 AM

"EXPORTING LIST TO MEMORY" doesn't work

36 Views

Hi experts!

In my program I need to update a vew deliveries using transaction VT04 and get from log numbers of updated deliveries. My code is:

SUBMIT RV56TRGN USING SELECTION-SET 'VAN SALE/VT04'

EXPORTING LIST TO MEMORY AND RETURN.

CALL FUNCTION 'LIST_FROM_MEMORY'

TABLES

listobject = list_tab

EXCEPTIONS

not_found = 1

OTHERS = 2.

I get error:

"Set screen is not allowed in subscreens"

But when I run code:

SUBMIT RV56TRGN USING SELECTION-SET 'VAN SALE/VT04' AND RETURN.

It runs OK.

Where may be the problem?