cancel
Showing results for 
Search instead for 
Did you mean: 

Hi , i have a xml file coming from proxy. i need to place that file into two different directory according to the file filed value is = I or = S....if it is S then to one directory else to other directory....how to do it in SAP PI

Former Member
0 Kudos

Hi , i have a xml file coming from proxy. i need to place that file into two different directory according to the file filed value is = I or = S....if it is S then to one directory else to other directory....how to do it in SAP PI

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186851
Active Contributor
0 Kudos

Hello Varun,

Do a split in Interface determination and configure two channels.

If condition is I means first channel

If condtions is S means second channel.

Let us know if you get any doubts.

Ryan-Crosby
Active Contributor
0 Kudos

Hi,

You can use dynamic configuration just like for dynamic file naming to indicate which directory should be used based on a field value in the payload.  The only thing that is different is the key name is Directory instead of FileName and in the communication channel you would make sure ASMA attributes are selected and the path parameter has a value of passdirectory.

Regards,

Ryan Crosby