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: 

Downloading error file into the spool in the back ground process

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

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

arindam_m
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Dear Expert,

The issue has been solved and thanks for all the inputs and help.

regards

ranjan