BI Queries through JCO slow in Portal

Hello Colleagues,
we use a 7.0 Enterprise Portal on top of our 7.0 BI ABAP system.
When we open a report it initiates a JCO to the BI backend.
Backend|JCO-SID-010@servername|JCO|BICS_PROB_GET_RESULT_SET
=> we changed the caching method to Main Memory Cache with Swapping
=> We preload the queries during the night and these can been seen in rsrcache
The first time we run it have a response time of 7 seconds
The second time we run it we have a response time of 1,2 seconds.
So there is some kind of additional caching done.
Who has experience in this ?
Thank you
Hans

Hello,
this is a normal procedure.
The first time the data were read from the database and the second time from the cache.
Of course, the read from Cache is much faster.
May be, if you increase the cache the query result can be hold longer in the cache and you will get a fast result after some time too but please consider that after a system restart the cache is empty and the date have to be read from database again for the first execution.
Bets Regards,
Marco

Similar Messages

  • Look Up API through JCO

    Hi all,
    I m using look up through JCO and calling a RFC on backend R/3 for the particular validation.I m using UDF for that.In the UDF i have specified imports as:-
    imports :-java.util.;java.lang.obj.;com.sap.aii.mapping.lookup.;com.sap.mw.jco.;java.io.*;
    source code --
    //write your code here
    JCO.Repository  myRepository;
    // Change the logon information to your own system/user
    JCO.Client  myConnection =  JCO.createClient(
        // all the client information namely client ,user id pwd etc
    myConnection.connect();
    // create repository
    myRepository = new JCO.Repository( "SAPLookup", myConnection );
    // Create function
    JCO.Function function = null;
    IFunctionTemplate ft = mRepository.getFunctionTemplate("xxxxx"); //Name of RFC
    function = ft.getFunction();
    // Obtain parameter list for function
    JCO.ParameterList input = function.getImportParameterList();
    // Pass function parameters
    input.setValue( a , "xxxxx" ); //import parameter of RFC, a is input argument.
    myConnection.execute( function );
    String ret = function.getExportParameterList().getString( "XXXX" ); //export param
    myConnection.disconnect();
    return ret;
    however on test  i m getting follwing error:
    Source code has syntax error:  D:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map6df266d0f96411dbb2a4000bcd3f5f3d/source/com/sap/xi/tf/_MM_Source_To_Target_.java:157: 'class' or 'interface' expected public static void main(String[] args) throws Exception{/!_$ClNRep_/_MM_Source_To_Target_ st = new /!_$ClNRep_/_MM_Source_To_Target_(); st.testExecute(); }
    Can anybody help me out in rectifying this Syntax errror.
    Regards,
    AshwinM

    You are hardcoding the user id , password etc in your UDF. This is something will cause issues asyou move your objects across environments from Dev to Qaulity and production.
    You cannot change the user id and passwordi n your mapping code in your Quality and Prodction. Use of RFC Lookup is strongly recommended with the RFC adapter.
    I dont think using RFC Lookup API causes any perfromance degradations. We have used this feature multiple times in and have never faced performance constraints as a result of this.
    Regards
    Bhavesh

  • SAP BW Bex 7.3 Queries not working with Enterprise Portal (EP) 7.3 ABAP stack only

    SAP BW Bex 7.3 Queries not working with Enterprise Portal (EP) 7.3 ABAP Stack
    Dear Portal Gurus,
    we want to integrate SAP BW Bex Queries 7.3 into an Enterprise Portal 7.3 EP ABAP Stack only installation.
    1) We have Done SSO between EP And BI System
    2) System Object is Created
    3) When we trying to create Iview of BEX 7.3 report, its executing that report on BI server, we don't have java stack on BI System
    4) We have updated the required table in Bi system for executing the report on EP
    5) RFC is OK, System Object Test is OK, Report is working independently from Business Explorer, but not working from EP
    There no irj services available on BI system, as it is only ABAP stack.
    Can anybody help us in achieving our requirement
    Thanks in advance
    Michael Wecker

    Hi Michael,
    To integrate portal with BI you need to perform BI Portal integration steps.
    Refer to a document link below for guidance purpose.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0a5216a-349c-2a10-9baf-9d4797349f6a?overridelayout=t…
    Ensure that you have performed all these relevant steps.
    Hope this helps.
    Regards,
    Deepak Kori

  • How to retrieve all BAPIs through JCo

    Hi All,
    i'm currently using JCo to access an SAP server, and just wondering if there's a method to retrieve all BAPIs from the server. From the available online documents, i can only see methods that returns a specific BAPI with a given function name.
    If we can't get all BAPIs through JCo, whether there're some system BAPIs that i can call on to process the searching? just like sys procedure in database's context.
    Any helps are highly appreciated. Thanks

    Well, the Repository seems to only expose methods like
    getFunctionInterface() & queryFunctionInterface(), both of which certainly don't serve my needs.
    The reason why i expect JCo has such built-in "retrieving all func names" services is because i saw some tooling applications, purely written in Java, developed navigator to display all BAPIs of a SAP. I mean it could be some button say "search all BAPIs", and when the user gestures to hit that button, it just populates all BAPIs returned from server.
    While since i can't find such methods from the JCO doc, does it mean it can't be achieved through JCo?

  • How to handle multiple connection through JCO

    Hello JCo Experts,
    My requirement is as follows:
    > I need to create a Web Dynpro Java Application
    > I have multiple users (different Users on SAP System).
    > I need to execute BAPI/Module Functions through these multiple users.
    Example:
    Users: A and B
    User A has logged in from a remote location
    User B has logged in from a another remote location
    both users have logged in through SAP system Login Ids
    Two JCo Connections should be created and all the request from User A must use Connection A and request from B must use Connection B.
    > The connection should be created at first time when user login first time.
    How can I handle this scenario through JCo or other way. I have multiple BAPI/ModuelFunction which I need to execute but with User specific.
    waiting for positive response.

    Dear Shiv,
    Please need to look into [How to Configure the JCo Destination Settings|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/3103eb90-0201-0010-71af-be6f4a6f61d1]
    http://wiki.sdn.sap.com/wiki/display/Snippets/DynamicJCOHandling-Creation,Updationetc
    Best Regards
    Arun Jaiswal

  • Queries to extract slow moving stock

    Hi All,
    I have the following queries to extract the item list.  May I know how to modify this queries to filter slow moving item where Purchase date are over 90 days older than today date.  Example, today is 01/05/15 the report will list only item where purchase date are older than 01/02/15.
    SELECT T0.[ItemCode], T1.[ItmsGrpNam], T0.[ItemName], T0.[LastPurDat], T0.[OnHand], T0.[BuyUnitMsr] as 'uom', T0.[LastPurPrc], T0.[OnHand]*T0.[LastPurPrc] as 'Est Stock Value'
    FROM [dbo].[OITM]  T0 INNER JOIN [dbo].[OITB]  T1 ON T0.[ItmsGrpCod] = T1.[ItmsGrpCod]
    WHERE T0.[OnHand] >0 AND  T1.ItmsGrpNam <> 'SP001-Spare Parts'
    Thank you,
    Annie

    Hi,
    Try this query:
    SELECT T0.[ItemCode], T1.[ItmsGrpNam], T0.[ItemName], T0.[LastPurDat], T0.[OnHand], T0.[BuyUnitMsr] as 'uom', T0.[LastPurPrc], T0.[OnHand]*T0.[LastPurPrc] as 'Est Stock Value'
    FROM [dbo].[OITM]  T0 INNER JOIN [dbo].[OITB]  T1 ON T0.[ItmsGrpCod] = T1.[ItmsGrpCod]
    WHERE T0.[OnHand] >0 AND  T1.ItmsGrpNam <> 'SP001-Spare Parts' and datediff(day, T0.[LastPurDat],getdate()) > 90
    Thanks.

  • Running SQL queries through Xpress code

    Hi,
    Please give an idea to run the sql select, update queries through Xpress code.
    The code may be there in workflows or rulelibs...
    Any ideas are appreciated
    Thanks,
    Santoshanand

    There is a set of JDBC methods in the class com.waveset.util.JdbcUtil which certainly allows for selects to take place.
    check out the javadocs from the BFE especially the queryList and queryRecords methods.
    I guess the sql method could be used to run any sort of sql statement you like if you want to modify the database.
    From XPress these methods are invoked
    e.g.
    <invoke name='queryList' class='com.waveset.util.JdbcUtil'>
    </invoke>

  • Error  when i am calling BAPI_GOODSMVT_CREATE through JCO

    Hi experts,
    Error:-604 Item 001 Ntwk actvty 9000006262 0050 budget exceeded
    When we post Goods Receipt or Invoice using BAPI_GOODSMVT_CREATE/BAPI_INCOMINGINVOICE_CREATE we are getting the above error message.This error message generating when i call the BAPI through JCO.
    I have tested from front end SAP transcation MIGO and also entered data manually in BAPI
    through SE37, Goods receipt is created successfully, I feel background run created problem when BAPI called from JCO.
    Please any can suggest me the solution.

    Hi Narasimh,
    I suggest to put breakpoints in the BAPI, so that you can be sure that the expected BAPI is called and check the runtime values of the variable/fields as expected.
    As it seems from the error that the "budget exceeded" is a functional error.
    Please do the above and let me know whether you found the solution.
    Regards,
    Prashil

  • How do I invalidate the cache in the JCos on EP Portal.

    How do I invalidate the cache in the JCos on EP Portal.

    hi michael,
    for NW7.3+ environmnet this can be done via the netweaver administrator ( http://host:port/nwa).
    you can find the function under "Availablity and Performance" - "Resource Monitoring" - "JCo Monitoring" - "Metadata Cache". there you have the possibility to clear the cache for an abap application server and/or a special structure from it.
    regards,
    christian

  • How can SAP tRFC server tell client through JCo that function carried out?

    SAPs "Transactional RFC Technical Description" document (release 4.0) says in section Transactional RFC on page 6: "Finally, the server tells the client, that the function has been carried out and the client acknowledges this.".
    How can the server tell this to the client when the server communicates with the client through JCo (Java Connector)?

    System.out.println goes to console, which is not a file... This whole thing is much easier if you use standard logging:
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/5c830ca67fd842b2e87b0c341c64cd/frameset.htm

  • How to execute sql-queries through shell scripting in linux?

    How to execute sql-queries through shell scripting in linux?

    http://www.oracle.com/technology/pub/articles/saternos_scripting.html
    Two simple examples:
    #!/usr/bin/env bash
    set_orafra () {
       orafra=`echo 'set heading off
       select name from v$recovery_file_dest;
       exit' | sqlplus -s / as sysdba`
    set_orafra
    echo $orafra
    #!/usr/bin/env bash
    export ORACLE_SID=instance_name
    export ORACLE_HOME=/path_to_oracle_home_directory
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    export PATH=/$ORACLE_HOME/bin/$PATH
    $ORACLE_HOME/bin/sqlplus -s <<EOF
    connect scott/tiger@my_instance_name
    INSERT INTO table VALUES (sysdate);
    exit
    EOFEdited by: Markus Waldorf on Sep 17, 2010 12:19 AM

  • Query not showing detailed result when run through query Designer or Portal

    Hi,
    There is one query which not showing detailed result while running through Query Designer or run in Portal.
    But strange thing is that it is showing the detailed result when i run it through BeX Analyzer.
    While all the other queries don't have this problem in system. All showing the correct detailed result.
    If anyone have some idea on this issue plz let me know.
    Regards,
    Javed
    Edited by: Javed Akhtar on Jul 7, 2009 3:59 PM

    Hi,
    We can do this setting in WAD. Please check the web template and try to remove that setting. When you have hierarchy then we can display only till certain level in portal, this setting is done in web template APIs, but in bex analyzer you can see all the detailed information.
    Edited
    Go through this thread for some more detailed information
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/7b5f0a95ce12d0e10000000a422035/frameset.htm
    Regards,
    rik

  • Com.sap.ip.bi.web.portal.integration.launcher slow in Portal

    Hi experts,
    com.sap.ip.bi.web.portal.integration.launcher is consistently showing as one of the slowest-running in our NW2004s SP16 Portal (non-Federated).  Even the report variable screen is slow to load especially on first-time access. E.g., 31.8 seconds first time, 5.9 seconds second access in same session.
    But what is curious is that it sometimes the variable screen load time goes as low as 350ms if you keep trying within the same session.
    We've done the obvious - patching the BI Web App components, tuning the portal & Java runtime, checking the JCOs, load-balancing, tweaked the BI backend... but without being able to impact the performance of this application substantially.
    So I would value any suggestions for improvement!  Any tables we can cache?  Any SAP Notes to shed some light on this area?  Any Portal settings to tweak?
    Thanks, Marc

    Hi Marc,
    Slow point are to com.sap.ip.bi.web.portal.integration.launcher and
    JCO connection. Would you please check CPIC_MAX_CONV in SAP Note 314530?
    -Regarding of BI java on Web performance, would you please check the
    SAP Note 1022930?
    SAP Note 1025307 is a summary notes for performance on Web.
    Do you use antivirus software with a javascript  scanner, but still would you please also check the SAP Note 983066 because sometime this also may responsible for slow performance.
    SAP Note 948158:  Performance problems/measuring BI Java Web runtime
    One more thing would like to highlight:
    In first acess it's slow because OLAP cache was not in use, but after the first execution it's loading the variable from the cache so it's comperatively fast then the previous acess.
    Let me know, incase any confusion..
    Thank you,
    Tilak

  • BI Query through an iView in Portal

    Hi.
    I published my query into the portal through the QAD. When I run the iview, I get the foll error message:
    Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 05:27_17/10/07_0012_6006050
    See the details for the exception ID in the log file
    What could be error? It was working before we upgraded to support stack 13 on NW04s.
    Cheers
    Anand

    Hi,
    I am also facing the same issue, can you tell me how will a launch a BI query in portal?? i dont know the details.
    Your helps will very much appreciated.
    Thanks
    Ameya

  • Queries through ODBC using MS Access Frontend

    Hello,
    I am working as data analyst in Business Finance team of a large company. Our team uses Oracle as back-end server for data warehousing needs. We have been provided ODBC connections to pull out data from oracle. We use MS-Access as a front-end to access data from Oracle. I am quite comfortable in writing macros in VBA and we have written a lot of code to format our reports once data is in Excel. The only problem we face is that queries in MS Access take very long to return data (sometimes we run the queries and go home. the next day when we come to office, data is pulled out, hopefully). I tried to use pass-through queries in Access, they provide some performance enhancement but they have their own problems.
    Is there a solution to this riddle, which is cost effective and efficient? Also I am interested in learning Oracle SQL. What is the best way?
    Thanks
    Anant Basant

    Since you have posted on the BI forum why not consider the following;
    1. Oracle Business Intelligence suite Enterprise Edition (OBIEE) integrates with Microsoft Office;
    i) MS Office plug-ins give you an extra menu option in Excel and PowerPoint to connect to a single view of your information using the common enterprise information model on your Business Intelligence Server.
    ii) Answers allows you to save your ad hoc querys as a web query for MS Excel (*.iqy).
    iii) Publisher allows you to "Analyse in Excel" your data for your reports. Publisher Desktop allows to to build report layouts using template builder plug-in for MS Word.
    2. Oracle Hyperion Smart View for Office is also a tool for accessing content from Microsoft Office products. This works with Oracle Hyperion Essbase OLAP server as well as Oracle BI Server.
    On the rodamap, in the next major release due out this year, Oracle Business Intelligence 11g, I believe these 2 products, OBIEE office plug-ins and Smart View for Office will be merged into one comprehensive end user tool.

