cancel
Showing results for 
Search instead for 
Did you mean: 

Include attachments in a xml file without using mail adapter

Former Member
0 Kudos

Hello Experts,

Is there a way to include attachments like pdf or excel in a xml file?

It is a file to file scenario in which i have to include the attachment in the output file.

Thanks and regards,

Merrilly

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can do this By using the Transport protocol as NFS

If u select ur TP as NFS means

you will be able to see One option Additional File(s)

Check wth that option

Check with this SAP-Help file

http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm

Regards

Seshagiri

Edited by: N V Seshagiri on Feb 18, 2008 1:57 PM

Former Member
0 Kudos

Hi,

I tried doing what is written in the help document. Is that the only setting that i have to do? I have kept the file in the same directory as the source file and added the name in the additional parameters, but it doesn't get picked up. How do i pick up this file?

And secondly is it necessary that it will work only with NFS? I'm trying to use FTP here. The option is available even when the Transport protocol is FTP.

How do i proceed?

Thanks and regards,

Merrilly

Former Member
0 Kudos

Hi Seshagiri,

After I tired using it for NFS protocol, this is the error I get:

*Error: com.sap.aii.af.service.util.ChainedException: Error during scan of value '“.xml“=“.pdf“ ' for parameter 'AdditionalFile1.namePart' ( format must be "originalNamePart"="additionalNamePart") - fix configuration: java.util.NoSuchElementException*

What exactly am I supposed to give here?

Thanks and regards,

Merrilly

Edited by: Merrilly Mathew on Feb 18, 2008 8:12 PM

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Check this links,

PDF

SAP Network Blog: XI: Read data from PDF file in Sender Adapter

/people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter

SAP Network Blog: XI: Generate PDF file out of file adapter

/people/sap.user72/blog/2005/07/27/xi-generate-pdf-file-out-of-file-adapter

EXCEL FILES

SAP Network Blog: XI: Generating Excel files without the Java nor the Conversion agent not possible?

/people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible

SAP Network Blog: Read Excel instead of XML through FileAdapter

/people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter

Regards,

Phani

Reward points if Helpful

Former Member
0 Kudos

Hi,

This will help you.

How to send any data from XI, without using IR.

/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository

have a look on this thread

Regards,

Sarvesh

Former Member
0 Kudos

Hi,

I think the files will be sent as separate files along with the target file according to this blog. My query is whether it can be sent as an attachment in the target file.

Thanks and regards,

nisarkhan_n
Active Contributor
0 Kudos

It is not possible to send the PDF as an attachment in another file format. At the max you can deliver them but not inside some file