on 02-25-2009 12:46 PM
Hello
I have a requirement that how can One sender communication channel pick two file from two location.Both the file has same name...How to configure the one receiver communication channel.i dont have any IR,no mapping..Please help me...
>
> Hello
> I have a requirement that how can One sender communication channel pick two file from two location.Both the file has same name...How to configure the one receiver communication channel.i dont have any IR,no mapping..Please help me...
use Advanced Selection for Source File in the sender file adapter.
You can specify multiple directories.
ex.
Advanced Selection for Source File
Directory -
File Name Mask
/xxx/yyy/z1 myfile
/xxx/yyy/z2 myfile
/xxx/yyy/z3 myfile
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to use advanced option for file sender, there you may provide other directory names for additional files.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
My God, hatsoff to your effort..!!
Anyways, If you want to specify multiple directories, using file name mask...
Then you can have the option as Advanced Selection for Source File in your channel...
To get more info...have a look at this help..
http://help.sap.com/saphelp_nw04/helpdata/en/ca/e7673c86d19b35e10000000a11402f/frameset.htm
Regards,
Swetha.
>
> Hello Santosh and vijay
> For sender its ok..but confused how to configure in receiver as variable substitution is not possible as i dont have any IR so dont have any reference and dynamic Configuration.please help..
Variable substitution is possible even if you dont have IR content because finally you refer to the fields in your target structure. But in case of dynamic configuration, you will need a UDF as part of your mapping to set the values.
one thing more,
do you want the same sender file name as part of your target file name?
give this a try,
in the sender adapter check Adapter specific attributes -> file name, do the same for receiver file adapter also.
and in the file name scheme just give anything.
See if the same source file name is provided in the target.
Hello Vijay
I already done the adapter specific message attribute.i am getting the file name properly.but that is nothing to do with my req.i am again clearing my problem:
i have two folder folder a,folder b.Both has the same file credit0002. i have two destination folder i have one sender and one receiver channel.I dont have any IR.How one sender channel can pick file from two location and how one receiver channel can put in two location.please help me..
>
> Hello Vijay
> I already done the adapter specific message attribute.i am getting the file name properly.but that is nothing to do with my req.i am again clearing my problem:
> i have two folder folder a,folder b.Both has the same file credit0002. i have two destination folder i have one sender and one receiver channel.I dont have any IR.How one sender channel can pick file from two location and how one receiver channel can put in two location.please help me..
Ok now I get your requirement.
you cant achieve this - how one receiver channel can put in two location if you dont have a dynamic configuration defined i.e Adapter specific attributes.
easy way - involve IR mapping
else
have a adapter module to define your dynamic configuration.
Ref: /people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules & /people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further
Set the dynamic directory/file name etc for your receiver adapter.
Hi,
I am not sure whether it can be done using only one channel.
From my knowledge, i think i would not be possible..!!
If the two messages are pointing to two different directories, why cant you go for two different communication channels, specifying the same file name placed in two different directories..
Regards,
Swetha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.