Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Get data from log

Former Member
0 Likes
563

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'

2 REPLIES 2
Read only

Former Member
0 Likes
470

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.

Read only

0 Likes
470

Karthikeyan Pandurangan thanks, I updated my question, the problem is in "EXPORTING" statement.