Skip to Content
0

Idoc xml to an external system using HTTPS URL without middleware

Jul 29, 2017 at 05:54 AM

163

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Sandra Rossi Jul 29, 2017 at 06:47 PM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

0

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

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

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.

Share
10 |10000 characters needed characters left characters exceeded
Horst Keller
Aug 01, 2017 at 03:37 PM
0
Share
10 |10000 characters needed characters left characters exceeded