on 12-06-2006 6:37 AM
Hi ,
Is there any tool which generates code for the java mapping?
Please let me know.
Also please provide me some examples,exercises on java mapping.
Thanks
Srini
Hi Sabbir,
This is chandrasekhar,I have done few Mapping Scenarios using java mapping.
Steps:
1)you need to use any parsing Technique either DOM Or SAX.
2)Develop your java class with out main method in Netweaver Developer stdio.
3)Need to create a jar file in the Cmd(commond line promot.
Commond for creation of jar cf name.jar filename.class
4)import your jar file in to IR.you can see Imported Objects under software component.Right click on the Imported Object and select New and enter the name and browse your jar file and select the corresponding jar file which you created and click save and activate.
5)when you are doing Interface Mapping you need to select as Java calass and select the Mapping program and after the process is same as normal.
If you have any doubts please let me know.Hope my answer will reach make you understand better.
Thanks and Regards,
Chandu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
No, there is no tool for generating code for mapping,even if tools are there it depends upon once own logic.
So we use SAX and DOM parsers for the java mapping.
SAX can be used to read an XML file and DOM can be used to build an XML file.
Building DOM Trees from a Document :
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/45/023a3e5069eb6ce10000000a114084/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/45/023a3e5069eb6ce10000000a114084/frameset.htm</a>
Java Mapping:
<a href="/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i:///people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm</a>
Debugging and Testing:
<a href="/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio:///people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
Processing XML Using SAX:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/06/55413e7bcd561ee10000000a114084/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/06/55413e7bcd561ee10000000a114084/frameset.htm</a>
Regards,
Gunasree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
U can visit following blog for learning all abt java mappings :
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
For an example exercise u can visit following blog which shows hw to read a CSV file using Java Mapping :
/people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
Hope it helps.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Phani,
Also check this blog about testing and debugging Java mapping:
/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
Regards,
Anuradha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Phani,
check out the following blog:
/people/thorsten.nordholmsbirk/blog/2006/08/10/using-jaxp-to-both-parse-and-emit-xml-in-xi-java-mapping-programs
Regards,
Anuradha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Refer this blogs.
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/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
Regards,
Sudheer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
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.