cancel
Showing results for 
Search instead for 
Did you mean: 

XI System should pick up 5 five files which are in 5 different folders

Former Member
0 Kudos

Hi Friends ,

I have a file to file scenario in that the xi system should pick up 5 files which are in 5 different directories in a single point of execution.

What are the things I can do to solve the issue.

Please provide me answer with screen shots if possible.

Regards

Raj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

@ puneet I didnt suggested to use Additional Files in the Sender File Adapter

Hi Raj

Hope this link helps you

[http://wiki.sdn.sap.com/wiki/display/XI/FileSenderAdapter-PollingMultipleDirectories]

Answers (9)

Answers (9)

Former Member
0 Kudos

Thanks for all .

I got the issue solved

Regards

Raj

Former Member
0 Kudos

Hi Friends,

The scenario looks like this

Sender system

folder1--->file1

folder2--->file2

folder3--->file3

folder4--->file4

folder5--->file5

These files should be posted to a single target system.

Please give me some more tips to achieve this

Thanks in advance

Regards

Raj

Former Member
0 Kudos

Can you detail further why the solution provided on the Wiki page below didn't work (solution provided by Karthik)?

http://wiki.sdn.sap.com/wiki/display/XI/FileSenderAdapter-PollingMultipleDirectories

balaji_pichaimuthu
Active Participant
0 Kudos

Hi Raj,

Check out the below link,

http://wiki.sdn.sap.com/wiki/display/XI/SingleSenderFileCCForMultipleDirectories

Regards,

Balaji

Former Member
0 Kudos

Raj,

Either you can write an OS command to move all the files to a single source directory and can use one File sender CC.

Else, you need to configure 5 File CC's.

Futher, if you need to collect these files and merge then you have to use BPM.

Former Member
0 Kudos

@karthik, Sandeep: We cant use Additional Files in the Sender File Adapter in this requirement as to pick the additional file all the files should be in the Source Directory.

Following are the prequisite for using this feature (http://help.sap.com/saphelp_nwpi71/helpdata/en/44/692ab8a4b633eae10000000a1553f6/frameset.htm) :

Prerequisites

● You have set the Additional File(s) indicator in the sender file adapter.

● The additional files must be in the Source Directory.

● The way that the files to be transported are grouped together is defined by the file names. All file names must be identical except for a defined part (such as the suffix).

● You will find additional files as an attachment in the message under the name assigned in the file list.

Former Member
0 Kudos

Hi Raj

Use Advanced Selection of Source File in your sender communication channel and give other 4 file directories and under File name mask give the file names

I In this case make the following changes in your Receiver Communication Channel

Goto Advanced tab,under Adapter-Specific Message Attributes Click on Use Adapter-Specific Message Attributes check box and also check File Name and Directory checkboxes

This will surely help you as I had same scenario and it worked successfully..!!!

Thanks

Karthik

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

I have a file to file scenario in that the xi system should pick up 5 files which are in 5 different directories in a single point of execution.

Create 5 file sender cc and then use availability time planning (see blog below)

/people/deepak.shah/blog/2010/03/29/polling-vs-atp-in-sap-pi

With regards to the approach above, if you will be merging the files, you need to use BPM.

You could also try to use a Unix script to collect the files and avoid BPM altogether, but let's wait for other answers

Hope this helps,

Mark

Edited by: Mark Dihiansan on Apr 1, 2011 11:32 AM

Former Member
0 Kudos

Hi raj

In File sender channel there is an option of additional files where u can specify extra files which needs to be picked

Regards

sandeep

Former Member
0 Kudos

Hi Raj,

explain your scenario like... what exactly you want to do with files by picking at one time.. do you want to combine the data.. or what is the requirement.?

Like is you have five different files and five different location then you need to have 3 different File sender communication channel.

Thanks,

Bhupesh