10-14-2008 8:48 AM
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.
10-14-2008 9:31 AM
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
10-14-2008 9:37 AM
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.