06-26-2013 11:59 AM
Dear expert,
I have a report whose error file is being displayed in alv format. but this alv format for error file need to be downloaded into spool. the program is running in the back ground.what should be the code for downloading the error file into the spool.
regards
Ranjan
06-26-2013 1:07 PM
Hi Ranjan,
If the program is running in the background then the batch jobs settings can be used to send the output to the spool. There shouldn't be a need to program this, if you are using an ALV control there are parameters you can set to enable this to work in a background job.
regards,
Nick
06-26-2013 1:37 PM
Hi Nick,
thanks for the early reply. I am using the class CL_SALV_TABLE to display the output in the ALV format for errors when I am running the program in the foreground.but when i am reading the data from the application server, that time if any errors happens, then that error need to be downloaded into spool. can you please suggest which parameter shall i use in the class CL_SALV_TABLE in order to get the desired result.
Thanks and regards
Ranjan
06-26-2013 3:26 PM
Hi Ranjan,
I did a google search using "CL_SALV_TABLE background" and found some relevant advice. You may wish to do the same.
Regards,
Nick
06-26-2013 1:28 PM
Hi,
You can execute the program via SUBMIT statement. Check the following options in the link.
http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_LIST_OPTIONS.htm
The other option might be to download the the data using OPEN DATASET options
http://help.sap.com/saphelp_40b/helpdata/EN/34/55cad198482bc0e10000009b38f91f/content.htm
Cheers,
Arindam
07-08-2013 11:37 AM
Dear Expert,
The issue has been solved and thanks for all the inputs and help.
regards
ranjan