Skip to Content
avatar image
Former Member

Idoc xml to an external system using HTTPS URL without middleware

Hi Experts,

I have a requirement to send Orders05 Idoc xml from SAP ECC system to an external supplier system. Supplier actually needs a cXML and they will handle Idoc xml to cXML mapping at their end. They want us to send Idoc xml to their https url. We do not have a middleware in our landscape.

Is this scenario achievable?

If yes, can someone please help me with the steps to achieve this.

What are the pro's and con's of this approach?

Thanks,

Mani

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jul 29, 2017 at 06:47 PM

    Select a port of type XML HTTP (transaction code WE21), and implement the BAdI IDOC_XML_ENVELOPE_OU to transform the XML from format IDOC XML to format CXML (according to me, the more structured way for transforming the XML is to create an XML transformation via the transaction code STRANS and calling it from ABAP using CALL TRANSFORMATION statement ; search SCN/web for more information).

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 03, 2017 at 09:03 AM

    Easily achievable.

    • Define an HTTP(S) connection of type G in T-Code SM59, specifying the HTTP destination provided by your external partner as well as any logon credentials or proxy settings that might be needed.
    • Define a port of type XML HTTP in T-Code WE21 and point it to the destination you created in the previous step
    • In your WE20 profile, point your outbound IDoc configuration to the new port

    That's it, you're done.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 01, 2017 at 03:37 PM
    Add comment
    10|10000 characters needed characters exceeded