cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle additional files.

Former Member
0 Kudos

Hi,

In PI we can pick up additional files in the Sender File Adapter.

My scenario would require to pick up invoice1.txt and and invoice1.jpg (the .jpg is the additional file)

I need to get FCC for .txt file, map it, and send it out to R3 with a proxy.

The additional file should go to a share (also on the R3, and then be accessible via a link)

Is this possible?

What configuration is needed to separate the .txt from the .jpg? Would it require BPM?

Any useful pointers/documents on the subject would be appreciated

kr

Robert

Accepted Solutions (0)

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

use the NFS protocol and use the additional files option to pick the XML and JPG files.

the additional file should be the JPG so that it comes as an attachment and the XML thus the mail payload.

Former Member
0 Kudos

Thx.

However i need to know how to handle the 'attachment' once the message is in the integration Engine.

What sort of config is needed in the INtegration Directory?

kr

Robert

Former Member
0 Kudos

Hi,

No additional config required in directory.

Refer the foll. link for how to handle attachments via file adapter.

http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm

Regards

Former Member
0 Kudos

Hi,

I know how to configure the sender file adapter to pick up the additional file.

What i am looking for is how to handle it inside the integration engine, because i need to split the message from the additional file.

As mentioned above i need to send the .txt file via proxy to R3 and the .jpg file as is to R3, but it needs to go a share on the R3 directory.

file.txt + file.jpg --> Sender File Adapter --> PI / --> Proxy --> records form the file.txt

\ --> Receiver File Adapter --> .jpg

Thx

Robert

former_member854360
Active Contributor
0 Kudos

Hi,

Using Java mapping or UDF you can read attachment in Pi Mapping.

Please refer this

https://help.sap.com/javadocs/pi/SP3/xpi/index.html