XI 3.0: Additional libraries for mapping program

Hello,
I got the scenario that the program within my Interface Mapping is making use of additional custom java resources (jar's).
I know that in XI 2.0 I had to put these additional libraries into the directory:
..\j2ee\cluster\server\additional-lib
and register them in the files:
..\j2ee\cluster\server\managers\library.txt and
..\j2ee\cluster\server\managers\reference.txt
Now in XI 3.0 I don't have these folders and files anymore. Therefore I simply imported the jar files into the repository...But I do neiter know wether that is the right way at all for registering additional libs in XI 3.0 nor I don't know if I have to import them into the same software component or namespace then the mapping program.
Does anybody know how to make use of additional libraries within a XI 3.0 Stack 5 landscape? I would very much appreciate any recommendations on that!
Kind regards,
Sven Lattermann

Hi Advait,
From the below what I understand is that you are not able to do value mapping for the follwoing
1     A
2     A
3     B
As value mapping allow one to one mapping only. Please do it like as mentioned below
1     1*A
2     2*A
3     3*B
Then in the graphical mapping of Integration Repository do the mapping for the same as shown below
source field > VALUEMAPPING> UDF--> TARGET Field
In UDF suppress the value of  1* , 2* , 3* which can be done as follows
create one UDF with one input field
//write the code as below to suppress the field
return input.substring(2);
Here the davantage of using 1* , 2* , 3* etc is that you have the option to use value mapping for 100 values which I think is not normally the case for any Interface.
If you have same source you can do the same thing for that.
Hope this helps you to resolve your query.
Thanks & Regards
Prabhat

Similar Messages

  • Using a lookup for mapping program to retrieve the specific value

    Hi All,
    I have a scenario like …I need to use a lookup for mapping program to retrieve the specific value based on the input parameters.
    Here I have got some rough idea like …
    1. Creation of java program to connect the DB table and access the values, Import this java program as archive into XI.
    2. Creation of user defined function to use the above java program
    3. Include the user defined function in the interface mapping.
    Here I feel it needs some more info to complete this scenario, so can anyone provide the step by step procedure for the above scenario.
    Thanks in advance.
    Vijay.

    Hi Vijay,
    Basically you have embed Database lookup code in the UDF. For all kind of Lookups refer to below links..
    Lookup - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    DB lookup - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    SOAP Lookup - /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0
    Lookup’s in XI made simpler - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    How to check JDBC SQL Query Syntax and verify the query results inside a User Defined Function of the Lookup API -
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    /people/prasad.illapani/blog/2006/10/25/how-to-check-jdbc-sql-query-syntax-and-verify-the-query-results-inside-a-user-defined-function-of-the-lookup-api
    Lookups - /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
    Lookups - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    Lookups with XSLT - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
    /people/sravya.talanki2/blog
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14
    How we have to create the lookups?
    Check this weblogs with some screenshots on how to achieve this:
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
    Ranjeet Singh.

  • Java Libraries for Linear Programming/ Optimisation / OR Related Topics

    Dear all,
    I am working on some applications dealing with optimisation of constraints spaces/resource.
    I will probably need to engage linear programming / optimisation techniques or algorithms to solve the problems. I wonder if anyone know of any Java libraries for purpose (trying to write my own optimisation/linear programming solving packages will require way too much effort and re-inventing the wheel).
    Many thanks!
    regards

    Hi,
    I wonder if there are more complete and comprehensive packages. I hope to find some libraries that will provide the optimal solution and at the same time with report generation facilities (i.e. sensitivity reports).
    Any ideas / advices?
    regards,
    david

  • Java Libraries for Linear Programming/Optimisation or OR related algorithms

    Dear all,
    I am working on some applications dealing with optimisation of constraints spaces/resource.
    I will probably need to engage linear programming / optimisation techniques or algorithms to solve the problems. I wonder if anyone know of any Java libraries for purpose (trying to write my own optimisation/linear programming solving packages will require way too much effort and re-inventing the wheel).
    Many thanks!
    regards

    DON'T cross-post:
    http://forum.java.sun.com/thread.jsp?thread=562802&forum=31&message=2769992

  • Missing libraries for j2me?

    Hi!
    I have source code for Jess (java expert system) written in J2SE that I am trying to compile for J2ME. Of course, I keep getting compilation errors, since J2ME does not have e.g. java.util.Iterator or java.io.Serializable. What can I do (if anything?!) to solve this problem? Jess folks do not have a mobile device version. Are there additional libraries for J2ME I could download and happily compile my code? Thank you, I am really stuck with this!
    -Buso

    Hi Buso,
    I am not sure if its a good solution, but you can try it as follows :
    Use the source code that comes with Java SDK (src.zip in sdk ), extract the classes (and their dependant classes) to a different folder, compile them and make your own jar file. Keep this Jar file in in WTK's Lib folder.
    I suppose this should work.
    Cheers
    Sudarshan

  • About a year ago I purchased the student addition of the Adobe Creative suite 6 Design Standard and just recently purchased an additional computer for my home. Can I use the same disc that I previously purchased to download the program?

    About a year ago I purchased the student addition of the Adobe Creative suite 6 Design Standard and just recently purchased an additional computer for my home. Can I use the same disc that I previously purchased to download the program?

    Yes, as long as the machine meets the system requirements for the software you can install and activate it.  Your license allows you to have the software installed and activated on two machines.

  • TS1702 Maps program does not work. In standard it only shows a grid. If I ask for a route it shows start and end point and three route boxes but nothing else. It does show directions. If I switch to hybrid it shows to routes but no roads. Background is a

    Maps program does not work. In standard it only shows a grid. If I ask for a route it shows start and end point and three route boxes but nothing else. It does show directions. If I switch to hybrid it shows to routes but no roads. Background is a blur.

    Do you have a question? This is a user to user help forum. Apple is not here only other users like yourself. You don't report problems to Apple here.
    By the way, it might help if you indicated where you are located.
    To complain to Apple use http://www.apple.com/feedback/ipad.html

  • One mapping program for three diferent enviroments

    Hello there,
    I have developed a scenario in which an rfc requests a web service trough XI. In the process a BPM is involved together with some XSLT mappings.
         R3->XI->WebService
    The Web service request message looks like follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <cem:Z_ORDER_SEARCH xmlns:cem="http://XXXXXXXX/yyyyyyyyyyyy">
         <messageStructure/>
    </cem:Z_ORDER_SEARCH>
    Where "http://XXXXXXXX/yyyyyyyyyyyy" Is the web service destination.
    Everything works fine, but as I have to manage three different environments for Development, Quality and Production I need three different versions of the XSL mapping since destinations are not the same for Dev, Qlty and Production environments.
    I found out that I can get information of the sender using runtime parameters as follows:
    <xsl:param name="SenderSystem">
    I would like to evaluate this information to determine the target URL destination.
    If the sender is the development sender then the URL target is the development destination and so on.
    I tried the following code:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:cemDev="http://developmentDestination"
    xmlns:cemQlty="http://qualityDestination"
    xmlns:cemPrd="http://productionDestination"
    xmlns:cem=""
    <xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemDev"/>
    <xsl:template match="/">
         <cem:mappingProgram/>
    </xsl:template>
    </xsl:stylesheet>
    This works all right, but I cannot insert code to evaluate the destination.
    On the other hand, this code is not valid:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:cemDev="http://developmentDestination"
    xmlns:cemQlty="http://qualityDestination"
    xmlns:cemPrd="http://productionDestination"
    xmlns:cem="">
    <xsl:param name="SenderSystem"/>
         <xsl:choose>
              <xsl:when test="string($SenderSystem) = 'PRODUCTION'">
                   <xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemPrd"/>
              </xsl:when>
              <xsl:when test="string($SenderSystem) = 'QUALITY'">
                   <xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemQlty"/>
              </xsl:when>
              <xsl:otherwise>
                   <xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemDev"/>
              </xsl:otherwise>
         </xsl:choose>
         <xsl:template match="/">
              <cem:mappingProgram/>
         </xsl:template>
    </xsl:stylesheet>
    Neither this one:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:cemDev="http://developmentDestination"
    xmlns:cemQlty="http://qualityDestination"
    xmlns:cemPrd="http://productionDestination"
    xmlns:cem="">
            <xsl:param name="SenderSystem"/>
            <xsl:template match="/">
         <xsl:choose>
              <xsl:when test="string($SenderSystem) = 'PRODUCTION'">
                   <xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemPrd"/>
              </xsl:when>
              <xsl:when test="string($SenderSystem) = 'QUALITY'">
                   <xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemQlty"/>
              </xsl:when>
              <xsl:otherwise>
                   <xsl:namespace-alias stylesheet-prefix="cem" result-prefix="cemDev"/>
              </xsl:otherwise>
         </xsl:choose>
         <cem:mappingProgram/>
          </xsl:template>
    </xsl:stylesheet>
    I tried this other code, which is obviously not valid:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:template match="/">
              <xsl:param name="SenderSystem"/>
              <xsl:choose>
                   <xsl:when test="string($SenderSystem) = 'PRODUCTION'">
                        <cem:Z_ORDER_SEARCH xmlns:cem="http://productionDestination">
                   </xsl:when>
                   <xsl:when test="string($SenderSystem) = 'QUALITY'">
                        <cem:Z_ORDER_SEARCH xmlns:cem="http://qualityDestination">
                   </xsl:when>
                   <xsl:otherwise>
                        <cem:Z_ORDER_SEARCH xmlns:cem="http://developmentDestination">
                   </xsl:otherwise>
              </xsl:choose>
         <cem:mappingProgram/>
    </cem:Z_ORDER_SEARCH>               
         </xsl:template>
    </xsl:stylesheet>
    So the only way I found to make it works is like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:template match="/">
              <xsl:param name="SenderSystem"/>
              <xsl:choose>
                   <xsl:when test="string($SenderSystem) = 'PRODUCTION'">
                        <cem:Z_ORDER_SEARCH xmlns:cem="http://productionDestination">
         <cem:mappingProgram/>
                        </cem:Z_ORDER_SEARCH>
                   </xsl:when>
                   <xsl:when test="string($SenderSystem) = 'QUALITY'">
                        <cem:Z_ORDER_SEARCH xmlns:cem="http://qualityDestination">
         <cem:mappingProgram/>
                        </cem:Z_ORDER_SEARCH>
                   </xsl:when>
                   <xsl:otherwise>
                        <cem:Z_ORDER_SEARCH xmlns:cem="http://developmentDestination">
         <cem:mappingProgram/>
                        </cem:Z_ORDER_SEARCH>               
                   </xsl:otherwise>
              </xsl:choose>
         </xsl:template>
    </xsl:stylesheet>
    Unfortunately this doesn’t solve my problem, because I need to reproduce the mapping program three times in the document.
    Any ideas, or suggestions how to manage one mapping program for the three different environments?
    Thanks a lot in advance, Raú

    Hi there,
    I just found one way of getting this done. It may not be the better waw, but I post it in case it is helpfull.
    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
         <!-- Sender System at runtime-->
         <xsl:param name="senderSystem"/>
         <!-- SenderSystem constants (development addressed by default)-->
         <xsl:variable name="qualitySenderSystem" select="'WHATEVERTHENAMEOFTHEQUALITYSENDERSYSTEM'"/>
         <xsl:variable name="productionSenderSystem" select="'WHATEVERTHENAMEOFTHEPRODUCTIONSENDERSYSTEM'"/>
         <!-- Mapping program template to be called-->
         <xsl:template name="mappingProgram" match="/">
              <!-- MAPPING PROGRAM-->
              <UNIQUE_MAPPING_PROGRAM/>
              <!-- END OF MAPPING PROGRAM-->
         </xsl:template>
         <!Receiver determination depending on senderSystem>
         <xsl:template match="/">
              <xsl:choose>
                   <xsl:when test="$senderSystem=$productionSenderSystem">
                        <xxx:Z_ORDER_SEARCH xmlns:xxx="http://production">
                             <xsl:call-template name="mappingProgram"/>
                        </xxx:Z_ORDER_SEARCH>
                   </xsl:when>
                   <xsl:when test="$senderSystem=$qualitySenderSystem">
                        <xxx:Z_ORDER_SEARCH xmlns:xxx="http://quality">
                             <xsl:call-template name="mappingProgram"/>
                        </xxx:Z_ORDER_SEARCH>
                   </xsl:when>
                   <xsl:otherwise>
                        <xxx:Z_ORDER_SEARCH xmlns:xxx="http://development">
                             <xsl:call-template name="mappingProgram"/>
                        </xxx:Z_ORDER_SEARCH>
                   </xsl:otherwise>
              </xsl:choose>
         </xsl:template>
    </xsl:stylesheet>

  • New Map program for N95

    Hi All
    I am trying to upgrade my n95 Map program and i have downloaded thre new MAP rom upgrade but it is comming with error to upgrade. I have the new firmware 12. and old looking screen map program. can you please help to upgrade it and if there is a patch to do it could someone tell me where it is and how to get it. I did use the use the download (NOKIA_MAPS_1_0_S60_UPDATE) back in 9th AUG 2007 and updated in my N95 but it is steel with the old looking map I meen by ther is not SATALITE BAR and KB download when is on GPS mode like the new look map program.Please help.
    Regards
    JOSEPHKH

    No one knows what will be included or when it will be released.
    The best place to visit for news about new firmware first is www.symbian-freak.com

  • Is there an app for "streetview" on maps?  I would pay big $$$ to get that map program back, Apple please make that an option in the App Store!

    Is there an app for "streetview" on maps?  I would pay big $$$ to get that map program back, Apple please make that an option in the App Store!

    Upgrading to IOS6 was a big, big, big mistake..... I needed the street view feature for travelling about.... What they have in now is crap !!!
    Also.... YouTube app is gone.... Is this supposed to be progress ???

  • Looking for a Maps program for Cloud for Customer

    Hello,
    I'm looking for a maps program like Microsoft Bing Maps for SAP ByDesign that is compatible with Cloud for Customer. In the process of finding this forum, I can see Cloud for Customer and Business by Design are related but are these program compatible?
    Is there any documentation confirming these programs are compatible? A how to for matching them up?
    Is there an alternative that I could use with Cloud for Customer to achieve the same thing?  
    Thanks,
    Gabriel

    "SAP has updated to HTML5 interface and now has Google Map integration and that we now have it enabled."
    It looks like this has worked out, thanks everyone.

  • Different mapping programs for same source and target

    Hi All,
      I have to map the incoming idoc to xml messages.
      But based on customer numbers in incoming idoc i have to use different mapping programs and map to same xml messages.
    1 source message     - n mapping programs       - 1 target message
                                    (based on cust numbers)
    I dont want to harcode the customer numbers to find out the mapping programs.
    Can anyone guide me in this on how to achieve this functionality...
    thanks
    Giridhar

    Hi,
    have you tried to use Conditions in the Interface Determination?
    You can add multiple lines in the 'Configured Inbound Interfaces' and attach different mappings to each of them by picking a condition (basically using an XPath Expression).
    Check this Help Document,
    the section 'Multiple Identical Inbound Interfaces with Conditions' describes what I believe is your scenario.<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/42/ea20e737f33ee9e10000000a1553f7/frameset.htm">Multiple Identical Inbound Interfaces with Conditions</a>
    regards,
    Peter

  • Are there any additional templates for pages other than those you get when you install the program? If so, where do you find them?

    I am looking for additional templates for iWork, specifically for pages. Does Apple or anyone else have them?

    Yes there are plenty of third-party templates available for iWork applications. Try doing a search on Google or software download pages such as MacUpdate or VersionTracker.
    A few links to get you started:
    http://www.iworkcommunity.com/
    http://www.iworkcommunity.com/
    http://www.google.com/search?client=safari&rls=en&q=iWork+templates&ie=UTF-8&oe= UTF-8
    http://www.macupdate.com/find/mac/pages%20templates

  • Map programe for valuation

    dear gurus
    yesterday i faced a problem with material stock valuation with ref. to that i got on replay ple check map program
    ple tell me about that
    tahnk u
    prakash

    Hi,
    If we are to be able to help we need more information, please cut and paste the exact text of the message you received and which transaction was being used.
    Steve B

  • Is there any parallel programming libraries for java?

    Greetings
    I am taking a course about parallel processing and we are using the C language with the MPI library.
    so, I was wondering if there is any java libraries for parallel programming

    Did you try google?
    Many, many hits include:
    http://librenix.com/?inode=5348
    http://www.alphaworks.ibm.com/tech/dppej
    http://www.cpc.wmin.ac.uk/~justog/Courses/ParallelProgrammingwithJava/Homepage.htm

Maybe you are looking for