‎2007 Oct 29 7:35 PM
Is is possible to use FM GUI_UPLOAD in a batch program? I am thinking about a program that will grab, one by one, every csv file in a particular directory and processing them (entering orders). How would one use this FM in a batch process?
Regards,
Davis
‎2007 Oct 29 7:37 PM
No, u can use this only in foreground not in batch mode. in batch mode you will have to use open dateset statement.
A
‎2007 Oct 29 7:37 PM
No, u can use this only in foreground not in batch mode. in batch mode you will have to use open dateset statement.
A
‎2007 Oct 29 7:37 PM
‎2007 Oct 29 7:38 PM
No ,You should not use GUI_UPLOAD if the file from application server( Unix directory).
You should use open dataset command.
Please press f1 on open dataset -> here you get good documentation.
Thanks
Seshu
‎2007 Oct 29 7:39 PM
Hi Davis,
Are you running the batch program in background mode with FM GUI_UPLOAD?
If you are then you can not use FM GUI_UPLOAD. You need to use OPEN DATASET statement.
If you are running online perhaps you can ...
Regards,
Ferry Lianto
‎2007 Oct 29 7:43 PM
Generally considered impossible, but apparently not. Please see:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2">Comunication to Presentation Server in Background Mode</a>
But I've never heard of anyone actually implementing this, so I don't know if it really works.
Rob
‎2007 Oct 29 8:06 PM
Thanks to all who responded. I didn't think that the FM would work in background but I wasn't sure. Thanks again!
Davis