‎2009 Jun 22 3:58 PM
Hi,
How do I post an http request in order to receive an xml file or xml information?
Thanks.
‎2009 Jun 22 4:01 PM
Hi Abel,
Try using Function module SCMS_HTTP_GET_FILE.
Regards,
Babul.
‎2009 Jun 22 6:21 PM
Also... you can check the CL_GUI_HTML_VIEWER class...
Regards,
Diogo Carvalho
‎2009 Jun 22 9:15 PM
HI, it did not worked, I really need to access the web service and import the content of the XML data into SAP.
Thanks.
‎2009 Jun 22 9:21 PM
You need to consume the webservice. Follow these steps: [Consuming a Webservice|http://help.sap.com/saphelp_nw70/helpdata/EN/46/97218e79f115eae10000000a114a6b/frameset.htm]
Regards,
Naimesh Patel
‎2009 Jul 28 12:28 PM
you can use cl_http_client class or if its a webserivce you can use the other method suggested by other. for code sample on cl_http_client , search this forum, there are quiet a few code samples posted earlier
‎2009 Aug 21 6:47 PM
if you want to get form data use get_form_fields method in IF_HTTP_REQUEST.