cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy with attachment to FTP

Former Member
0 Kudos

Hi,

I have a scenario, at the sender side the ECC system will send the file as an attachment and via PI I have to place that file on FTP using FTPs adapter.

I am not getting what structure should I create in PI for sender proxy,shall I put a single field, in which attachment will be passed from sender ECC system.and then what settings I should make to place it on FTP with the same name.

Please guide me.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ruchi,

We had a similar scenario and this is what was done.

1. In IR, create a simple structure with a field that is a carrier for the filename. Dynamic configuration is employed here for storing the filename.

2. The ABAP proxy would send the message such that there are 2 parts in the Inbound Message Payload : 1. The flat file that has to be sent to FTP, 2. the structure that was created in IR (with the filename field populated).

3. Receiver FTP channel settings :

1. Enable ASMA settings to access filename via Dynamic configuration.

2. Use payload swap bean to place the flat file in the FTP server. ( Parameters : swap.keyName as Content-type and swap.keyValue as text/plain).

Hope this answers your question!