Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Sending IDOC-XML in Email without XI/ PI

Former Member
0 Kudos

Hello,

we have following scenario: A sales order should be sent as IDOC in XML-Format via Internet Mail.

As we don't have complex scenarios there is no XI/PI involved so far.

The IDOC is created as message in the order and the file is saved as XML on the server. Everything is fine so far.

But I'm stuck here. In WE21 i can enter a RFC-destination and a command file to trigger the output. I guess thats the correct way to define a RFC-call to send the file.

Are there already function modules or classes to perform that? How do i set up the RFC-destination?

Thanks

Andreas

1 REPLY 1

Former Member
0 Kudos

Hi,

Please check below link to convert SAP Idoc into XML files and save the same in SAP server:

http://www.saptechnical.com/Tutorials/ALE/IDOCToXML/IDOCToXML.htm

Then thru ABAP program, files can be picked and can be sent to FTP server.

Reg,

NJ