cancel
Showing results for 
Search instead for 
Did you mean: 

FTP Receiver Adapter: Set Server, User Name, and Password dynamically.

0 Kudos

Hi all,

Is it possible to set the Server, UserName and password dinamically on the FTP Receiver adapter Adapter?

Scenario :    ECC-->PI-->FTP    (Change the username and password  on the File FTP receiver adapter depending of the WERKS value from  ECC)

if possible, could you please provide an example? Maybe using Modules, Java Proxy?

Thanks for your help.

Accepted Solutions (0)

Answers (4)

Answers (4)

rajasekhar_reddy14
Active Contributor
0 Kudos

Well you have to consider good design here chaging FTP detaials dynamically not a right idea.

Create two busines component and wirte a condition in interface determination to determine which FTP to call based on WERKS field, you can add multiple receives in receiver determination.

Developming some module soution involves lot off efforts.

0 Kudos

Hi,

I know there is a way to change the filename and directory, but my question goes directly for server, username and password. Can they be changed dinamically? If it is possible, can you provide some examples?

Thanks for your help.

Bhargavakrishna
Active Contributor
0 Kudos
baskar_gopalakrishnan2
Active Contributor
0 Kudos

You can use Variable Substitution to set the parameters. Refer this thread

http://scn.sap.com/people/madanmohan.agrawal/blog/2009/05/20/combining-three-different-aspects-of-pi...

Search SCN for variable substitution