cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic configuration through UDF

Former Member
0 Kudos

Hello Experts,

My scenario is proxy to sftp. I am also using message transform bean for content conversion.I wanted to use variable substitution ,but since I am using message transform bean ,it will result in a channel error as it cant parse through csv file.

I went through some blogs ,where they have suggested to go for Dynamic configuration through UDF in graphical mapping.

I have managed to do that and in the receiver sftp channel I have enabled ASMA attributes and the filename parameter that I am passing is *

I can also see Dynamic configuration in the message monitor in rwb..But the receiver sftp channel is failing

Screen shot for your reference

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Screen shot of UDF ,Message monitor and MTB configuration.Please also note that I have tried with the name space

http://advantco.com/xi/XI/SFTP to fetch the file name and

I am getting MP: exception caught with cause javax.resource.ResourceException: 4:

Because I have given * as the filename in receiver SFTP channel.

Regards

Advit

former_member186851
Active Contributor
0 Kudos

Hello Advit,

Change the namespace in the ASMA(in the channel) t http://advantco.com/xi/XI/SFTP or to http://sap.com/xi/XI/System/File and try.

Keep the same namespace in ASMA and UDF.

bhavesh_kantilal
Active Contributor
0 Kudos

Regards,

Bhavesh

Former Member
0 Kudos

Thank you again Bhavesh

Former Member
0 Kudos

Thanks Raghuraman

Answers (1)

Answers (1)

juan_vasquez2
Active Participant
0 Kudos

Hello Advit

Be sure to use the same Namespace in udf and Receiver Channel

bhavesh_kantilal
Active Contributor
0 Kudos

Oops, did not notice this response from Juan.. Exactly what he has mentioned / pointed out!

Regards,

Bhavesh

former_member186851
Active Contributor
0 Kudos

If I am not wrong I also told the same.

But I believe this is the correct namespace- http://sap.com/xi/XI/System/File


Former Member
0 Kudos

Thanks Juan