cancel
Showing results for 
Search instead for 
Did you mean: 

Email Attachment to iDoc

Former Member
0 Kudos

Hi All,

I have a very interesting requirement and need help to complete the interface.

Requirement

1. Pickup the Email Attachment (attachment contains ORDERS05 XML)

2. Do the mapping (ORDRES05 -


> ORDERS05 with minor changes)

3. Send the iDoc to an ERP System.

AND

1. Pickup the Email Attachment (attachment contains ORDERS05 XML)

2. Send the Attachment along with the same file name to the FTP Server.

Can somebody please help me in this.

Thanks,

Iqbal

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

please use search to know to how to get attachment of email. There are several blogs / wiki...

After that, you flow is basic: 1 sender & 2 receivers: ECC + file FTP server.

So something like that:

1 sender agreement: your email with attachment.

1 Receiver determination, on which you have your 2 receivers:

1 sender email with Data in attachment --> Mapping (*) --> IDoc ORDERS05 to ECC

1 sender email with Data in attachment --> no mapping (**) --> XML file to a file FTP server.

(*) mapping: Email's attachment -> IDoc, and ECC as a receiver N°1

(**) no mapping as your target XML file which look like the email's attachment file.

regards.

Mickael

Former Member
0 Kudos

Hi Mickael

Thanks for your reply

Unfortunately your reply didn't help much.

The most important thing is that how to read the attachment. I search on sdn but didn't find any blog or wiki who showed about reading attachment.

Everyone used email adapter to send the email as an attachment but nobody used to read the attachment.

If you know and blog or any other site then please let me know.

Thanks

Former Member
0 Kudos

Hi,

i did not yet do it, but just in few minutes, you have at least that:

[Read the attachments of the input XI message in the message mapping|]

[http://wiki.sdn.sap.com/wiki/display/XI/AdapterModulePI7.0GetAttachmentName|http://wiki.sdn.sap.com/wiki/display/XI/AdapterModulePI7.0GetAttachmentName]

regards

Mickael

Former Member
0 Kudos

Hi Mickael

Thanks for sending the links.

I will try tomorrow and let you know.

In the meantime if you find any other blog or links then please forward it to me.

Thanks for your help.

Regards

Iqbal