2012 Nov 21 8:56 AM
Hi Experts,
I have requirement , where i need to upload files in background and the data must be read from a USB drive. For the background upload i kept the files on application server one of the local drive and it is working fine , but as i told want to upload files from the USB drive but i could not able to achieve this.
-- Is that possible to upload files from the USB ??? How can i achieve this???
Kindly help me.
Thank you!!!
Srini
2012 Nov 21 9:23 AM
Just use GUI_UPLOAD method from CL_GUI_FRONTEND_SERVICES.
In the F4 it will show the Drive right and Also if the USB drive is static you can hardcode the data
CL_GUI_FRONTEND_SERVICES
check Directory exists
check File Exists
then use this.. Hope this helps..
2012 Nov 21 9:28 AM
Hi Venkat,
If i use the CL_GUI_FRONTEND_SERVICES i could not run the program in background.
Thank you for reply.
Regards,
Srini
2012 Nov 21 9:33 AM
Yeah just check your question again.. In background we cannot do that. NO_BATCH exception will be raised. Sorry about that.
2012 Nov 21 9:36 AM
2012 Nov 21 9:36 AM
Hi Experts,
I have requirement , where i need to upload files in background and the data must be read from a USB drive. For the background upload i kept the files on application server one of the local drive and it is working fine , but as i told want to upload files from the USB drive but i could not able to achieve this.
-- Is that possible to upload files from the USB from application server ??? How can i achieve this???
Kindly help me.
Thank you!!!
Srini
2012 Nov 21 9:40 AM
2012 Nov 21 9:49 AM
2012 Nov 21 10:04 AM
Hi Venkat,
Thank you again for your reply...
This one actually want i want to do initially , But we have some problem with our client , some kind of Auth issues. So could not Opt for this :-(.
Thank you..
Regards,
Srini