cancel
Showing results for 
Search instead for 
Did you mean: 

Pick one .txt File and multiple .pdf files from SFTP to Proxy and NFS

Former Member
0 Kudos

Hi,

I have a requirement to send one tab delimeted .txt file from sftp to a proxy in SAP and at the same time send multiple .pdf files from same SFTP server to NFS File application server.

Also ,File content conversion will be applied on .txt file.

How can we acheive this ?

If we use advanced source file selection option in sftp adapter ,will it be like this that FCC get applied to tab delimeted .txt file only ,not on pdf files.

Please help

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member190293
Active Contributor

Hi!

"Additional files" parameter works quite well using SFTP adapter as Manoj has already mentioned:

But it might be hard to implement in your case since addtional files are taken using the mask (typical case - the same name and the different extensions) and ALL additional files should be defined at configuration time in adapter settings. Moreover, you can't save attachments using NFS mode for receiver File adapter.

What is the linking scheme for your source files? How should sender adapter realize which .pdf files are to be taken along with main .txt file?

Regards, Evgeniy.

manoj_khavatkopp
Active Contributor

Piyush,

Yes ,you can use Aditional files in SFTP as well , the FCC is applied to the main payload only and other files mentioned will come as attachment.

Br,

Manoj

apu_das2
Active Contributor
0 Kudos

Evgeniy,

You are correct. I thought the txt and pdf are related.

apu_das2
Active Contributor
0 Kudos

Additional file concept is applicable in case of NFS only.

You can segregate your requirement into 2 parts -

1) SFTP -> PI -> NFS (Pass Through scenario ) --- This will pick your txt and pdf files from SFTP and put into AL11 directory.

2) NFS -> PI -> Proxy -> Pick your txt file, do FCC, mapping and push into inbound proxy.

former_member190293
Active Contributor
0 Kudos

Hi Apu!

In case you doesn't have to combine .txt file with .pdf files in one message based on any condition, there is no need to use separate configurations. You just set "Advanced Source File Selection" to get both .pdf and .txt files from SFTP location, for example, and use Receiver Determination to set appropriate receiver for message using "FileName" ASMA attribute's value.

Regards, Evgeniy.