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: 

Overcome the display of WRITE statements

ekekakos
Participant
0 Kudos
225

Hello, is it possible to overcome the display of the WRITE statements?

During the run of a program there are some WRITE statements which appear at the end. Is it possible to end the program without display the WRITE statements.

Thanks in advance, Elias Kekakos

2 REPLIES 2

raymond_giuseppi
Active Contributor
207

Why did would you use WRITE if you don't want to see those later?

Did you already try to

Read Flow of an Executable Program After SUBMIT (look for 'Calling of the basic list.')

You could also prevent spool display in a caller code, in SUBMIT statement use EXPORTING LIST TO MEMORY or other list options (no spool or an actual spool but no display, clear memory with FM LIST_FREE_MEMORY)

DominikTylczyn
SAP Champion
SAP Champion
0 Kudos
172

Hello @ekekakos 

You can't do that. If WRITEs are part of a program, you can't just skip or overcome them when executing the program. You'd need to modify the program to avoid WRITEs.

Best regards

Dominik Tylczynski