cancel
Showing results for 
Search instead for 
Did you mean: 

regarding file adapter.

Former Member
0 Kudos

hi experts,

can we have multiple target directories in receiver file adapter.

how can we manage to send some type message to some specific directories.also the requirement is "if target is not there it should create the target directory" how this is possible.

can we use Best Effort with receiver file adapter.

another requirement is to accept multiple types of files as the input(.doc,.xls,.csv,.txt,.pdf ,.... and send to target systems thru XI. how can we do this.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

If you have multiple directories in the target side then we have to create more number of communication channels.

send some type message to some specific directories then we have to mention the condition at the receiver determination, if so and so condition satisfies then goto that particular communication channel.

At the communication channel we have one check box available that is, create the target directory, If targert directory is not exists, then it creates the directory at the target side.

In the sender side file name if you give . then it picks all the files.

To send any data through XI, follow this link

Former Member
0 Kudos

hi

my requirement is to accept .doc file or .pdf file or .csv file and convert them in to xml format and in the target side we need to put the file in .pdf format.

how can we configure this and how can we get this with one scenario

former_member189441
Active Participant
0 Kudos

Hi,

You can receive any type of file by giving

  *.*  

as the file name field in File sender adapter.

If you want to receive and covert the pdf files this blog will give you clear idea to do that

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9913a954-0d01-0010-8391-8a307644...

0 Kudos

1. Yes you can have multiple Target directories but you may have to use multiple Communication channels and have a routing condition to use the appropriate channel for specific conditions.

2. You cannot use a BE on receiver file adapter. However u can think of other workarounds to acknowledge the file creation - like use anothe interface which will look for this file etc...

3. use <filename>.* or . to use any type of file type. But however you need to be careful in defining a proper and consistent Content conversion to xml in the Sender channel else it will fail.

hope this helps,

Karthik

Edited by: Karthik Rangaraju on Sep 22, 2008 3:36 PM

Former Member
0 Kudos

i dont think u can have BE in file adapter.

to accept any kind of file, you simply put .

for your first requirement, you must use receiver detarmination with a condition.

Thanks

Kiran