cancel
Showing results for 
Search instead for 
Did you mean: 

User defined Functions

Former Member
0 Kudos

Hi.. can any one provide me the in which scenario we will go for User defined function.....with Example...

venkat

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Venkatesh,

Some 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

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

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

This link for User Defined Functions,

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

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

Former Member
0 Kudos

One very simple scenario where in i had to use a simple UDF...

i wanted to concatenate 2 strings with a hex separator....could be a 'tab' 'CR' 'NL' etc....

so i had a simple UDF taking in 3 params... the 2 strings and one int value....

the code was just one line....

return param1+((char)separator)+param2;

Now the requirement where i had to have a complex UDF...

Then there could need for a complex udf in a scenario like below......You have 3 input queues, you have loop over the first queue....and look in the second queue for this value and get the value at the corresponding position in the third queue and add it to the output queue ....basically a lookup...

Thanks,

Renjith