Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3570

Re: Excel creation with TAB in background.

$
0
0

Hi Piyush,

 

It is not possible to download a file into presentation server (Local PC) using Front end service class or FM's. The reason behind this is, if you run a report as a background job, it may take several hours to complete. So till then it doesn't make sense to switch on the system and keep on waiting for the file to be generated.

 

And Second reason is, there are some queries that may take more that 1 or 2 hours to complete. But for each system BASIS team will be maintaining a setting which specifies MAX time limit for a query to get executed. If the query takes more time than the allotted MAX time then the program will dump. (This is the main reason for scheduling a report as a background job).

 

So SAP has not allowed to create file in local PC while running BG job.

 

There is an alternative approach that can be followed,

 

Create a file in Application Layer of the server and you can download it later.

 

Steps to be followed,

1. Use statement OPEN DATASET to write the file into Application Layer (Can be viewed using T code AL11).

2. Use transaction CG3Y / FM CACS_FILE_COPY to download the file to local PC.

 

Hope it helps..

 

Regards,

Deepan Swaminathan.


Viewing all articles
Browse latest Browse all 3570


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>