on 11-19-2012 10:36 AM
Hi experts,
Can any body tell me how to pick up multiple files in single directory.
Thanks
N.Madhu
Hi Madhu ,
You can use the Advanced selection of source file for picking up the files from same source directory with different extensions or with different names.
You can have *.xml, *.txt like that. For this you need to tick the advanced selection of source file in the Sender file Channel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhu,
Can you be a little more specific on your requirement ?
Is it like you would have a single folder where the files will of different name. If this is the case, then you can use the * symbol to pick all the files.
In case you get file names as text01, text02, text904, text744, etc. then you can use the filename as text* in your communication channel which will pick all the file names that starts with text.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhu.
At first you should use the FILE adapter.
Check the SAP.help documentation:
http://help.sap.com/saphelp_nwpi71/helpdata/en/44/655453b48a4ddfe10000000a1553f7/content.htm
4. Specify the Source Directory containing the files to be processed.
You can either specify the entire name or a name relative to the working directory of the Adapter Engine. On all platforms (including Windows), use a forward slash (/) to separate directory names in accordance with the Java specification.
- Specify the File Name of the file to be processed.
If you want to specify multiple files, you can use placeholders in the file name and enter file name masks. Use exclusion masks to exclude particular files from the selection.
More information: Defining Placeholders, File Name Masks, and Exclusion Masks
As the documentation said, you can use name masks, as *.* for example
To exclude files check Mickael Huchet's blog http://scn.sap.com/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-...
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.