‎2010 Jun 04 10:19 AM
Hi guys,
I have implemented a FM that uploads a *.xml file to an internal table.
If i execute it in SAP it works, but i would like to call that FM outside SAP via web service.
I have created and published a web service that calls this FM and i'm tryiing to execute it via soap UI and it's not working.
I have debugged the FM when it's called from soapui and i can see that the exception is being trhowed in the method cl_gui_frontend_services=>gui_upload.
Any idea?
Thanks
Jon
‎2010 Jun 04 10:29 AM
Hi Jon,
In webservices GUI_UPLOAD will not work, since it is a GUI function module or method. Alterantively you can upload XML file as a string data into application server, there after u can upload the data into desired place by scheduling Event trigger job.
Thanks and Regards,
‎2010 Jun 04 10:29 AM
Hi Jon,
In webservices GUI_UPLOAD will not work, since it is a GUI function module or method. Alterantively you can upload XML file as a string data into application server, there after u can upload the data into desired place by scheduling Event trigger job.
Thanks and Regards,
‎2010 Jun 04 10:41 AM
Hi,
GUI_UPLOAD will not work in the background. So you need to put the fie in the application server and try with the OPEN DATASET.
~Vaas