how save a report in sap rather then printing it ( ZV10)
hi there, im new to abap,
plz help me to solve this problem.
how to save a report in text format rather then printing it after it have finish ranning.
the report is in this t-code ZV10, after the user runs the report, it automaticaly prints it. But i have been ask to change it to save the report rather then from printing it.
plz help me to solve this issue.
Ashish Gundawar replied
It means that you need to download report in the form of text file after it is run.
For this you need to add FILE parameter on your selection screen so that user can enter file name with path.
After this, in your program use function module GUI_DOWNLOAD to download this report to specified location.
You need to pass your output internal table to this function module.
Check this thread, it gives code sample for Presentation server file path name as well as download functionality.
Hope this helps.
PS: If you just want to save report output, from output screen then see this thread.
Message was edited by: