Application Development 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: 

BLOCK ALV O/P

Former Member
0 Kudos

Hi all,

There is a report program which is submitting a standard report pgm. The Standard report pgm is generating a ALV o/p

which is caught in the calling program for further process.

Also we do have write statements in the calling program.

When our report program is executed in foreground the ALV genarted by the Standard one is displayed first and then if we give the back button futher process of the report prg are executed.

The issue is we want to call the std pgm and get the ALV content for furtherrocess. But we do not want to display the ALV on the screen.

Please share if you have any ideas to acheive this.

2 REPLIES 2

Former Member
0 Kudos

Hemavathi,

Why dont u copy that standard program to a Z program and make the changes as needed? i.e dont display ALV ouput.

DId u try this option already??

Regards,

Sudheer

former_member188685
Active Contributor
0 Kudos

First option

check any exports to memory in the standard program, if there are some export memory operations, then you can import the data in your program.

second option

you can play with SUBMIT...EXPORTING LIST TO MEMORY addition, and then get the listobject from memory using the Function module LIST_FROM_MEMORY, then convert the list object to ASCII using the function LIST_TO_ASCI , now analayze the data how it is coming into the asci table and use it.

Third option.

using the field-symbols you can try that. before accesing the data you may have to call the submit along with List to memory addition. then try to access the internal table data using the fieldsymbols.