on 07-01-2013 10:44 AM
Hi Folks,
Basically I am a PI consultant from the ABAP background. I really find it difficult when it comes to a UDF scenario or say I just don't know what to do in that case. Can somebody let me know about some good blogs where I can educate myself on UDFs. FYI I have already followed the below Blogs & wikis which I feel didn't help me much as I don't know the starting point.
http://wiki.sdn.sap.com/wiki/display/XI/User+Defined+Function's+Part+1
Regards,
Santosh
Hi,
it's good you want to learn something new
I'd start with doing some java collections (book or tutorial pages):
http://www.tutorialspoint.com/java/java_collections.htm
with collections you will be able to do 95% of all difficult UDFs I believe,
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santosh,
A few cents,
I think that if you want to work with UDF and standard functions in message mappings you need to understand the queue concept. I recommend you these blogs:
Grzegorz Glowacki's blog:
Rohit Kalugade's blogs:
http://scn.sap.com/people/rohit.kalugade/blog/2008/12/08/context-and-queue-in-message-mapping-udf
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can somebody let me know about some good blogs where I can educate myself on UDFs ?
One thing for sure, you can go through java String class and familiar with all the String class methods. You would understand more and you will know how the standard graphical functions are implemented. The same will be useful for writing UDFs.
http://docs.oracle.com/javase/6/docs/api/java/lang/String.html
You will also focus on converting dates to string and string to date. please search java.util package.
http://docs.oracle.com/javase/6/docs/api/java/util/package-summary.html
Plus as Michal suggested collection classes are useful for handling contexts. and large volume of data . (like arrays, hashtable(key,value) , Lists, Sort etc).
Learn from the same above java.util. package link
You can also google for code samples. You will find plenty of examples.
hope that helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The below link could also be of help:
http://sappivnr.blogspot.in/2011/12/java-functions-in-xi.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Santosh,
as mentioned by michal you need java knowledge to write udf.
follow those to learn java.
if you want to start from very basic mapping then udf you can follow this also.it helped me a lot.
below are for advanced one.
http://scn.sap.com/people/rohit.kalugade/blog/2008/12/08/context-and-queue-in-message-mapping-udf
if you have eclipse or nwds you can first practice very simple functions like adding two numbers and returning it.manipulating strings.etc.
it will be easy as you are from ABAP background.
Regards,
Muniyappan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.