cancel
Showing results for 
Search instead for 
Did you mean: 

Query running backgroup how to download result to specified directory?

Former Member
0 Kudos

Hi Expert,

according to the current business requirement, I have create a query via SQ02 AND SQ01 and it runs smoothly, but now the user want to run this query periodically every 10 mins and want to write the result into spicified dirctory in the desktop.

I write a ABAP code in the query and use the function module GUI_DOWNLOAD, it works in online execution, but when I schedule this query as background, the system can not download the result into specified directory and the system prompts error:FES--022.

do you have any good idea?

thank you in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

xioliu,

I don't think that is possible as long as it is executed in the background. Options for the background will be 1) to send an e-mail from the program with attachment, or 2) save it into SAP Server and pull that via ftp into whatever the server the user has access to.

Cheers,

Akio