on 05-11-2011 6:13 PM
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.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.