‎2010 Jan 14 1:55 AM
Hi all,
in bakground processing and the data needs to be save, does the data always save to server if i choose for example
open dataset 'c:\sap2notes.txt' for output in text mode
encoding default.while i need to save the daa in client's pc.
many thanks.
aashta
‎2010 Jan 14 4:38 AM
Hi,
If the presentation server you are going to use is one for very few in number then you can check below article which describes about making your PC as a RFC destination and communicate in background. In background you can't communicate with normal PCs.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2
Thanks,
Vinod.
‎2010 Jan 14 4:16 AM
Hi,
Open Dataset will always save the contents to the Application server and not the local pc (presentation server).
Once you have saved to the Appl server, you would have to use some RFC. See more details in the IWki Blog mentioned at the following location:
http://wiki.sdn.sap.com/wiki/display/ABAP/Workingwithfiles#Workingwithfiles-Isitpossibletoworkinbackground%3F
Hope its helpful; to you.
Regards,
Mansi.
‎2010 Jan 14 4:28 AM
Hi,
The OPEN DATASET always saves the file on the application server. to save the data on the presentation server USE the remote function module.
‎2010 Jan 14 4:38 AM
Hi,
If the presentation server you are going to use is one for very few in number then you can check below article which describes about making your PC as a RFC destination and communicate in background. In background you can't communicate with normal PCs.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2
Thanks,
Vinod.
‎2010 Jan 14 9:31 AM
thanks all.
for the mean time i used background processing.
I'll ask the basis to do the 'Communication to presentation server in bacjground mode' to save the data in presentation layer.
ti'll next time.
‎2010 Jan 14 6:46 AM
Hi
Background Processing deals with Applictaion server only. It doesn't interact with presentation server.
what you can do is just create a folder on application server to get your files downloaded to app server from background and then write a separate program to download those files from application server to presentation server.
Regards
Geeta Gupta