Skip to Content
Former Member
Jul 05, 2011 at 10:18 AM

creating output as text file in background processing.


Hello Experts,

I am trying to execute an ABAP report, which creates a text file as output. When i run the report in foreground, the report executes and creates the text file as output.

However, when i run the report in the background,it doesnt creates the text file. I have scheduled this as background job to run every 5 mins. when i check SM37, the job is actually running every 5 mins and it's status is FINISHED, but it's not creating the text file as output.

I have used GUI_DOWNLOAD function in my ABAP program. I have googled and found that GUI_DOWNLOAD doesnt work in back ground processing.

Can you guys advise,

1) which function module to be used for back ground processing.

2) I have read somewhere that defining a RFC to communicate between the presentation server (desktop) and the Application server (SAP), which would help in executing the job in background. If yes, can you please guide me, how to create a RFC communication and how could i run the ABAP report in backgound process.

Appreciate your fast response.

Thanks and Regards

Arif Ahmed.

Moderator Message: Urgency downgraded

Edited by: Suhas Saha on Jul 5, 2011 4:06 PM