Maybe you are looking for

  • Safari is suddenly crashing on startup. Can I salvage bookmark urls?

    For no explicable reason, Safari is "quitting unexpectedly" whenever I try to open it. It clocks trying to find the Google homepage for about 20 seconds before crashing. I was using it without a hitch earlier today, and then all of a sudden, it's dea

  • How do you stop random screenshots from appearing when you open an app

    These screenshots really bug me, especially when it comes to safari.  I use safari daily and sometimes I stumble upon rather frightning images.  Because.the screenshot that appears when you open an app is always a random snapshot of when you used the

  • Acrobat freezes when I OCR pdf files.  How do I fix this?!?

    I just downloaded Adobe Acrobat 11 yesterday onto my MacBook Air. When I try to OCR documents Abobe semi-freezes, meaning that it won't let me save what it has just OCR'd, it won't let me close, it won't even let me minimize the window.  I say "semi-

  • Syncing is taking a long time

    Hi There, I hope someone can point me in the right direction here...Since downloading the latest version of iTunes, the syncing of my iPhone takes ages...Tried to use the troubleshooting but doesn't seem to work Any suggestions? thanks in advance Bil

  • HP C5180 - adding page size.

    I am trying to print some Avery Name Badges and the page keeps cutting off and not printing the last name tag. I have a new computer - HP which is running Windows 7.  I am using Avery's Design Pro program which is not fully compatible with Window's 7