cancel
Showing results for 
Search instead for 
Did you mean: 

How to set FTP parameters through Module Processor?

Former Member
0 Kudos

Hi

We read parameters set in the communication channel of an adapter through method getSupplementalData("module.parameters") of com.sap.aii.af.mp.module.ModuleData.

I have following question regarding reading/writing configuration data, set in communication channel for a File adapter:

1) How can I read the FTP Connection Parameters in a module of a module processor?

2) Is it possible to update FTP parameters at Module Processor level for Receiver Adapter?

3) If update of parameters through Module Processor is not possible, then is there some other way I can set the FTP parameters?

Regards

Vijendra

Accepted Solutions (1)

Accepted Solutions (1)

moorthy
Active Contributor
0 Kudos

HI Vijendra,

Check out this -

https://websmp202.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=011000358700000002...

https://media.sdn.sap.com/SDNTV/main.asp?mediaId=130

<i>2) Is it possible to update FTP parameters at Module Processor level for Receiver Adapter?</i>

You can not dynamically determine the FTP server etc. In the Receiver Adapter, Module is called first, then control is given XI Adapter to output the file into FileSystems. You can modify the Payload.

For more~

http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/5af7c0c994e24fb0d0088443513de2/frameset.htm

Hope this helps,

Regards,

Morothy

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Moorthy

I am aware about use of Module Processor. Also I am not doing any FTP determination.

But with your response are you suggesting that we cannot modify the FTP Parameters in module but just modify the Payload?

Thanks

Vijendra

Former Member
0 Kudos

HI Vijendra,

The only thing in File adapter (receiver) that you give dynamically is the File name.

Apart from this you can access parameters related to Adapter-specfiic message attributes in the sender file adapter. But this only if you need to send this info in mapping. YOu cannot use this parameters to change value specified in the receiver file adapter.

Regards

Vijaya