11-17-2010 4:01 PM
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
04-08-2013 7:49 AM
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