10-08-2008 5:16 AM
Hi experts,
Is it possible to upload data from local drive(presentation server) to sap in background mode.
As I know ,in the background mode we can upload files from application server only.
but here my functional consultant saying they did upload data from local drive to sap in background mode.
i wanted to know the possibility of this.
thanks in advance.
sastry.
10-08-2008 5:37 AM
Now think.. you have shut your system and gone home.... the program is being executed in background.....
whose 'C' drive will it look for ???? And even if you are online... again whose 'C:\dummy.txt' will it look for? unless and untill you have a program in your application server, which can access a particular system to get the file...this requires some ALE settings.... its not impossible.... but at the same time not an option...
If there are no settings to access the file then you get the exception 'NO_BATCH' when you run the program which tries to access a file in the local workstation...
Regards,
Madan...
10-08-2008 5:24 AM
10-08-2008 5:37 AM
Now think.. you have shut your system and gone home.... the program is being executed in background.....
whose 'C' drive will it look for ???? And even if you are online... again whose 'C:\dummy.txt' will it look for? unless and untill you have a program in your application server, which can access a particular system to get the file...this requires some ALE settings.... its not impossible.... but at the same time not an option...
If there are no settings to access the file then you get the exception 'NO_BATCH' when you run the program which tries to access a file in the local workstation...
Regards,
Madan...
10-08-2008 7:07 AM
thank you for your response .
I wanted to know that how to write excel file to the application server .
sastry
10-08-2008 7:11 AM
10-08-2008 7:13 AM
>
> I wanted to know that how to write excel file to the application server .
Just place a search with term excel file to the application server you will got 1036 results on same
10-08-2008 7:16 AM
Hi..
in ur file path give the file extension as '.xls'..
eg..
if w_filepath is your file path,,
then...
w_filepath = /erp/interface/dummy.xls.
OPEN DATASET w_filepath FOR OUTPUT IN TEXT MODE .
regards,
Madan...
10-08-2008 9:18 AM
Thanks for your replies.
I'm using file from application server .
sastry.
10-08-2008 7:14 AM
the settings should be maintained in all the systems who ever running. it is lengthy process. better load the documents to application server and use open dataset and read .
10-14-2008 2:47 AM
hi everyone,
here the client is insisting to use the localfile/presentation server file in back ground mode.
So please suggest the possib le way.