on 07-21-2007 7:54 PM
This is sundar here i putting my query is in xi
While i am configuring the file adapter in
comunication channel we will mention the file name
given by us in sender & receiver sides. But i want to
give file name dynamically.
Plz give reply,
khemasundar@yahoo.co.in
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
have a look to Dynamic File Name using XI 3.0 SP12 Part - I
To be able to name the files accordingly, you should have these new names available in the payload of the message that is being sent to the receiver file adapter. You will have to enable the Variable Substitution indicator. For more details, read the same topic in the following help documentation:-
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
Also, since this value will be present in the payload and if you want to suppress it so that it can't be seen in the payload that is coming out of the rcvr file adapter, there is a workaround of suppressing this data. Refer to the follwing blog for the workaround:-
/people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12
please give points if found useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sundar,
In receiver communication channel --> variable substitution
create a variable mention your payload type in the reference field.
and then in target file name schema mention the variable name
eg:%name%.txt
regards
yugapreetha
Message was edited by:
yugapreetha
Yugapreetha T
Message was edited by:
Yugapreetha T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Once you had the filename you can assign it in the receiver file adapter by putting %NAME% as the filename parameter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
u can give file name dynamically using message mapping...
check this blog...
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
hope this helpful..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sundar,
If i understand further, you want to substitute it with some of your payload, use variable substitution where you can replace your file name at runtime based on some payload value./
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunder
While configuring the Communication Channel for File Adapter , if u want to give file name dynamically , use wild card characters, you can even exclude some files etc.
and specify the file name as . and XI Box will pick up all the files from the sender directory
hope this will help to solve ur querry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Sundar,
Check these blog out<b> (Dynamic File Name using XI 3.0)</b>
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii
Hope itz Helpfull.
<b>Cheers,
*Raj*
*REWARD POINTS IF FOUND USEFULL*</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
you can give the file name as . and XI will pick up all the files from the sender directory
is this what you are looking for?
Thanx
Ahmad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sundar,
What do you mean by dynamically? Can you please explain so that we can suggest you.
You can use wild card characters, you can even exclude some files etc.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.