Skip to Content
0
Former Member
Mar 08, 2005 at 07:44 PM

IDoc into SAP via XML and HTTP

271 Views

Hello all,

I'm trying to set up an interface in SAP Enterprise 6.20 which receives a standard IDoc via XML posted via HTTP. I have created a service in transaction SICF called xml_idoc which uses the CL_HTTP_IDOC_XML_REQUEST class. Is this all that is required for an IDoc to be sent to SAP via XML? I.e. the IDoc would be posted to http://<r3_server_ip>/sap/xml_idoc which would use the CL_HTTP_IDOC_XML_REQUEST class method IF_HTTP_EXTENSION~HANDLE_REQUEST to extract the IDoc from the XML and post it. If the above service is all that's necessary, how can I create a test harness to post XML IDocs to the xml_idoc service?

The sending system is not BC or webmethods or XI and none of those systems are available to use in the interface.

Kind regards,

Higgers.