cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User defined functions with examples

Former Member
0 Likes
6,476

Hi,

Being am a trainee i didnt understand much about the user-defined functions at my training period..

Will you plz tell about them with best examples as u developed in real time and their requirement in scenario..

I tried for them very much in SDN..that is not statisfactory

Regards

guna

View Entire Topic
vijay_b4
Active Contributor
0 Likes

Hi Guna,

In order to create UDFs, you need to have a basic idea about using Core Java. Also, based on the kind of functonality of the code, you will need to know if you require any extra jar files.

To create a UDF, all you need to do is click on LHS icon in the graphical mapping editor. Also, keep in min that the input and otput of a udf is always in strings.

To test your functions, you can either use the test tab present in the mapping editor or you can even use the following editor(blog by Sravya):-

/people/sravya.talanki2/blog/2006/07/24/integrating-java-editor-in-xi-integration-stack

I think info will be enough for you to start off with creating and using UDFs:)

Check the Teched 2004 presentation of our mapping gurus:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/be05e290-0201-0010-e997-b6e...

/people/vijayasarathy.raghunathan/blog/2005/12/28/java-editor-inside-abap

Check this SAP help :

http://help.sap.com/saphelp_nw04/helpdata/en/22/e127f28b572243b4324879c6bf05a0/frameset.htm

Reward points if this helps

Regards

Vani.