cancel
Showing results for 
Search instead for 
Did you mean: 

How to decide Target directory dynamically?

Former Member
0 Kudos

Hi All,

I have to design a scenario wherein the sender data will have a field containing either a directory information or some kind of identifier. The receiver side is a file directory where there are multiple folders.

Ex:

/target/DirectoryStructure/

Folder1

Folder2

Folder3

.

.

.

FolderN

Now based on the sender parameter we have to decide dynamically to which folder the file has to be placed.

Ex: if Field1 value is F1 then place in Folder1

I have no idea on such an interface.

Please guide me.

Regards,

Shaibayan

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi ,

You have two options.

1)Dynamic file name configuration

2)Variable substitution .

Dynamic file name and directory in Receiver File Adapter - summary of possibilities - Process Integr...

Regards

Venkat

Former Member
0 Kudos

Hello Shaibayan,

Please refer to the thread http://scn.sap.com/thread/448214

Rgds,

Diptee

iaki_vila
Active Contributor
0 Kudos

Hi,

There are the possibility of variable substitution or using ASMA,

Check this wiki Dynamic file name and directory in Receiver File Adapter - summary of possibilities - Process Integr...

Regards.