on 09-27-2010 8:03 AM
Hi All,
I am doing RFC Lookup in xslt mapping using java helper class. I have found blog for the same (http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14) However this blog is very advanced.
Can anybody help me with step by step approach for the same?
My basic questions are not answered in the blog as:
1) where to add the jar file of the java class used in xslt mapping.
I have added zip file of XSLT mapping in imported archived and using that in mapping.
Thanks in advace.
Regards,
Rohan
HI,
1) where to add the jar file of the java class used in xslt mapping.
U need to create a java class file and keep in ur namespace.
the same namespace u also give in XSLT mapping also....
He has used his own namespace...
I have added zip file of XSLT mapping in imported archived and using that in mapping.
Yes u r correct....
Babu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Babu,
Thanks for your reply.
I have class file but can you please explain how do we keep it in namespace? are you refering to PI namespace? I have used stylus studio for the xslt mapping generation. do i need to do anything there.
I am new to this xslt mapping so detailed reply will be helpful.
Thanks and Regards,
Rohan
Hi ,
1)I have given the package name in Java code as my PI namespace.
2)Same name(PI Namespace) is given while calling execute method of the class in xslt mapping
3)and in the top of xslt also PI namespace given.
4)Uploaded zipped xsl file in archive of pi namespace
5)uploaded zipped .class file in archive of pi namespace
When i test my mapping in PI I get error saying " Unable to find resource' -pi namespaceRfcLookup.class' in the following software component versions..."
And I making any mistake here?
Regards,
Hi,
Can u please have look at this in detail , u can easily point out yourself the problem...
http://help.sap.com/saphelp_nw04/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/content.htm
Please observe the line,
xmlns:javamap="java:com.company.group.MappingClass
in XSLT mapping..
The packagename of class and class name and XSLT namespace should be matching...
Babu
Edited by: hlbabu123 on Sep 29, 2010 6:04 PM
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.