DB Look Ups...... Conection Pooling

Hi Frnds,
Can anyone explain Connection Pooling DB Look Ups how to implement in XI.
Share any documentation
any links,
REAGRDS,
RAJ

Hi,
Some links for Lookups
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
http://help.sap.com/saphelp_nw04/helpdata/en/c9/9844428e9cbe30e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/frameset.htm
Reward if helpful
Kulwinder

Similar Messages

  • How to use Infocube in Look ups

    Hi Experts,
    i have a requirement that i have Infoset as source and Infocube as target. For the two key figures in the target i neet to get the values from some other Infocube by comparing some characteristics using look ups..
    Before i have used Look ups to get the data from DSO..now i have a question that how to get the values from Infocube  ..
    thank you..

    Hi,
    also see following function module
    RRW3_GET_QUERY_VIEW_DATA
    Thanks and regards

  • Look-Ups

    Hi All,
    1.Can you tell me what exactly the look-ups are?
    2.Please tell me about the RFC and JDBC look-ups.
    3.Also please tell me how many data types do I need to create for For JDBC <---> RFC sync ?
    4.From my point of view I should create 2 data types ,2 message types for JDBC Request and JDBC Response while I can skip creating data types for Receiving RFC side.Is it?
    Thanks in advance.

    Hi Swetha,
    1.Can you tell me about when are RFC,JDBC,CSV look-ups are used?
       Look ups can be useful  in any where, especially when we like to map the value that is reseided in some other application system and that value  tend to change or get  updated very frequently in that system .So as to get the recently updated values we prefer this .if it doesnot happen we cn directly go for hardcoding either by using Fixed values or value mapping.If the value is queried from R/3 we use RFC look ups.If the value is to be retived from Database we go for JDBC.
    2.I think look ups are nothing but the User Defined Functions.Is it?Please tell me in detail.
      Look ups need not not only Java functions we can do that in BPMs remember Filr to RFC to FIle using BPM scenario there we get values from RFC response too in Bpm .But this is again a performance issue with out using UDF.But its very easy to perform the lookups using  UDF.Even SAP has provided good JavaAPI to perform lookups according to requirement.In most of the cases we use lookups for querying single values.But in PI7.1 there has been added advantage in the form of Graphical lookups to avoid java code and maintin reusability.The link was mentioned by experts already.
    3.Please give me any scenerio about the implementation of RFC,JDBC,CSV look-ups .
    I am giving example which i came across while working with EDI documents in SEEBURGER environment.There was a field value "TE" in some segment, while mapping to target i should get the Defintion forTE wich was maintained in some other data base and map to the target side, for that purpose we had to use JDBC look up and ping the data base to retrive the  required value as the result of Lookup. So when i applied look up i got the value "TELEPHONE" for the code TE.The same way for FX the lookup result was FASCIMILE.Not only this for PLANTCODES and some other business related data we might need to use Lookups...Hope you understood my point.
    Thanks,
    Ram.

  • Help regarding Look ups

    Hi All,
    Right now i am using look ups for RFC Receiver Adapter.
    i have code something like this in Mapping for Look ups
    //Determine a channel, as created in the Configuration
    channel = LookupService.getChannel("DB-SYSTEM-NAME","DB-CHANNEL-NAME");
    Now my problem is here in this code i am hard coding "DB-SYSTEM-NAME" and "DB-CHANNEL-NAME". I dont want this hard coding, as when i will transport this code to Quality or Production system, at that time  name is going to get changed. If suppose DB-SYSTEM-NAME is SAPXIDEV then in QA it will be like SAPXIQA and in Production it will be something like SAPXIPRD like that.
    I want to know that is there any way to get SID of XI system in this code? as in place of DB-SYSTEM-NAME i am giving SID (business system name) for XI Dev server, which i need to change when i will transport it to QA or PRD.
    Please reply me as soon as possible. Please let me know if any other things need to be clearified.
    Regards,
    HS

    Hi,
    Search on SDN for Value Mapping Using Graphical Mapping.
    The basic idea of using Graphical Mapping is like using a properties file in Java. You will have a <b>Key-Value</b> pair . The Key is always the same across the environments which you hardcode and the Value will change.
    So KEY will be BusinessSystem and the value will change across environments and so on.
    Regards
    Bhavesh

  • What is meant by DB look ups in XI ?

    what is meant by DB look ups in XI ?

    hi,
    see michale's pdf..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    for more info go to..
    Re: mapping look up's
    biplab

  • What is Mapping Look ups?

    Can any one explain me what is mapping look ups in graphical mapping?

    Hi,
    There are three types of look ups u can do
    RFC look up
    SOAP look up
    JDBC look up
    What is Lookup and why we need:
    Within an XI mapping it is a common requirement to be able to perform data lookups on-the-fly. In particular, there may be a need to look up some data that is maintained in an R/3 application.
    In the error handling topic we have seen the different validations which need to be performed on file. This can be done through Lookup.
    Some use cases:
    • Look up material number from table MARA.
    • Look up cost center budget.
    • Look up employee information.
    • Look up unit-of-measure (UOM) information from table t006a.
    • Lookup for raising an alert.
    The purpose of the lookup may be:
    • To perform application-level validation of the data, before sending it to the backend.
    • To populate fields of the XML document with some additional data found in the backend application.
    This is a form of value transformation.
    The "value mappings" offered by XI are not adequate in this case, since the data would have to be manually entered in the Integration Directory.
    There are two ways in which we can do lookup:
    • Call lookup method from GUI mapping.
    • Call lookup method from XSLT mapping.
    Lookup method from GUI mapping can be called using any of the following ways.
    • RFC lookup using JCO (without communication channel)
    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    • RFC lookup with communication channel.
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    • Lookup using JDBC adapter.
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    • CSV file lookup.
    /people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-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
    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
    You can refer to these links.
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer Absolute stealer.
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    For Java APIs and also here you can map that how many types of lookups are possible in XI.
    http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/lookup/package-summary.html
    Hope this will help you.
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • LOOK UPS situation

    Hi,
              i  studied all the links  regarding LOOK UPS  which are provided in the SDN .. but still i did't clear with this information..   when exactly we will go for lookups.. i means in which situation we will go for lookups..( i studyed that lookups  will interrupt the mapping and interact with the database and access the data from the database in the mapping time..)   but in what scenario we need to get the data from database...give me a simple example..
           can any body give me a brief idea  abt LOOK UPs..
    thanks
    babu

    Within an XI mapping it is a common requirement to be able to perform data lookups on-the-fly. In particular, there may be a need to look up some data that is maintained in an R/3 application.
    In the error handling topic we have seen the different validations which need to be performed on file. This can be done through Lookup.
    Some use cases:
    • Look up material number from table MARA.
    • Look up cost center budget.
    • Look up employee information.
    • Look up unit-of-measure (UOM) information from table t006a.
    • Lookup for raising an alert.
    The purpose of the lookup may be:
    • To perform application-level validation of the data, before sending it to the backend.
    • To populate fields of the XML document with some additional data found in the backend application.
    This is a form of value transformation.
    The "value mappings" offered by XI are not adequate in this case, since the data would have to be manually entered in the Integration Directory.
    There are two ways in which we can do lookup:
    • Call lookup method from GUI mapping.
    • Call lookup method from XSLT mapping.
    Lookup method from GUI mapping can be called using any of the following ways.
    • RFC lookup using JCO (without communication channel)
          /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    • RFC lookup with communication channel.
                     /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    • Lookup using JDBC adapter.
          /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
          /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    • CSV file lookup.
          /people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
    Thanks and Regards,
    Chirag Gohil

  • DB2 via the weblogic conection pool

    I'm trying to connect to DB2 via the weblogic conection pool. What drivers
    should I use for this?

    You can download the IBM DB2 drivers from their website. They are free.
    Michael Girdley
    BEA Systems Inc
    "Scott Cable" <[email protected]> wrote in message
    news:3a1bf76d$[email protected]..
    I'm trying to connect to DB2 via the weblogic conection pool. What drivers
    should I use for this?

  • Can you create a If, then [Show DropDown List] If not [Show 2, Person or Group look ups fields]??

    Hello I am tying to learn SharePoint at a "Throwing you into the Lions with a toothpick" way. I can create  basic columns and work in SharePoint designer fairly OK. Now I am trying to update one of my list with the following and I cannot seem
    to know how to start this off. I am looking for a way to learn it and not have the answered provided to me. So if it can be done in SharePoint all I need is guidance and I will trek and learn what I need to make it work. 
    This is what I have in mind see if its possible:
    If column "Do you like beer" (Yes/No) = yes
    Then display (Choice) Drop down list 
    20 options 
    Mandatory Field, must select one
    If not then show (Person or Group) 2 fields
    Name of beer = [Enter Beer Name]
    Maker of beer = [Enter Beer Maker]
    Mandatory field

    Hello Matrixwolf,
    As i understand you want to show column based on selection in list. You can use Jquery/javascript to hide/show column based on selection and also use Jquery to make those fields mandatory.
    Before you begin just remember that "Person or Group" only use to select people OR sharepoint group (as you mentioned in 5 point) so you may use simple text column to capture those details.
    Here is some ref links for jquery implementation:
    http://www.sharepointnadeem.com/2013/09/sharepoint-showhide-list-column-based.html
    http://bingggg.blogspot.sg/2011/11/showhide-columns-based-on-drop-down.html
    Your should be:
    1. Create columns in list as per your requirement
    2. Then open newform.aspx and editform.aspx pages, and use content editor webpart on that page to use jquery.
    You can search on Bing/Google about content editor webpart and its uses.
    Another way, you can modify the list form infopath designer and use infopath rule to hide/show the column.
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • HTML Client related entity look ups

    How are you folks handling the very typical scenario where the user is completing a form and realizes that they need to add a record to a related entity lookup table before they can complete their entry. The primary form will have validation so I
    don't want to force them to save, and as a result they have to quit and abandon their entry, every time they need to add a look up, and then come back and start over. This was easy in the Silverlight client.  Any ideas?

    Hi Hessc,
    The Code from Paul's article is here:
    https://code.msdn.microsoft.com/Reusable-search-screens-in-91c64c30/
    The simplest way to this is to add a button which opens a browse screen and then passes the selected item from that screen back to the calling screen using the afterClosed event.
    This is what Paul is doing here for selecting the customer from an order entry screen:
    myapp.AddEditOrder.BrowseForCustomer_Tap_execute = function (screen) {
    myapp.showBrowseCustomers(screen.Order.Customer, true,
    beforeShown: function (myscreen) {
    afterClosed: function (myscreen, action) {
    screen.Order.Customer = myscreen.SelectedCustomerParameter;
    He uses the same technique to set the selected item on BrowseCustomers screen after adding a new customer. 
    Additionally he is reusing an existing BrowseCustomer screen by showing and hiding buttons based on a screen property called 'IsInSelectMode".
    So the flow for new customer is:
    OrderScreen > Tap BrowseForCustomer >
    BrowseCustomerScreen > Tap AddCustomer >
    AddEditCustomerScreen > Save (afterClosed sets selected customer on BrowseCustomer screen) >
    BrowseCustomer > Close (afterClosed sets Customer on OrderSreen) >
    OrderScreen
    HTH,
    Josh

  • SP3 conection pool issue with Oracle thin driver

    Hello
    I have a single instance of iAS runnin a single instance of kjs on
    Solaris8. There is a data source configured to use oracle thin drivers
    as opposed to Netscape Type 2 driver for Oracle as per Tech support's
    suggestion:
    The pool setting are as folows:
    Max Pool Size : 20
    Steady Pool size : 10:
    The symptoms that I am seeing is that if (repeatedly) in a JSP I have
    code to lookup a data source and obtain a connection and perform some
    useful work on the DB, the pool seems to grow to more than 20 connection
    - which is the max pool size. I wated this happen until we burtn ~100
    connetions to the database:
    The SQL I am using to determine connections on the database is as
    follows:
    select machine, osuser, count(*) "All" from v$session group by
    machine,osuser;
    Global Txn are disable on the app server.
    Running out of ideas, any help will be greatly appreciated.
    Thanks
    Immanuel

    Immanuel,
    Connection Pooling in iPlanet is poorly documented and, in my experience,
    somewhat buggy.
    On your specific problem, the documentation implies that Max Pool Size is
    the
    maximum number of connections, and MaxWait is a maximum time they would wait
    to get a connection. It doesn't explain as far as I can see what happens if
    that
    time expires -- an exception (which one), or does it exceed the limit and
    return a new connection?
    To resolve this problem I'd suggest you write up a simple, repeatable test
    case and submit
    it as a bug report to get resolution on the issue.
    My experiences are:
    * SP2 doesn't check for bad connections, and will recycle them in the pool
    as though they
    are valid. We worked with support to get a patch developed that fixes this.
    The release notes
    for SP3 imply this problem is fixed (534541 JDBC ), but I'm somewhat
    doubtful of that claim.
    The patch we have required us to create a table with specific data in it
    which they test with a query
    prior to retrieving a connection from the pool. I don't see anything in the
    SP3 docs instructing a user
    to do this, so I question whether the bug fix is in the product but the
    enabling steps are not documented,
    or not even in the release.
    * I have a current dialog going with support about a kjs crash that happens
    after a large
    number of connections are allocated and then released. The kjs log
    indicates that the process
    detects some problem and aborts.
    Good luck, and let us know when you get a resolution to the problem.
    -- Gregg Fowler
    [email protected]
    Immanuel Babu wrote:
    Hello
    I have a single instance of iAS runnin a single instance of kjs on
    Solaris8. There is a data source configured to use oracle thin drivers
    as opposed to Netscape Type 2 driver for Oracle as per Tech support's
    suggestion:
    The pool setting are as folows:
    Max Pool Size : 20
    Steady Pool size : 10:
    The symptoms that I am seeing is that if (repeatedly) in a JSP I have
    code to lookup a data source and obtain a connection and perform some
    useful work on the DB, the pool seems to grow to more than 20 connection
    - which is the max pool size. I wated this happen until we burtn ~100
    connetions to the database:
    The SQL I am using to determine connections on the database is as
    follows:
    select machine, osuser, count(*) "All" from v$session group by
    machine,osuser;
    Global Txn are disable on the app server.
    Running out of ideas, any help will be greatly appreciated.
    Thanks
    Immanuel

  • RFC Look ups

    Hi all,
    I need to get a value for a field from the target system according to the soucre field.
    For Ex : material number 0001 is from source system and i need to find the corresponding material number from the target SAP system.
    Please let me know how it can acheived.
    Thanks
    Faheem

    1. Create a RFC in R/3 system that has ur desired functioanlity.
    2. Create RFC look up in the UDF.
    3. Map the UDF as follows
    Source- field-> UDF(RFC Look up)---> Target Field
    Refer this for more info
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72

  • Does Conection Pooling affect my session tracking?

    hi
    in today's world of growing internet users it's very difficult to handle the number of requests that come at a time.
    Considering an example of a website such as a commercial one and i am in a scenario where i track the session of a user
    i use a servlet for this purpose..and let's assume that a javawebserver is the server
    after a few months my site hits the peak and i am not able to handle so many requests at a time i have a one more javawebserver apart from the existing one and i distribute the requests saying the first 10 to server 1 and the next 10 on server 2
    A visitor enters and i start keeping track of the user ..what will happen if the user when made a request
    first was directed to the server1 and the same user when makes a second request is on server 2
    then will session tracking of a particular user still be possible
    In anticipation of a favourable response
    Regards

    There are a number of ways that you can handle this. For example, ATG's Dynamo application server generates it's own session id and, as part of this session id, it uses a code that specifies which server the session lives on. Then, the load balancing software (which is obviously custom written to look for this code) properly redirects the request "behind the scenes" to the server that this session originated from.
    There are other ways to handle this, but the above is the most straightforward IMHO.

  • DB Look Ups using JAVA Mapping

    Hi Frnds,
    I'm working one B2B Project, my question is,
    I have to retrieve Order ,Order Response from one Data Base,
    its already stored in DATA BASE as a CLOB Message.
    I developed one JAVA Map to retrieve Order And Order Response.
    its working fine,
    But i made a connection through JAVA Map only,
    But as Per SAP its not a good advice to perform Statefull operations through JAVA Mapping.
    My Client not accpeting this approach.
    what is the next way,
    I performed some DB Look up using JDBC Adapter And Visula Admin.
    But in this case its not a easy to retrieve the Order And Order Response.
    Because in My logic there is 5 SQL Statements there.
    Any one can provide Solution.
    Thanks ,
    Raj

    Hi,
    As you said, you have to run 5 sql statements and fetch Order and OrderResponse. Let's say all your inputs for these sql statements are A,B,C,D,E then these will be input parameters for Stored Procedure and out parameters will be Order and OrderResponse. Fetching logic should be in the stored proc.
    By this approach you will get Order and OrderResponse in the Stored Proceedure response structure. That structure you can map to your Receiver structure. (if i am not wrong this is your aim)
    You can see this sample blog on Stored Procedure scenario...
    JDBC Stored Procedures
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
    (3rd Scenario in the above pdf)
    Also refer
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm
    Regards

  • How to monitor Mapping Look ups ?

    Hi @,
    I my application I am using maping lookup where Iam passing a value and then getting Y or N based upon the return from look up from R/3 .Fo rthis i am using rfc adaptor .
    Now when i am execfuting the mapping the result is not getting proper I need to verify that whether the lookup is happening or not.I need to monitor the same.
    Regards

    Amit,
    Add Trace Statements in your User Defined Function and then you will be able to see these Trace in the Runtime in the Trace Section under the SOAP header in MONI.
    use this code in the UDf,
    AbstractTrace trace= container.getTrace();
    trace.addWarning("What Ever Message and variables etc");
    Add these Trace to the Request RFC XML, likewise Print the response RFC XML and check what it returns and then see why the parser used to parse and get the RFC responsefailes, etc.
    Regards
    Bhavesh

Maybe you are looking for

  • Nokia N97 software update 21.2.045

    Hi guys, I want to perform a downgrade of software, really I don't like this version of update.  I phone is always with problems How can I do it?

  • Installing Solaris 10 8/07 core sshd service facility doesn't start

    Hello, I installed Solaris 10 core and installed the ssh packages as you can below. # pkginfo | grep ssh system SUNWsshcu SSH Common, (Usr) system SUNWsshdr SSH Server, (Root) system SUNWsshdu SSH Server, (Usr) system SUNWsshr SSH Client and utilitie

  • Plugins using Parent (calling object or Class)'s Methods

    I would like to know if this design makes sense (or if im abusing the inheritance concept of java) This comes about because :: Plugins, that are only known about at runtime, know of each others existance. But the core application does not know about

  • Querying LOV schedule information

    Is there any way to query the LOV schedule information using the Business Objects Query Builder?  We are able to pull data about Crystal reports and their schedules into a database to do more thorough auditing and we would like to do the same with LO

  • Completely and utterly lost.

    So, I've just advanced from Premiere(elements) and got After Effects CS5. I installed it and imported some video onto it and I have no clue what's going on. The video seems to be playing in slow motion and there is no audio. I have looked at a few tu