09-11-2008 6:05 PM
Hello experts,
I need to upload text file in background mode from the network folder. Could any one you suggest the possible approach.
I have already tried the below options and both doesn't work:
1. GUI_UPLOAD--- which does not work in back ground mode
2. OPEN/READ DATA SET---- which only works for the files in appliactoin server.
both of the above options doesnot work for me because the limitations described above.
Please suggest me any other possible approach.
Thanks in advance,
Mahamood.
09-11-2008 6:25 PM
09-11-2008 6:25 PM
09-11-2008 6:26 PM
network folder also similar to Presentation server , so it is not possible to upload in background mode.
check this...
09-11-2008 7:44 PM
Hello vijay,
Thank for the information you have provided, let me check the proposal and i will get back to you.
Regards,
Mahamood.
09-17-2008 8:23 PM
Hello vijay,
The FM which is used in the documentation is 'RFC_REMOTE_FILE' which is not existing in the dev system. would you please validate the FM? is it common FM which should be present?
Regards,
mahamood.
10-14-2008 4:55 AM
hi mahamood,
did you got the solution .
If so ,can you please post the steps how you schieved this functionality.
thanks in advance.
sastry.
10-14-2008 6:15 PM
Hi sastry,
I have asked my basis admin to set up a file variable and the sap user should have access rights for read to this network folder. Once this file variable is set up i just need to add an extra coding to get the absolute path using the FM FILE_GET_NAME_USING_PATH and then OPEN DATASET and READ DATASET for reading the data form the network file.
Please let me know if you need any more info for the same.
Regards,
mahamood.
10-15-2008 2:55 AM
hi mohamood,
correct me if i'm wrong ,
the network folder file also like presentation server file ,then how these OPEN DATASET and READ DATASET works for reading the data form the network file.
09-11-2008 7:21 PM
Hi,
You need to copy the file into the application server then access by using the DATA SET Commands.
Regards
Kiran