on 04-01-2011 10:38 AM
Hello All,
Here I have a requirement like I need to generate 4 output files based on some field value which comes from source.
And the mapping is object is same for all the 4 files. where can I mention the conditions ?
Regards,
Moorthy
HI Moorthy
you want to send that 4 file to different location or you want to send that to single location.
if you want to send 4 different files to four different location then you can provide condition in receiver determination and your xpath condition.
explain your scenario so that we can provide you best suitable solution.
Thanks,
Bhupesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Bhupesh,
There is an identifier field in the source message.
As per that field, If the Identifier is US credit daily then PI has to create US1output.txt
If the Identifier is US debit daily then PI has to create US2output.txt
If the Identifier is UK credit daily then PI has to create UK1output.txt
If the Identifier is UK debit daily then PI has to create UK2output.txt
The mapping is same for all the files.
Regards,
Moorthy
Hi Moorthy,
so at a time you will create one of the file .. am I right? but just need to decide which file you want to create..? am I right?
if yes.. you can use Dynamic file name and can decide the file name in mapping..
provide the logic to create dynamic file and put your condition on filenames.. and pass that filename to UDF and it will create only one file. depending on the condition.
For dynamic file name:
http://wiki.sdn.sap.com/wiki/display/Snippets/UsingDynamicConfiguration
Thanks,
Bhupesh
explain your scenario and need of condition?
Thanks,
Bhupesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.