on 04-23-2007 8:02 AM
Hi expert friends
Is there any way to construct the receiver file name with the name of a field in source file viz., ename.txt (david.txt) david being a value under ename field. Pl provide me required config steps.
HI,
Your assigning the reciever file name based on the field name in the source side , , i hopw it is yes , in UDF for dynamic file name creation , you just use the source field name , before that you would have to take that field name into global variable , after that map the UDF to target root node , and in receiver side use in CC select the File name check box in adapeter specific message attributes..
see the belowlinks
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
Regards
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>>you just use the source field name , before that you would have to take that field name into global variable , after that map the UDF to target root node ,
there no need to use any global variables to assign dynamic name
you jut use the value from tag inside your UDF and create the dynamicparameter
as per blog nothing more
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
Hi David,
it's very easy - you just have to use adapter identifiers
as show in this blog:
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
the parameter that you need is : FileName
from:
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
David,
Use Adapter specifc Msg attributes. Refer the blog by Michal on the same.
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
Regards,
Jai Shankar
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 | |
9 | |
7 | |
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.