cancel
Showing results for 
Search instead for 
Did you mean: 

File Adapter : Removing prefix from file name without using mapping

0 Kudos

I have a File to File scenario where i want to remove prefix from my file name without using Mapping or UDF ,

For Example : At sender i have file xyz_filename.txt , and at Receiver i want filename.txt.

I am using SFTP adapter at both sides .

Please Suggest .

Accepted Solutions (0)

Answers (4)

Answers (4)

praveen_sutra
Active Contributor
0 Kudos

hi Ankit,

You can use similar scenario with alteration for same issue.

Hope it helps,

thanks and regards,

Praveen T

former_member182412
Active Contributor
0 Kudos

Hi Ankit,

If you want to write your own adapter module and change the file name then check below wiki.

Dynamic file name in a File to File pass through scenario - Code Gallery - SCN Wiki

Regards,

Praveen.

iaki_vila
Active Contributor
0 Kudos

Hi Ankit,

If you have ESR development, according your post it seems that you are using it, you can use dynamic configuration and the ASMA properties in the receiver side. Check this thread to use the right namespace http://scn.sap.com/thread/3178909

Regards.

former_member184720
Active Contributor
0 Kudos

I don't think you can simply achieve it with standard adapter configuration.

Either write an adapter module/Java mapping to set the file-name dynamically.

Dynamic file name for pass-through scenario - Process Integration - SCN Wiki