cancel
Showing results for 
Search instead for 
Did you mean: 

File extension

Former Member
0 Kudos

Hello All,

I have scenario where I need to pick up text files from 3 different folders.

I have done the settings below:

Source Directory: /ECC/material/details

File name: .

Additional files:

/ECC/material/details1 .

/ECC/material/details2 .

But it is picking files from the folder /ECC/material/details

Also I need to create the target XML files with the same name as created by the Seneder. I have selected ASMA and the files are created with the same name but the files are not created with xml extension.

Please suggest if any steps are missing

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

madhusudana_reddy2
Contributor
0 Kudos

Hi Prabhu,

Use Advanced file selection instead of Additional files to pick the files from multiple directories.

Additional files is to pick the files as attachment.select file name under

Use advanced specific message attribute in sender channel and receiver channel, If your source directory having files

with .txt extention then target files also will contain .txt extention.

To make the target files as XML use dynamic configuration UDF in message mapping.

thanks,

madhu

Answers (2)

Answers (2)

former_member556603
Active Contributor
0 Kudos

Dear Prabhu,

We can achieve through in File access parameters under ( Advanved Selection of Source file )

Please find the below wiki with screen shots:

File Sender Adapter - Polling Multiple Directories

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

http://help.sap.com/saphelp_sm40/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm

Regarding ASMA:

Thanks,

Satya Kumar

Former Member
0 Kudos

Hi,

Plz chk this:

/people/piyush.mathur2/blog/2009/12/16/problem-of-plenty-multiple-file-to-multiple-file-via-pi

/people/pavan.kumar110/blog/2009/08/05/processing-multiple-files-in-source-system-and-target-system

Thanks

Amit