on 04-15-2009 11:03 AM
Hello All,
I have a scenario:
I have a Java code in which we first check the Payload and then put that Payload in
file system. Then we load a a file and we match the criteria in the file according to which we do transformation. From file we takes out the following information:
1) To
2) From
3) Message Type
4) Number of Tranformation
Suppose there are 3 transformation
Then this java code find which Stylesheet to apply for which transformation and call the stlysheet and do the transformation. And after every transformation we call a code that writes a output of the transformation on the file system and give this output to other stylesheet also.
Now i want to use this code in PI using Java Mapping So can anyone explain how to do this using Java Mapping.
Thanks and Regards
Hemant
Edited by: hemant gupta on Apr 15, 2009 12:05 PM
CLose
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hemant,
Your requirement not generic requirement,its very specific to you only,
how to develop java mapping depends on your java programming skills,
create project in Eclipse or NDWS and add aii.map.api.jar file to your project.
write below method in your class and write your logic according to your requirement
public void execute(InputStream in, OutputStream out)
throws StreamTransformationException {
you need some prgramming skils in JAVA and Parcers.
Regards,
Raja Sekhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hemant,
Please have a look on the following blog
[http://www.riyaz.net/blog/xipi-java-mapping-demystified/]
Also go through the sap help document for Java Mapping
[http://help.sap.com/saphelp_nwpi71/helpdata/en/43/a6ec37a9151bbce10000000a1553f7/content.htm]
Hope this should help you.
Regards,
Jitender
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
please help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.