cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding UDF in Mapping

Former Member
0 Kudos

Hi All,

I Dont have Any Knowledge on UDF

Why We Need UDF in Mapping ???

How to Start Writing the UDF's in Mapping ????

Please send Some Doc's And Examples on writing UDF'd in Mapping

Helpfull Ans Will be Rewarded

Regards

Vamsi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vamsi,

<i>Why We Need UDF in Mapping ???</i>

Generally, UDF is a function provided by the user of a program or environment, in a context where the usual assumption is that functions are built into the program or environment.

In XI, if the standard functions for a target-field mapping do not fulfill your requirements, or if the graphical representation becomes unclear due to the complexity of the mapping, you have the option of creating your own user-defined functions. You can use this function to create Java source code. The function is included in the Java coding that is generated for the message mapping as a Java method.

<i>How to Start Writing the UDF's in Mapping ????</i>

All steps in details:

http://help.sap.com/saphelp_nw04s/helpdata/en/d9/718e40496f6f1de10000000a1550b0/frameset.htm

Check out:

Advanced User-Defined Functions --

http://help.sap.com/saphelp_nw04s/helpdata/en/40/7b8e40496f6f1de10000000a1550b0/frameset.htm

<i>Please send Some Doc's And Examples on writing UDF'd in Mapping</i>

Accessing Adapter-Specific Attributes through User Defined Function:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e96...

Also, chk out the mapping part in Consuming XI Web Services using Web Dynpro – Part I:

/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i

Hope this was helpful..

kanan

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

>>Why We Need UDF in Mapping ???

You need UDF when you cant complete the mapping using Standard Funtions

>>>How to Start Writing the UDF's in Mapping ????

In the mapping editor you can create UDF(both simple and advanced) , where you write a java function that takes source elements as input parameters

There will be no shortage of responses to doc requests here on SDN

regards

krishna

Former Member
0 Kudos