07-30-2007 7:46 AM
Hi experts!
In my program I need to update a vew deliveries using transaction VT04 with variant. The consultant wants me to get numbers of deliveries that VT4 updated.
Is it possible?
When I try to do SUBMIT with RETURN:
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"
But when I run code without EXPORTING LIST TO MEMORY I return to my program.
So how can I get deliveries from log?
Message was edited by:
LOS'
07-30-2007 7:57 AM
SUBMIT
Calls an executable program of type 1.
Syntax
SUBMIT <rep> [AND RETURN] [VIA SELECTION-SCREEN]
[USING SELECTION-SET <var>]
[WITH <sel> <criterion>]
[WITH FREE SELECTIONS <freesel>]
[WITH SELECTION-TABLE <rspar>]
[LINE-SIZE <width>]
[LINE-COUNT <length>].
Calls the program <rep>. If you omit the AND RETURN addition, the current program is terminated. Otherwise, the data from the current program is retained, and processing returns to the calling program when <rep> has finished running. The other additions control the selection screen and set attributes of the default list in the called program.
07-30-2007 8:37 AM
Karthikeyan Pandurangan thanks, I updated my question, the problem is in "EXPORTING" statement.