Skip to Content

Part II described the code how to create the nested XML from flat XML. In this section, I will explain how to deploy it in XI
and how to use the deployed code in XI. Since part II explained with full of theory, I will try to explain in figures in
this blog.

The java program that I have explained you in part II will create the exact structure of IDOC. Now we have to create a jar file for the java program created.
Before creating the “jar” file just make sure that the “path” of the class file in the imported archive. It should be the
same as your “package” path.

Once the class file is created, we have to create the jar file with all the necessary files. After creating the jar file, it
has to be deployed to XI. The following section will tell you how to do that.

image

image

image

image

image

image

image

image

Once everything is done, just go to the test tab and check that everything is working fine or not. That’s it!!!!! You have
done the java Mapping.

To report this post you need to login first.

5 Comments

You must be Logged on to comment or reply to a post.

  1. christina m
    Hi,

    You could have blogged a simple one for a java mapping. I cannot refer this blog to a person who wants to learn Java XI mapping.
    i would better refer help.sap.com instead of these 3 blogs in java mapping.

    – The first part doesn’t delve much into Java mapping but deals with some other scenario.
    – The Part-II looks like a project code.Probably you could have given simple code for demonstrating java mapping in XI.
    – And the single line ‘Import jar into design’ is equivalent to Part-III instead of those screenshots.

    You should have given effort to make a simple blog instead of making it complex and divide into 3.
    I am not discouraging you but keep quality also in mind apart from the race for points.

    Regards
    christina

    (0) 
  2. Sathi Vengadakrishnan
    I am a XI developer. I don’t have much idea on the Java mapping in XI. Your work is excellent. Its a very good example for people like me.

    The time and effort you have spent on creating this document is really appreciable.

    For people who want send it as a reference can easily send a page link .

    Regards,
    Sathi.

    (0) 
    1. Prasad Ulagappan Post author
      Hi Sathi,

      Thank you. Even when I was doing the Java Mapping, I too faced similar issues. To make it easier, I have done this blog. Keep learning…
      🙂

      Cheers,
      Prasad U

      (0) 
  3. Tomas Toth
    Hello Prasad,

    I hoped that I’ll find at least a fragment of information, how to built (compile) the source java code to jar.
    The problem I’m facing right now is, that I know approximately what I need to program inmy JAVA Mapping, but I could not find any info about how and where to develop and debug my possible mapping.
    E.g. I need to download from “somewhere” the SAP Java packages com.sap.aii.mapping.api* and map them into my ‘project’ in NetBeans … I went through the jars on the server, but could not find any (maybe they are there, but I didn’t find them).

    And maybe I’m completely wrong about the development of JAVA mapping for XI.

    Would you be so kind and throw little light on this ???

    Thank you in advance.

    Best regards Tomas

    (0) 
    1. Tomas Toth
      Hello again,
      finally we got it with my colleague. But anyway I would be interested in any hints how to develop, debug (simulate the mapping process) and deploy the java mapping codes.

      Thanks.
      Regards Tom

      (0) 

Leave a Reply