cancel
Showing results for 
Search instead for 
Did you mean: 

Can I give two file names in the target Directory of the File Receiver

Former Member
0 Kudos

Can I give two file names in the target Directory of the File Receiver.

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi,

Can you tell us the exact requirement, why you need two file names in a communication channel.

Regards,

Nithiyanandam

former_member238007
Contributor
0 Kudos

HI..

Then u need to configure a seperate adapter for that..

U cannot give multiple names within a single adapter, we dont have such configurations to provide multiple names...

regards

Kishore

former_member189441
Active Participant
0 Kudos

hi,

you can't give multiple directory names or filenames in your file adapter.Can u explain what's your requirement.

Former Member
0 Kudos

Hi Aprajita

You can't give two file name in receiver file adapter. Rather you can configure either Variable substitution(If your payload decides the target) or you can configure a multi receiver scenario.

In multi receiver scenario:

  • do multimapping in IR

  • add 2 receiver in Receiver determination

  • 2 receiver communication channel

  • 2 receiver agreement

Regards

Raj

former_member238007
Contributor
0 Kudos

HI,

No, You can't use the multiple file names in the target side..

regards

Kishore

Former Member
0 Kudos

Ok..why is it so.. Can I give two different directory each with different one file name on the Receiver side? Something like we have in Sender File adapter.

Former Member
0 Kudos

Hi,

Directly you can not gave 2 different file names in the receiver.But according to your payload you can

able to create file name and directory applying "Variable Substitution" method .

Check the link..

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

Regards,

Prakasu

santhosh_kumarv
Active Contributor
0 Kudos

>>Can I give two different directory each with different one file name on the Receiver side

No... you cant...

In the sender file adapter it is polling for the file in multiple directories...

If your requirement is to post the file created by XI in multiple directories you can use the OS command to do the same..

Refer the blog By Michal Krawczyk

Case1 of this blog is all about copying the same file to multiple location using OS command...

Thanks

SaNv...

Former Member
0 Kudos

Hi,

No, you cant provide two file name in the target file name.

Regards,

Nithiyanandam

former_member194786
Active Contributor
0 Kudos

No Aprajita,

That is not possible. But you can use * and other place holders instead.

Thanks and Regards,

Sanjeev.