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: 

Running the program which saves file in sap directory in background

Former Member
0 Kudos

Hi guys,

how to Run the program which saves file in sap directory in background? Thanks!

1 ACCEPTED SOLUTION

ThomasZloch
Active Contributor
0 Kudos

Press F8.

8 REPLIES 8

ThomasZloch
Active Contributor
0 Kudos

Press F8.

Sm1tje
Active Contributor
0 Kudos

That thought crossed my mind as well!

0 Kudos

Hi,

we're running the report in background but it's not producing output in al11...

but in foreground, it's ok...

Sm1tje
Active Contributor
0 Kudos

what do you expect people to say about this issue without any actual info, except for those two lines you wrote in your post?

0 Kudos

Hi,

sorry bout that...

what i meant was,,, we have a program that retrieves data from some tables then we want these data to be downloaded to AL11...

in foreground, the data is saved in AL11 but not in background...

0 Kudos

AL11 is a transaction, to which directory exactly are you downloading? If it is a local drive that requires a frontend connection (PC or network), then this cannot run in background.

Thomas

Sm1tje
Active Contributor
0 Kudos

Can you post (part) of the coding?

What does the job log say? Did it abort, is there a short dump....or?

We already knew the problem, but there is no way of telling what may cause it if the info is insufficient. This could be caused by several problems, but it would be more of a guess in stead of an advice.

0 Kudos

Hi Mark,

AL11 is a transaction that shows your application server something like an windows browser.

If you want to store file in your application server then you can write a code which uploads the data in to a file on application server.And you can run your code in background also.

Use function module :SAP_DATA_CONVERT_WRITE_FILE to write file on the application server.

If you want to upload file manually then use TCODE :CG3Z.

Hope this will you out.