on 08-23-2006 12:14 PM
Hello,
I have a special mapping situation in XI.The problem is that I have 2 instances of the same node and I have target node.What I need is to get the value of the second instance of the source in the target node.I am not able to achieve this using simple mapping techniques.
Hello Prakash,
Thanks for the suggestion.I was also thinking on the same lines.But the problem is that I am not very much comfortable with UDF in XI.Most of the times it does not work for me.Do you have any useful links to understand how to code an UDF within XI.
Sandeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sandeep,
You can avoid an Advanced UDF.
Use GLOBAL variables of Java Section.
Write an UDF , that will set the status of a Global FLAG the first time it is executed and then map the correct value the next time.
This blog on Java Section ,
/people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
Regards,
Bhavesh
Hi,
Write a UDF to which you pass the entire queue of the source field with context from the root node. Inside the UDF get the second value and add to the ResultList.
Hope this helps.
Thanks,
Prakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Check this link for UDF...
http://help.sap.com/saphelp_nw04/helpdata/en/d9/718e40496f6f1de10000000a1550b0/content.htm
sekhar
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.