on 12-11-2010 5:19 AM
Hi,
Scenarion : 6 files to 1 file using BPM
( 6 files are generated from the tool in a folder )
Files
abc1xyz_20101210.txt
abc2xyz_20101210.txt
abc3xyz_20101210.txt
abc4xyz_20101210.txt
abc5xyz_20101210.txt
abc6xyz_20101210.txt
Conditions
1) Sender File Adapter needs to pick the files when all the files are generated .
2) Should not pick the duplicate files
(eg : abc1xyz_20101210.txt
abc2xyz_20101210.txt
abc1xyz_20101211.txt
abc1xyz was repeated 2 times , ignore the file before file is picked.
ponints will be awarded
Thanks
> 1) Sender File Adapter needs to pick the files when all the files are generated .
Hi,
There is no option in Sender file Adapter for "pick the files when all the files are generated"
Have you planned what are the steps BPM should have? Because we assumed that you already designed BPM and your query is just to eliminate Duplicated files in BPM.
Please lets know whether our assumption is correct or not?
Regards,
Jag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the below link, will give you some idea to proceed
http://www.saptechnical .com/Tutorials/XI/BPM/Fork1.htm
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As Arun said you can do it in BPM(because you alreayd decided to use ccBPM) but i don't think its possible without Transformation.
If you want to discard duplicate files in SAP PI in your scenario you have to use Transformation.
Regards,
Jag
Edited by: jag on Dec 13, 2010 2:08 PM
Edited by: jag on Dec 13, 2010 2:09 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no settings available in sender adapter to stop picking duplicate files.
Try to control it from the sender application itself. Another option is be to ignore these duplicate messages in the ccBPM instance.
arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I prefer these kind of check can be easily done by the sender system or tool while generating those files itself..
that is during the generation of file if the file already exists then overwrite the content or delete the existing file and create new file...
other option can be..using OS scripts to validate the file name till 4 characters..read the file name and take first four chars and compare it with the all other files...
I cannot provide the exact code but check with some scripting guys..I think the above logic can be achievable..
HTH
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.