cancel
Showing results for 
Search instead for 
Did you mean: 

User defined Functions

Former Member
0 Kudos

How to learn to write User defined functions quickly. I know ABAP and I wanted to learn about Java User defined functions quickly. Iam confused where to start to grasp this quickly. Are there any Blogs for newbees like me ?

Accepted Solutions (0)

Answers (5)

Answers (5)

stefan_grube
Active Contributor
0 Kudos

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...

Regards

Stefan

Former Member
0 Kudos

Hi,

here some more links.......

/people/stefan.grube/blog/2005/12/30/test-user-defined-functions-for-the-xi-graphical-mapping-tool-in-developer-studio

http://help.sap.com/saphelp_nw04/helpdata/en/b1/83a09f668320419dbe00a741e0fe6a/content.htm

sekhar

Former Member
0 Kudos

Hi Ram,

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:)

Also, since you are an ABAPer, you might be interested in this blog which discusses how to use the ABAP editor to create, modify and test java programs!:-

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

Best Regards,

Sushumna

Message was edited by: Sushumna Parupalli

bhavesh_kantilal
Active Contributor
0 Kudos

Ram,

This link for User Defined Functions,

http://help.sap.com/saphelp_nw04/helpdata/en/d9/718e40496f6f1de10000000a1550b0/content.htm

Writing use defrined functions in XI is quite simple. Create a simple UDF, give the import parameters and then just go ahead with the logic coding and then return the output from the UDF.

Just remember that all inputs and outputs to an UDF are always Strings.

Regards,

Bhavesh

Former Member
0 Kudos

Hi Ram,

Just check these out.

http://help.sap.com/saphelp_erp2005/helpdata/en/45/244c40aa6a0272e10000000a155106/frameset.htm

/people/michal.krawczyk2/blog/2005/02/25/simple-java-code-in-graphical-mapping--xi

cheers,

Prashanth

P.S Please mark helpful answers