cancel
Showing results for 
Search instead for 
Did you mean: 

Send to different DIR's depending on Filename

former_member271795
Participant
0 Kudos

Hi

I have a file to file scenario which doesn't use message mapping.

What I want to do is send the file to a specific directory based on the file name

eg incoming file   <File12.dat01> will be sent to <DIR12\File12.dat01>

I've been using the adapter specific message attributes to pass through the filename

but how would I create the directory name? How can I access only part of the file name, in this case <12>

thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member200386
Active Participant
0 Kudos

Hi,

You can use Custom Adapter Module to Solve your problem.Please take look at this blog.

http://scn.sap.com/docs/DOC-46112

Thanks,

Pavan

Answers (3)

Answers (3)

0 Kudos

Hi,

You can use dynamic configuration as well as variable substitution to achieve this.Please google it,there are lots of links available over there.

Regards

Atanu

fidel_fernandez
Explorer
0 Kudos

Hi,

You could use Dynamic Configuration. There is a lot of links explaining how do this.

Regards,

Fidel.

iaki_vila
Active Contributor
0 Kudos

Hi Geooff,

You can use ASMA file name attribute for your purppose and acces to it later..

Check these threads

http://scn.sap.com/message/9886894#9886894

http://scn.sap.com/thread/136219

Regards.