on 01-29-2008 5:10 AM
hi guys,
i am from ABAP background.can anybody send me some documents regrding how to develop user-define funtions using
java and mapping programs using java.
hi sateesh,
thank u for ur reply,
but i need step by step procedure to develop user-defined functions and mapping progs using java as i am new to java.
thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi gopi krishna,
You need to go through some of the basics of Java
Please refer below link for it
http://www.rgagnon.com/howto.html
Please follow below steps to create UDFs
Activities
1. To create a new user-defined function, in the data-flow editor, choose Create New Function (), which is located on the lower left-hand side of the screen. In the menu, choose Simple Function or Advanced Function.
2. In the window that appears, specify the attributes of the new function:
Name:
Technical name of the function. The name is displayed in the function chooser and on the data-flow object.
Description:
Description of how the function is used.
Cache
Function type (see above)
Argument Count:
In this table, you specify the number of input values the function can process, and name them. All functions are of type String.
3. In the window that appears, you can create Java source code:
a. You can import Java packages to your methods from the Imports input field, by specifying them separated by a comma or semi-colon:
You do not need to import the packages java.lang., java.util., java.io., and java.lang.reflect. since all message mappings require these packages and therefore import them. You should be able to access standard JDK and J2EE packages of the SAP Web Application Server by simply specifying the package under Import. In other words, you do not have to import it as an archive into the Integration Repository. You can also access classes of the SAP XML Toolkit, the SAP Java Connector, and the SAP Logging Service (see also: Runtime Environment (Java-Mappings)).
In addition to the standard packages, you can also specify Java packages that you have imported as archives and that are located in the same, or in an underlying software component version as the message mapping.
b. Create your Java source text in the editor window or copy source text from another editor.
4. Confirm with Save and Close.
5. User-defined functions are limited to the message mapping in which you created the function. To save the new function, save the message mapping.
6. To test the function, use the test environmentsapurl_link_0005_0007_0007.
The new function is now visible in the User-Defined function category. When you select this category, a corresponding button is displayed in the function chooser. To edit, delete, or add the function to the data-flow editor, choose the arrow next to the button and select from the list box displayed.
thanks
Swarup
Hi Gopi
just look at these links
Refer this blog:
/people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
/people/michal.krawczyk2/blog/2007/05/09/xipi-secure-storage-service-with-user-defined-funtions
and the thread:
You can use Global Containers,
http://help.sap.com/saphelp_nw04/helpdata/en/75/8e0f8f3b0c2e4ea5f8d8f9faa9461a/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
This link for User Defined Functions,
http://help.sap.com/saphelp_nw04/helpdata/en/d9/718e40496f6f1de10000000a1550b0/content.htm
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
Regds
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check if your system contains this jar aii_map_api.jar. This jar file is necessary for Java Mapping.
These are the steps to create a java mapping.
1. Develop your Java code locally e.g. with your IDE
2. Create a .jar or a .zip
2.1 Using the jar command of the jdk
2.2 Using a built-in IDE functionality
3. Create a new Imported Archive and import the .jar to the Integration Repository
http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/thorsten.nordholmsbirk/blog/2006/08/10/using-jaxp-to-both-parse-and-emit-xml-in-xi-java-mapping-programs
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
Happy learning
Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.