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: 

Problem in Background Job

Former Member
0 Kudos

Hi Experts,

I am creating XML Files through ABAP Program.

If i execute this program in foreground it is creating all the XML Files in presentaion server,

but if i execute the same program in background it is executing the program succesfully and job staus is finished, but not creating files in Presentation Server.

Can you pls help me friends.

Thanks in Advance,

Murali Krishna K

1 ACCEPTED SOLUTION

former_member181962
Active Contributor
0 Kudos

Which Function Module are you using to download the file?

Refer this link to know how to download a file in background.

http://www.sap-img.com/abap/download-in-background-in-excel-format.htm

REfer this link to know more abt your problem:

http://www.sap-img.com/ab004.htm

REgards,

Ravi

4 REPLIES 4

Former Member
0 Kudos

Hi Murali,

You cannot save files on your PC with background jobs..

You have to store them on SAP directory...

Mike

Former Member
0 Kudos

Hi Murali,

When you are executing the program in the background the file will be stored at the application server.So you have to write the code to fetch the file from the application server to the presentation server.

former_member181962
Active Contributor
0 Kudos

Which Function Module are you using to download the file?

Refer this link to know how to download a file in background.

http://www.sap-img.com/abap/download-in-background-in-excel-format.htm

REfer this link to know more abt your problem:

http://www.sap-img.com/ab004.htm

REgards,

Ravi

Former Member
0 Kudos

Check whether you have ticked the option 'Test run' while in backgroun processing!! If its checked ..just uncheck it!!

Regards,

Amiya