Textfield data lookup

I have a booking form. Of which have ID No. (unique to every user), name & other contact information.
If ID No. is keyed in and the database found the ID No. is existed, it will loaded the other contact information in the other respective textfields. If no record exists, the othercontact information fields will remain blank. I cannot do a refresh page, since my other data (venue & time) will reflects a null.
Is there any suggestion or sample code that I go do to achieve?

do the lookup via a login page and have the user info stored in the session

Similar Messages

  • Data lookup in R/3 database from message mapping

    Hi,
    I am trying to lookup R/3 database from Message mapping.
    Instead of creating Java class outside XI and then importing into Integration Repository, I have defined an advanced function in message mapping and trying to connect to R/3 using JCo API. But System is giving syntax errors as listed below:
    Check Result for Object CustomerDetailsMap Source code has syntax error:
    F:/usr/sap/C03/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapc1513850c14511d985d5001143eb68b9/source/com/sap/xi/tf/_CustomerDetailsMap_.java:58: illegal character: 160 Â Â Â Â Â Â Â Â // Change the logon information to your own system/user
    F:/usr/sap/C03/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapc1513850c14511d985d5001143eb68b9/source/com/sap/xi/tf/_CustomerDetailsMap_.java:60: illegal character: 160             "DEV18" ,    // userid
    Can somebody help in rectifying the problem?
    Thanks and Regards,
    Nitin.

    Hi,
    can u post the java code which u have used in mapping.
    There is a doc in XI-Articles. "How to Perform SAP Data Lookups Within XI Mappings" By Jerome Delune 16 October, 2003. Try looking at this article and do ur mapping.
    Hope this helps you.
    Cheers,
    Siva Maranani.

  • Poor MDX performance on F4 master data lookup

    Hi,
    <P>
    I've posted this to this forum as it didn't get much help in the BW 7.0 forum. I'm thinking it was too MDX oriented to get any help there. Hopefully someone has some ideas.
    <P>
    We have upgraded our BW system to 7.0 EHP1 SP6 from BW 3.5. There is substantial use of SAP BusinessObjects Enterprise XI 3.1 (BOXI) and also significant use of navigational attibutes. Everything works fine in 3.5 and we have worked through a number of performance problems in BW 7.0. We are using BOXI 3.1 SP1 but have tested with SP2 and it generates the same MDX. We do however have all the latest MDX related notes, including the composite note 1142664.
    <P>
    We have a number of "fat" queries that act as universes for BOXI and it is when BOXI sends a MDX statement that includes certain crossjoins with navigational attributes that things fall apart. This is an example of one that runs in about a minute in 3.5:
    <P>
    SELECT { [Measures]. [494GFZKQ2EHOMQEPILFPU9QMV], [Measures].[494GFZSELD3E5CY5OFI24BPCN], [Measures].[494GG07RNAAT6M1203MQOFMS7], [Measures]. [494GG0N4P7I87V3YBRRF8JK7R] } ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( [0MAT_SALES__ZPRODCAT]. [LEVEL01].MEMBERS, EXCEPT( { [0MAT_SALES__ZASS_GRP]. [LEVEL01].MEMBERS } , { { [0MAT_SALES__ZASS_GRP].[M5], [0MAT_SALES__ZASS_GRP].[M6] } } ) ), EXCEPT( { [0SALES_OFF]. [LEVEL01].MEMBERS } , { { [0SALES_OFF].[#] } } ) ), [0SALES_OFF__ZPLNTAREA].[LEVEL01].MEMBERS ), [0SALES_OFF__ZPLNTREGN]. [LEVEL01].MEMBERS ), [ZMFIFWEEK].[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_UNIQUE_NAME, MEMBER_NAME, MEMBER_CAPTION ON ROWS FROM [ZMSD01/ZMSD01_QBO_Q0010]
    <P>
    However in 7.0 there appear to be some master data lookups that are killing performance before we even get to the BW queries. Note that in RSRT terms this is prior to even getting the popup screen withe "display aggregate".
    <P>
    They were taking 700 seconds but now take about 150 seconds after an index was created on the ODS /BIC/AZOSDOR0300. From what I can see, the navigational attributes require BW to ask "what are the valid SIDs for SALES_OFF in this multiprovider". The odd thing is that BW 3.5 does no such query. It just hits the fact tables directly.
    <P>
    SELECT "SID" , "SALES_OFF" FROM ( SELECT "S0000"."SID","P0000"."SALES_OFF" FROM "/BI0/PSALES_OFF" "P0000" JOIN "/BI0/SSALES_OFF" "S0000" ON "P0000"."SALES_OFF" = "S0000"."SALES_OFF" WHERE "P0000"."OBJVERS" = 'A' AND "S0000"."SID" IN ( SELECT "D"."SID_0SALES_OFF" AS "SID" FROM "/BI0/D0PCA_C021" "D" ) UNION SELECT "S0000"."SID" ,"P0000"."SALES_OFF" FROM "/BI0/PSALES_OFF" "P0000" JOIN "/BI0/SSALES_OFF" "S0000" ON "P0000" . "SALES_OFF" = "S0000" . "SALES_OFF" WHERE "P0000"."OBJVERS" = 'A' AND "S0000"."SID" IN ( SELECT "D"."SID_0SALES_OFF" AS "SID" FROM "/BIC/DZBSDBL018" "D" ) UNION SELECT "S0000"."SID" ,"P0000"."SALES_OFF" FROM "/BI0/PSALES_OFF" "P0000" JOIN "/BI0/SSALES_OFF" "S0000" ON "P0000" . "SALES_OFF" = "S0000" . "SALES_OFF" WHERE "P0000"."OBJVERS" = 'A' AND "S0000"."SID" IN ( SELECT "D"."SID_0SALES_OFF" AS "SID" FROM "/BIC/DZBSDOR028" "D" ) UNION SELECT "S0000"."SID" ,"P0000"."SALES_OFF" FROM "/BI0/PSALES_OFF" "P0000" JOIN "/BI0/SSALES_OFF" "S0000" ON "P0000" . "SALES_OFF" = "S0000" . "SALES_OFF" WHERE "P0000"."OBJVERS" = 'A' AND "S0000"."SID" IN ( SELECT "D"."SID_0SALES_OFF" AS "SID" FROM "/BIC/DZBSDOR038" "D" ) UNION SELECT "S0000"."SID" ,"P0000"."SALES_OFF" FROM "/BI0/PSALES_OFF" "P0000" JOIN "/BI0/SSALES_OFF" "S0000" ON "P0000" . "SALES_OFF" = "S0000" . "SALES_OFF" WHERE "P0000"."OBJVERS" = 'A' AND "S0000"."SID" IN ( SELECT "D"."SID_0SALES_OFF" AS "SID" FROM "/BIC/DZBSDOR058" "D" ) UNION SELECT "S0000"."SID" ,"P0000"."SALES_OFF" FROM "/BI0/PSALES_OFF" "P0000" JOIN "/BI0/SSALES_OFF" "S0000" ON "P0000" . "SALES_OFF" = "S0000" . "SALES_OFF" WHERE "P0000"."OBJVERS" = 'A' AND "S0000"."SID" IN ( SELECT "D"."SID_0SALES_OFF" AS "SID" FROM "/BIC/DZBSDOR081" "D" ) UNION SELECT "S0000"."SID" ,"P0000"."SALES_OFF" FROM "/BI0/PSALES_OFF" "P0000" JOIN "/BI0/SSALES_OFF" "S0000" ON "P0000" . "SALES_OFF" = "S0000" . "SALES_OFF" WHERE "P0000"."OBJVERS" = 'A' AND "S0000"."SID" IN ( SELECT "D"."SID_0SALES_OFF" AS "SID" FROM "/BIC/DZBSDPAY016" "D" ) UNION SELECT "S0000"."SID" ,"P0000"."SALES_OFF" FROM "/BI0/PSALES_OFF" "P0000" JOIN "/BI0/SSALES_OFF" "S0000" ON "P0000" . "SALES_OFF" = "S0000" . "SALES_OFF" WHERE "P0000"."OBJVERS" = 'A' AND "P0000"."SALES_OFF" IN ( SELECT "O"."SALES_OFF" AS "KEY" FROM "/BIC/AZOSDOR0300" "O" ) ) ORDER BY "SALES_OFF" ASC
    <P>
    I had assumed this had something to do with BOXI - but I don't think this is a MDX specific problem, even though it's hard to test in RSRT as it's a query navigation. Also I assumed it might be something to do with the F4 master data lookup but that's not the case, because of course this "fat" query doesn't have a selection screen, just a small initial view and a large number of free characteristics. Still I set the characteristic settings not only to do lookups on the master data values and that made no difference. Nonetheless you can see in the MDXTEST trace that event 6001: F4: Read Data. Curiously this is an extra one that sits between event 40011: MDX Initialization and event 40010: MDX Execution.
    <P>
    I've tuned this query as much as I can from the Oracle perspective and checked the indexes and statistics. Also checked Oracle is perfectly tuned and parameterized as for 10.2.0.4 with the May 2010 patchset for AIX. But this query returns an estimated 56 million rows and runs an expensive UNION join on them - so no suprise that it's slow. As a point of interest changing it from UNION to UNION ALL cuts the time to 30 seconds. Don't think that helps me though, other than confirming that it is the sort which is expensive on 56m records.
    <P>
    Thinking that the UNORDER MDX statement might make a difference, I changed the MDX to the following but that didn't make any difference either.
    <P>
    SELECT { [Measures].[494GFZKQ2EHOMQEPILFPU9QMV], [Measures].[494GFZSELD3E5CY5OFI24BPCN], [Measures].[494GG07RNAAT6M1203MQOFMS7], [Measures].[494GG0N4P7I87V3YBRRF8JK7R] } ON COLUMNS ,
    NON EMPTY UNORDER( CROSSJOIN(
      UNORDER( CROSSJOIN(
        UNORDER( CROSSJOIN(
          UNORDER( CROSSJOIN(
            UNORDER( CROSSJOIN(
              [0MAT_SALES__ZPRODCAT].[LEVEL01].MEMBERS, EXCEPT(
                { [0MAT_SALES__ZASS_GRP].[LEVEL01].MEMBERS } , { { [0MAT_SALES__ZASS_GRP].[M5], [0MAT_SALES__ZASS_GRP].[M6] } }
            ) ), EXCEPT(
              { [0SALES_OFF].[LEVEL01].MEMBERS } , { { [0SALES_OFF].[#] } }
          ) ), [0SALES_OFF__ZPLNTAREA].[LEVEL01].MEMBERS
        ) ), [0SALES_OFF__ZPLNTREGN].[LEVEL01].MEMBERS
      ) ), [ZMFIFWEEK].[LEVEL01].MEMBERS
    DIMENSION PROPERTIES MEMBER_UNIQUE_NAME, MEMBER_NAME, MEMBER_CAPTION ON ROWS FROM [ZMSD01/ZMSD01_QBO_Q0010]
    <P>
    Does anyone know why BW 7.0 behaves differently in this respect and what I can do to resolve the problem? It is very difficult to make any changes to the universe or BEx query because there are thousands of Webi queries written over the top and the regression test would be very expensive.
    <P>
    Regards,
    <P>
    John

    Hi John,
    couple of comments:
    - first of all you posted it in the wrong forum. This belongs into the BW forum
    - MDX enhancements in regards to BusinessObjects are part of BW 7.01 SP05 - not just BW 7.0
    would suggest you post it in the BW forum
    Ingo

  • XI: How To Use JAVA generic Class to  perform SAP data Lookup........

    Hello All,
    I want to create a generic class which is used to perorm SAP data lookup.
    I don't want to use Jco or RFC channel..
    Is there any other way to do this?
    waiting for Reply 
    thank in advance.
    - AKSHAY.

    Hi,
    use RFC channel
    you can wrap it up like this:
    /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
    why do you want to create something diffucult to maintin and non standard if
    you can use the RFC API ?
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Master data Lookup missing for sold to party

    Master data Lookup missing for sold to party?
    The look up flow is from E_BOM to E_BOM1
    regards

    Hi,
    Check if SIDs are generated for the infoobject, if not try to do the change run attribute and then load the data to Cube.
    Hope this helps...
    Rgs,
    Ravikanth.

  • ABAP for Master Data lookup

    I am trying ABAP for master data lookup in update rule.
    Here is the scenario ---
    There is a Master Data object MDABC  with attributes A1 , A2 . I need to Map IO1 to A1 and IO2 to A2.
    What should be the Start Routine and Update Routine . Please help with a working code.
    Thanks

    >
    sap_newbee wrote:
    > Thanks Aashish ,
    > Here is the code I am usind but Its not populating any result May be you could help me out in debugging
    >
    >
    > Start Routine -
    >
    > DATA: BEGIN OF ITAB_MDABC OCCURS 0,
    > MDABC LIKE /BIC/PMDABC-/BIC/MDABC,
    >  A1 LIKE /BIC/PMDABC-/BIC/A1,
    > A2 LIKE /BIC/PMDABC-/BIC/A2,
    > END OF ITAB_NMDABC.
    >
    >  SELECT
    > /BIC/MDABC
    > /BIC/A1
    > /BIC/A2
    >  FROM /BIC/PMDABC INTO TABLE ITAB_MDABC
    >  FOR ALL ENTRIES IN DATA_PACKAGE
    > WHERE /BIC/MDABC = DATA_PACKAGE-/BIC/MDABC.
    > ENDSELECT.
    >
    >
    > In Update Routine for Infoobject IO1 The code Iam using is
    >
    >
    > READ TABLE ITAB_MDABC   WITH KEY
    >  MDABC   =  COMM_STRUCTURE-/BIC/MDABC
    >  BINARY SEARCH.
    > IF sy-subrc = 0.
    >  RESULT = ITAB_MDABC-A1.
    > ENDIF.
    >   RETURNCODE = 0.
    >
    >   ABORT = 0.
    >
    > Please help.
    > Thanks
    Please use table in the select statement. Modifications in BOLD
    Edited by: Ashish Gour on Oct 17, 2008 2:57 PM

  • 0CALDAY for time dependent master data lookup unknown when migrated to 7.0

    I am in the process of migrating a number of InfoProviders from the 3.x Business Content to the new methodology for BI 2004s.
    When I try to create a transformation from the Update Rules for 0PA_C01, all of the rules that use a master data lookup into 0EMPLOYEE give me the error such as "Rule 41 (target field: 0PERSON group: Standard Group): Time char. 0CALDAY in rule unknown". 
    How do I fix the transformation rule that is generated from the update rule for these time-dependent master data attributes?

    Hi Mark,
    look at http://www.service.sap.com/. I guess you need to implement some corrections or newer supp-packages.
    kind regards
    Siggi
    PS: take a look: https://websmp104.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=941525&_NLANG=EN
    Message was edited by:
            Siegfried Szameitat

  • Data Lookup with XI mapping.

    Hi,
    I am trying to write a user define function to do a data
    lookup by calling an RFC function. I am trying this out as per the document available in SDN namely "How to Perform SAP Data Lookups Within XI Mappings". The user defined function does not compile and give me the following error. Can someone help me out with this problem.
    Compilation error
    D:/usr/sap/X3A/DVEBMGS31/j2ee/cluster/server0/./temp/classpath_resolver/Map370955f0cc2311d8959a00d0b77fc64c/source/com/sap/xi/tf/_gwMsgRFC_msg_.java:3: package com.sap.mw.jco does not exist
    import com.sap.aii.mappingtool.tf3.;import com.sap.aii.mappingtool.tf3.rt.;import java.util.;import java.io.; import java.lang.reflect.;import com.sap.mw.jco.;
                                                                                    ^
    D:/usr/sap/X3A/DVEBMGS31/j2ee/cluster/server0/./temp/classpath_resolver/Map370955f0cc2311d8959a00d0b77fc64c/source/com/sap/xi/tf/_gwMsgRFC_msg_.java:30: package JCO does not exist
    Regards
    Jayanthan

    Hallo Jayanthan,
    I guess you have XI3.0;
    please check OSS note # 753294:
    Symptom                                                                               
    A message mapping contains a user-defined function that uses a class                      
    from the "com.sap.mw.jco", "sapxmltoolkit" or "com.sap.tc.Logging"                        
    library. An error stating that the source code contains syntax errors                     
    occurs when you test or activate the message mapping. When you use a                      
    class from "com.sap.mw.jco", the system reports, for example, "package                    
    com.sap.mw.jco does not exist".                                                           
    This error only occurs in systems containing a Support Package lower                      
    than 5.                                                                               
    Other terms                                                                               
    Mapping, JCO, logging, XML tools, compilation                                             
    Reason and Prerequisites                                                                  
    You must specify the libraries in the class path of the compiler.                         
    Solution                                                                               
    Import Support Package 5 or higher.                                                       
    You can use the following workaround as a short-term solution: Upload                     
    the library that is referenced in the message mapping into the software                   
    component of the message mapping as an "imported archive". Do not                         
    activate the "imported archive" with the library since it is not needed                   
    for the runtime. The only purpose of the archive is to allow the message                  
    mapping to be compiled. To avoid version conflicts with newer libraries,                  
    you should delete the archive again after you import Support Package 5                    
    or higher.                                                                               
    In your case this does mean you have to import the jar jrfc.jar which you find in the path
    [j2ee engine instalation directory]\cluster\server0\bin\ext\com.sap.mw.jco.
    Regards Franz

  • How do I limit the view of a date lookup column to = [Today]?

    I have a list that has a column that contains various event dates  that I use in another list for a lookup column.  As this list gets longer over time, I want to restrict the lookup/dropdown list to only reflect dates =>[Today]. 
    How can I do that in SharePoint Foundations 2013?
    Thanks!

    Hi,
    Per my knowledge, the OOB not provide a method to achieve your requirement. We can use jQuery to achieve it.
    http://stackoverflow.com/questions/17573893/restricting-range-of-drop-down-lists
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Oracle data lookup (read) - Licensing query

    Hi,
    We are running SAP R/3 4.7 Enterprise with Oracle 9.2.0 as the backend database (on Windows Server 2003 OS).
    Our Oracle license is embedded with SAP i.e., not acquired separately.
    For business needs we intend to make read only queries to the backend database (Oracle database lookup) programmatically through Microsoft's SharePoint portal.
    For the access methods, one option is to use Business Data Catalog - BDC of sharepoint which queries the Oracle database directly (xml).
    Would appreciate comments on whether this is authorized or we need any additional Oracle component / license.
    Thank you

    Hi,
    +Would appreciate comments on whether this is authorized or we need any additional Oracle component / license. +
    This should be raised with the SAP Portal, as per your scenario Oracle is not going to support you directly in any case. SAP is going to support you. You can raise SAP Service resquest and can check with them. anyway you'll not be allowed to get lisence seperatly for your existing SAP Database.
    Regards,
    Vijayaraghavan K

  • Oracle data lookup - Licensing query

    Hi,
    Not finding the right forum to post this query, so i hope the coffee shop folks can be helpful
    We are running SAP R/3 4.7 Enterprise with Oracle 9.2.0 as the backend database (on Windows Server 2003 OS).
    Our Oracle license is embedded with SAP i.e., not acquired separately.
    For business needs we intend to make read only queries to the backend database (Oracle database lookup) programmatically through Microsoft's SharePoint portal.
    For the access methods, one option is to use Business Data Catalog - BDC of sharepoint which queries the Oracle database directly (using xml).
    Would appreciate comments on whether this is authorized or we need any additional component / license?
    I have already noted the restrictions mentioned in note 581312, particularly point 3 which speaks about SAP provided Oracle license
    Thank you
    Zubair

    Hi Jurjen / Hi Matt
    Thanks for the responses. These have been very helpful
    A couple of followup thoughts:
    1. Actually, the current need i am trying to fill is to read the 'reports to' relationship from SAP so as to fill the manager field/attribute in the Sharepoint User profile. I understand that the right way to do this is through standard interfaces of SAP like RFC/BAPI with the authorization checks in place but unfortunately, my sharepoint developer is unable to use RFC with Business Data Catalog (xml based). Says only a database query is possible. Perhaps he is wrong and i am trying to confirm this. If you have any thoughts on it, please do share.
    2.
    >If I remember correctly even read only access can muck up the db statistics and so have an adverse effect on the applications.
    So this means, database performance logs such as ST02 & ST04 may show incorrect information and it might also have an adverse impact on performance right? or anything else too.
    Many thanks
    Regards,
    Edited by: Matt on Feb 4, 2010 1:49 PM - message restored, formatting fixed

  • Spry Textfield date validation

    I have a Spry textfield for a user to enter a date. I want to
    limit the date entered to 31 days away from the current date. Can
    anyone help me out with this or provide directions to an article to
    help solve this issue?
    Pat

    This does work
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet">
    <link href="jquery-ui-1.7.2/css/base/ui.core.css" rel="stylesheet">
    <link href="jquery-ui-1.7.2/css/base/ui.datepicker.css" rel="stylesheet">
    <link href="jquery-ui-1.7.2/css/base/ui.theme.css" rel="stylesheet">
    <link href="jquery-ui-1.7.2/css/base/ui.datepicker.images.css" rel="stylesheet">
    </head>
    <body>
    <form action="" method="post">
    <span id="sprytextfield1">
    <label for="mydate">Date:</label>
    <input id="datepicker" name="mydate" type="text">
    <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span>
    <div id="datepicker" class="ui-glass-gradient ui-80TopTo0Bottom-gradient-header"></div>
    <input name="mysubmit" type="submit">
    </form>
    <script src="SpryAssets/SpryValidationTextField.js"></script>
    <script src="jquery-ui-1.7.2/js/jquery-1.3.2.min.js"></script>
    <script src="jquery-ui-1.7.2/js/jquery-ui-1.7.2.min.js"></script>
    <script>
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "date", {format:"mm/dd/yyyy", validateOn:["change"], useCharacterMasking:true});
    $(function() {
        $('#datepicker').datepicker({ showOtherMonths: false });
    </script>
    </body>
    </html>
    Gramps

  • Dynamic Select List based on TextField data

    Hi,
    I like to dynamically display the select list based on the value in the textfield, the data in the textfield is of character type.
    Thanks

    Hello,
    Well as you now know HTML based select lists don't work like that, that widget is called a combo box and there will be built in combo boxes in APEX 3.0, it's a fairly complex dhtml widget.
    What you might want to do is provide a text item next to your select box and an Add New Value Option in your select list.
    Carl

  • Implementing data lookup in ALSB

    Hi,
    I have an xml message which is similar to one below:
    <Reference name="Old Edition" sourceClassName="PROD_STATUS_CLASS" sourceInstanceID="14" sourceSystem="ABC">
              <hasRefExtent sourceClassName="PROD_STATUS_CLASS" sourceInstanceID="14|$|OED" sourceSystem="ABC">
                   <ExtName>PHUOPS_ABRV</ExtName>
                   <ExtType>ProdStatus</ExtType>
                   <ExtValue>OED</ExtValue>
              </hasRefExtent>
              <hasRefExtent sourceClassName="PROD_STATUS_CLASS" sourceInstanceID="14|$|01-SEP-00" sourceSystem="ABC">
                   <ExtName>PROD_STATSUS_ABBRV</ExtName>
                   <ExtType>ProdStatus</ExtType>
                   <ExtValue>01-SEP-00</ExtValue>
              </hasRefExtent>
              <referenceID>14</referenceID>
              <referenceType>ProdStatus</referenceType>
         </Reference>
    There are many such reference blocks in incoming message.I need to create an xquery transformation wherein for each value in <ExtName>, a looked up is required in database/property file and corresponding value has to be mapped on target side. My questions are:
    1. Is it possible to perform lookup in ALSB at the time of xquery transformation and map values dynamically?There is a possibility that we may receive 100 such blocks.
    2. If yes,what are the various options available in ALSB to perform lookup? Can we use java callout and read property file? How about looking up using DB tables?
    Thanks.
    Arti

    1. I have never used it personally, but you may find fn-bea:execute-sql() function useful:
    http://download-llnw.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/xquery.html#wp1101465
    2. You can use java callout and read property file. You can also use brand new JCA adapter to access your database.
    http://download-llnw.oracle.com/docs/cd/E13159_01/osb/docs10gr3/jcatransport/transport.html
    I don't know your use case details, but I would consider completely different approach, because java callout seems to me too heavy and accessing database from OSB (former ALSB) is just silly (against SOA principles).
    If it is possible for you, you can read your database data using proper service callout and prepare the <ExtName> "mapping" before your xquery transformation takes place. In other words, you can prepare kind of "hashmap" in the following form:
    <mapping>
      <entry>
        <ExtName>e1</ExtName>
        <value>v1</value>
      </entry>
      <entry>
        <ExtName>e2</ExtName>
        <value>v2</value>
      </entry>
    </mapping>Then you can possibly use this variable in your xquery transformation as a source for lookups. Of course, this approach needs a reasonable size of mapping which also should be easily computable from your database data.

  • Problem with master data lookup in transformations

    Hi,
    We're experiencing a strange problem in the transformations for an Error Reporting scenario.
    We've the SAP standard customer (0CUSTOMER) in DSO 2 which derives it's value from the navigational attribute of YCUSTNR (0CUSTOMER is the navigational attribute of YCUSTNR) in DSO1. But the problem here is that even when there is no entry for YCUSTNR, the 0CUSTOMER in DSO 2 returns a value.
    Referential Integrity check is not employed for this scenario. Is it because of this reason that lack of master data is returning some value held in memory. I'm not sure whether it's an issue with the cache. Is there any work around for solving this problem other than the standard master data look up?
    Any help in this issue would be appreciated and rewarded.
    Thanks & Regards
    Hari

    Note 1031553 - Reading master data returns value that does not exist
    will solve this problem.
    Regards,
    József.

Maybe you are looking for

  • Problem viewing flash videos full screen

    When I go into full screen mode, the video freezes but the audio continues. The only way to fix this is to view it in "normal" mode and to refresh the page. When I right click on the video to access the settings in order to disable the acceleration,

  • Strange CPU Usage

    Hi.  Task Manager is reporting my CPU usage at 50-100% all the time.  System Idle Process is in the 90's.  This doesn't make sense to me.  I can't figure what program is using up my cpu!

  • Evaluating an XML expression within from within an XML node

    I would like to pass in an E4X expression from a node and evaluate that expression. For example, let's say the XML looks like this: quote: <section id="a"> <item id="1"> <value>3.1</value> </item> <item id="2"> <value>2.2</value> </item> <item id="3"

  • Custom Text

    It would be helpful if text color selection and page placement were available when using Photo Info.

  • [SOLVED] Encrypted root on USB drive problem

    Hi, I have encrypted root on external USB harddrive. On one machine it works just fine, LUKS ask for password and system starts. On second it does not work. I tryed nearly all possible combinations of modules and hooks. I can also access my usb drive