cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc xml to an external system using HTTPS URL without middleware

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

weberpat
Contributor
0 Kudos

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.

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos
Sandra_Rossi
Active Contributor
0 Kudos

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).

Former Member
0 Kudos

Hi Sandra,

Thanks for your answer. Since the supplier has ability to handle mapping at their end, is it possible to just send Idoc xml to a https url from SAP ECC system? If yes, could you please help me with the steps to achieve it.

Thanks in advance,

Mani

Sandra_Rossi
Active Contributor
0 Kudos

When you define the IDoc port, you have to enter an RFC destination, which can be HTTP or HTTPS, as you wish.