cancel
Showing results for 
Search instead for 
Did you mean: 

Placing the file in the Dynamic folder

Former Member
0 Kudos

Dear All,

We are having the some requirment like.

We developed one Adaptermodule to pick up the Excel sheet and reads and create one file for each sheet. These files are placing in one Target folder.

Here we are developing the one more communication channel to pickup the file from this folder and trying to place the file in the particular folder based on the File name.

Now my requirement is we need to place the file in the Target folder based on the File Name.

For ex if the File name is INT0001.txt then we need to place this file in usr\sap\450\in\INT0001\ folder and

if the file name is HIRING.txt then we need to place the file in usr\sap\450\in\HIRING\

if the file name is INT009.txt then we need to place the file in usr\sap\450\in\INT009\

Here we are not using any IR objects in this development.

Please give any suggistions to solve this problem.

Regards

Goli Sridhar

Accepted Solutions (0)

Answers (2)

Answers (2)

prateek
Active Contributor
0 Kudos

This could have been possible using dynamic configuration while mapping, but you are not using IR. You may try with the dynamic configuration in adapter module then directly.

/people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules

Regards,

Prateek

Former Member
0 Kudos

Hi,

Try Variable Substitution method.Refer the link for use of Variable Substitution..

[http://help.sap.com/saphelp_nw70/helpdata/EN/bc/bb79d6061007419a081e58cbeaaf28/content.htm]

In file access parameter you should select create target directory.

you should have read,write access for creating folder.

Regards,

Prakasu