HANA - Accelerate SQ01 Queries

Hello,
We recently went live with HANA Side Car Configuration and have configured standard Financial accelerators available in HDBC.
We have also accelerated some custom Z reports and have got great performance improvement.
Next we would like to tackle a no. of SQ01 queries.
I created the accelerator for one of the query and loaded using RDA_MAINTAIN. We did no see any significant performance improvement.
Is it possible to accelerate SQ01 queries ? Has anyone accelerated SQ01 queries ? 
Regards,
Manoj

Hi Manoj,
You will have to do some analysis to identify if the query can be accelerated.
I would suggest you to trace the report using ST12 and then have a look at the query in
SQL cursor cache.
You can access SQL cursor cache from DB02/DBACOCKPIT transaction. You will see the total response time of the query divided into I/O time, CPU time and others.
In general, you will see benefits with HANA only when I/O time is maximum.
You can even think of re-writing the query. e.g. In few cases writing JOIN will help in improving performance rather than relying on FOR ALL ENTRIES.
Regards,
Harshad.

Similar Messages

  • SQ01 Queries usage tool

    Hi all,
                    Is there any tool to find out recently used SQ01 Queries.
    i.e can we find if any queries are not being used since long.

    Hi Vidya,
    I am afraid there is no such tool as a one-click solution.
    However there are other options that might help you.
    1) For example you could check out whether the report is already generated.
    To find out the report name for a query go to Query->More functions->Display Report name. If it isn't generated the query was not executed since the last change or system copy if you look in a Test system.
    2) Also there are BASIS tools that can show the usage of transactions and reports. Using those you might be able to find out more. Ask your Basis colleagues for more info.
    Best,
    Ralf

  • SQ01 queries disappeared

    Hi all,
    In our production system, Users are reporting saying the query assignment done through (SQ03) has disappeared, that is when users were created (long back in 2006) queries were also assigned, but all of a sudden the assignments are deleted. We as a Security team have not removed this, So Please let me know if there is a way to trace these changes.
    Regards
    Sushma

    Hi Julius,
    We do not have any short dumps, please let me know transport log of which component I need to check, we didn't have any security transports moving, but users reported that they lost access, if you advice what kind of transports effect I can go back check with basis team on that.
    Thanks a lot for your time
    Regards,
    Sushma

  • SQ01 Queries; Any rules / Coding posssible?

    Hi,
    I must make a query and want to use TX SQ01.
    When I join the 2 tables I have the issue that the link field has a leading zero in one table and without leading zero in the other table.
    So the join will not work.
    I am wondering if there is any option to implement a short coding (contatenate '0' with number on one table in the query, I did not find any option in SQ01 however perhaps someone knows....
    Thanks in advance,
    Thomas

    Hi,
    1) I suggest better dont select Table join better select direct read from table. Give the Standard Table here.
    because if you select the table join the join condition is automatically assigned.
    2) The pop up appears "Field Groups" I would suggest using the third option (create empty field groups)
    because you donu2019t need all the fields (nobody does), so itu2019s better to choose whatever you really need
    from scratch (empty) to improve the query performance. In next screen, choose which fields you want to include
    into the infoset, itu2019s fairly simple actually because all you need to do is click and drag the fields
    from the left pane into the right pane.
    3) Click u2018Codeu2019. in that code selection having so many event and data declaration also. Please write the code over here.
    4) In the declaration better declare one internal table.
    5) in the start-of-selection write the code as below:
    loop at standard table to wa.
    "call CONVERSION_EXIT_ALPHA_OUTPUT get the field values as leading zero's
    "pass into the newly created itab
    append wa to it.
    endloop.
    "and write the select query with for all entries.
    Please see the below link its sample of SQ02.
    www dot saptechnical dot com/Tutorials/SAPQuery/ABAPCode/Page1 dot htm
    Regards,
    Dhina..
    Edited by: Dhina DMD on Jun 3, 2011 11:03 AM

  • Problem in Queries SQ01

    Hi to all,
    I am working on SQ01 Queries, I need to change the priority of the feilds. let say example material number will dispay last on the bottom of theb screen. it needs to display in top of the screen. How we will change the priority of the input feilds. can any one help.
    Thanks,
    Vamsi

    Dear vamsi s
    Its my suggestion that if you will make the reports by one of the reporting tool SQVI
    Its very user friendly and easier to make the reports rather then Queries
    Please let me know for more info
    Regds
    shailesh

  • Regenerating Queries in ECC 6.0 using RSAQ_GENERATE_PROGRAM

    Hi
    In previous 4.7 upgrades, we've been able to use the RSAQ_GENERATE_PROGRAM function module to regenerate the programs for SQ01 queries, by building a table of the queries and passing each one in turn to the fm.
    We've recently embarked on a ECC6.0/Netweaver 7 upgrade and function module gives the appearance of working ok, but doesn't generate the program.
    Does anyone have experience in this area?
    Thanks
    Chris

    Any suggestions?

  • SQ01 SAP adhoc query error

    Hi,
    We face a very peculiar problem. A particular user is not able to
    execute the SQ01 queries for some reasons. All the other users are able
    to execute the queries correctly.
    When this particular user is trying to execute the query, he gets an
    error message that says
    "No archive information found for object type and document type"
    The details of this error message is as follows:
    No archive information found for object type and document type
    Message no. PT019
    Diagnosis
    No information was found about optical archiving. This may be due to
    either of the following reasons:
    1. No valid archiving parameters were passed
    2. Your system is not configured for optical archiving
    System response
    Processing is cancelled.
    Procedure
    Specify valid archiving parameters or check whether your system is
    configured for optical archiving.
    Please let us know why this error is coming and that too for this user
    only. We've checked the other settings like Infoset - user-group
    assignments etc which are perfectly fine.
    Can anyone figure what could be the issue?
    Thanks & regards,
    Sam

    Hi to all,
    I have the same problem as you. I have an user that cannot execute any query. When this particular user is trying to execute the query, he gets an
    error message that says
    "No archive information found for object type and document type"
    The details of this error message is as follows:
    No archive information found for object type and document type
    Message no. PT019
    Diagnosis
    No information was found about optical archiving. This may be due to
    either of the following reasons:
    1. No valid archiving parameters were passed
    2. Your system is not configured for optical archiving
    System response
    Processing is cancelled.
    Procedure
    Specify valid archiving parameters or check whether your system is
    configured for optical archiving.
    Please let us know why this error is coming and that too for this user
    only. We've checked the other settings like Infoset - user-group
    assignments etc which are perfectly fine.
    IT IS THE SAME ISSUE.... PLEASE CAN ANYONE TELL ME THE SAP NOTE ... OR HOW TO FIND IT... HOW TO FIND THE TABLE ENTRY AND DELETE IT
    Moderator message - Welcome to SCN.
    Moderator message - But please do not use all caps or use words like ASAP - everyone's problem is important
    Edited by: Rob Burbank on Sep 23, 2009 5:03 PM

  • Candidates for HANA sidecar usage

    Hello folks - we have a financial landscape running ERP6 EHP4 on Oracle RDBMS, and are considering 2 options
    1) once ECC/ERP on HANA is available - migrate to HANA from Oracle (so the entire system would run on HANA)
    2) setup a sidecar HANA - and then use it for a select group of tables/processes - to help improve performance against those objects (so data from the ERP system would get pulled into the HANA sidecar and queries/jobs would run against the sidecar instead of the original ERP system itself)
    For the 2nd option - is there any SAP service or tool that can help us pinpoint what tables would be the best candidates for use in the sidecar?  I can't find this anywhere but would think SAP would be more than happy to guide customers to anything that gets them using HANA. (the first option is probably more long-term for us BTW)
    Thanks

    Hi Ben,
    As you have mentioned, Option 1 should always be the long term approach. However , to leverage the benefits of HANA immediately, suggested approach could be to choose option 2, i.e. HANA is used in side car approach, where in the SAP products - ERP, CRM, SCM etc continue to use classical database , but the table and data in these are replicated to HANA database. This can be done for selected scenarios or select transactions / business processes - ex: - CO-PA or Custom transactions / reports that have huge performance issues.
    Following SAP tools can be used to identify potential programs/scenarios for Optimization.
    SQLM- SQL Monitor - This logs all the SQL statements that are executed on an ABAP application , would help to identify the programs that have performance issues due to SQL statements. The log for around 1-2 weeks can be checked to identify potential areas of optimization.
    SWLT- Performance Tuning Worklist    - Used to combine static check results with SQLM snapshot to identify the hotspots  within programs. We can use this tool in the production system for few days to identify the programs/transactions that need optimization.
    Enhanced SCI- Code Inspector  - this tool can be used to perform Static checks within ABAP programs and identify code patterns that could be optimized. This can be very useful for Custom ABAP programs and can be readily used in dev/quality systems as well.
    SAP also suggests the use of  Business scenario recommendations report for SAP Business Suite powered by SAP HANA, This report identifies the specific business value scenarios most relevant to you after analyzing your current production usage and your productive SAP landscape. Although this is suggested for option 1, same can be used to identify potential areas of Optimization. Details of the same can be found on www.suiteonhana.com , you will need to upload your production log details so that you can receive your results report by email. The site also has a sample report.
    Regards,
    Suma

  • SQ01 query selection

    In SQ01 queries are net getting selected by single click, double clicking can select a query.
    Once i double click a query i cannot select any any other query (even by double clicking) .
    Please help...its urgent......

    There is an OSS Note for this.
    Note 1161464 - SQ01: Unable to double-click to select a query.
    Request to the poster (and in general): It helps community to know the resolution of the issue too. Lets make it two-way street, post problems (we all do) and when resolved, the resolution.
    Thanks.

  • Report select options similar to Query output options : Urgent !!!!!

    Hi All,
    I have developed a custom report . The output options of this report needs to be included in Selection screen like in SQ01 queries, there should be option to output the report results in different formats like List Viewer, ABAP List, Spread Sheet etc.,. 
    If some variant is selected then user will select whatever the format he want .
    the output should display in that format .
    How I can acomodate all these options to output a report .
    How can I do this ..Pls help me its Urgent !!!!
    Points for Sure !!!
    Regards,
    Varma

    Hi,
       Try this code,
       at user-command.
       case sy-ucomm.
       when 'disp'.
       write:.......   "abap list
       when 'buton1'
        call function 'reuse_alv_list_display'.
         endcase.
    i hope it gives ur answer
    Reward if it helps.

  • Any table or program to get the number of records in P, A and F tables

    HI all
    any table for program to get the number of records in P, A and F tables. I want to create SQ01 queries to get the status of number of records. We are gng for a production cutover next week. Want to capture all the data before and after Upgrade cutover.
    Also suggest me how to create sq01 queries.
    Thanks in advance
    regards
    Janardhan KUmar K.

    Use Transaction LISTSCHEMA to see all the tables assosciated with ur cube
    Total number would be what you find in both the E & F fact tables. If there is no compression in the cube then E table will be empty.
    Alternatively u can use se16 transaction and enter E table and F table manually
    E table - /BIC/E(Cube name) and Ftable -  /BIC/F(Cube name)
    Or else u can go to the manage of the cube and without selecting any field for O/P and ticking the option output number of hits execute. The total of Row Count will give u the total no of records in the cube.

  • Transaction Code to AD Hoc Query

    I have created an Ad Hoc Query and Given it a name and saved it.
    Next Time when I wanted to execute that query I go to S_PH0_48000510 - Ad Hoc Query , select that query and press on Output to get the result. In between I have selected the setting "Start via selection screen" in Extras>Settings.
    Hence I get into the selection screen and while I execute, I go to the output result.
    What I am looking for is how to assign a transaction code to this query that I have created, so that I execute that transaction code I am directly into the selection screen. By means of this I can skip some of the steps like going to S_PH0_48000510 - Ad Hoc Query and then selecting the query and then the other steps.

    Both the ad-hoc and the SQ01 queries create a program that can be assigned to a transaction.  However, the program name that is generated contains a 2 digit code that is specific to the client you are working on.  This makes it hard to run the same transaction in DEV, QAS, and PRD.  Instead, create a parameter transaction that runs the START_REPORT transaction with parameters set that run the D_SREPOVARI-REPORTTYPE=AQ, D_SREPOVARI-EXTDREPORT=<sap query name in SQ01>, D_SREPOVARI-REPORT=<user groups belonging to the query>

  • Find SAP-Query from transaction code

    Hi All,
    I want to find the query related to transaction code.
    Someone has created query and assined t-code to same.
    I want to make changes in the same query but i m not getting that query.
    I dont know the infoset or user who created it.
    Suggest me the way to find it .
    Regards,
    Deepak.

    Hi,
    1.Goto SE93 and enter your transaction code.
    2. Screen Fields :
        I. D_SREPOVARI-REPORTTYPE  : should be 'AQ' in case of SQ01 queris.
        II. D_SREPOVARI-REPORT: Gives the name of the user group and query areas/environment
         for ex. D_SREPOVARI-REPORT = TEST          G 
         Means user group 'TEST' from 'Global Area' i.e. 'G' stands for global area and if G is not there then user group is in 'Standard 
         area'
        III. D_SREPOVARI-EXTDREPORT : Gives the name of the query.
    3. Then from SQ01 select the respective area global or standard.
    4. Select respective user group by clicking on 'Other User Group ' button (Ctrl + F7 ) and then you can find out the required query in that user group.
    Let me know if this suffices your requirements.
    Regards,
    Priya Bhat

  • Translations in Dashboards for BI Platform

    Hi,
    Can text pool (new feature of DS 1.4) be used for Multilanguage support for those Dashboards which are to be deployed on BI Platform (not on NW Platform)? Any link/documentation will be really helpful.
    The SAP release documentation does not mention anything about BI Platform. If Text Pool is not supported in BI Platform mode then how do we translate the text of the elements (buttons, dropdowns etc.) as well as the column headers in the dashboards when the source is HANA View/BEx queries.
    Also, will the translation, performed through Translation Manager for a universe, be supported in DS 1.4 when we take universe as a source?
    Regards,
    Piyush

    Hi Piyush,
    the text pool on BIP is planned to be supported in 1.5 release, coming end of May 2015.
    in release 1.4 only local and NW mode is supported (see PAM https://service.sap.com/~sapidb/012002523100018972812014E).
    For the text pool also the translation manager will be used.
    Karol

  • Obtaining QM Historical Data for SPC Analysis

    Can someone please advise me if ECC 700 has a standard BAPI/RFC to return historical QM data.  I have searched through BAPI Explorer and didn't not see anything which would fill this requirement.
    What I did find was the following document, [SAP QM Productivity Pack for SAP xMII (Starter Kit)|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0b0cf92-af8b-2a10-d8a5-f1e115fa5f7e], which provides detailed code to create an custom RFC. Before proceeding down this path, I wanted to confirm that I did not miss something.
    Thanks,
    Michael Teti
    Senior Solutions Consultant
    SeeIT Solutions, LLC

    Michael,
    Here is the link.  This is considered old tech, but I have not gotten anyone's specific input on why it should not be used.  There may be reasons.  I have used it twice, once just playing around and with only one caveat, it was pretty easy to implement. 
    [SQ01 Queries|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/390b889b-0e01-0010-e4af-c9a062b9b880]
    The document covers 5 or so RFC calls.  You will need to check the field names since they are defined internally and do not use the table column names (of course).  Probably the only thing left out of Sam's document.  One of the RFC calls will give you the internal field names.
    You will also need to create your own query in SQ01 in SAP prior to doing the other stuff.  I think there is a way to do it via the BAPI calls, but I could never get it to work the one time I spent half a day trying.  It might have been a permissions issue, so if you want, go ahead and play around. 
    Good luck,
    Mike

Maybe you are looking for

  • Error while creating transfer rules.

    Hi I am creating transfer rules and a error  message says " IS_00_BB does not exist". (IS_00) is the desc. of the info source) can someone help me on this???? I had created transfer rules for another cube in the same info area, but no error had come

  • Dynamic Adapter Configuration

    Hi, I have a need to do the following in a receiver adapter (SOAP/HTTP): - Dynamically set the complete web service url (that is http://host.com/somePath) - Dynamically set SOAP action in HTTP header - Communicate via HTTPS Both URL and soap action i

  • Wireless file/media transfer to/from Xperia Z3 to/from PC/Mac

    What is the easiest way you would recommend for file/media transfer to/from Xperia Z3 to/from PC/Mac wirelessly?

  • Problem with method "write" in POI Library.

    Best regards, I have the following problem: I have a application in Oracle BPM 10g, that generates a file in Excel. First it upload a template, then query the data base, and storage this data in "POI Object" of type "XSSFWorkbook"; all of the this, a

  • ALV Sort

    Hi Guru's i am use alv sort in my report . i use following code. but it gives me DUMP ERROR. my code like this. DATA : it_sort TYPE slis_t_sortinfo_alv WITH HEADER LINE. FORM do_sort .   it_sort-spos = 1.   it_sort-fieldname = 'vbeln'.   it_sort-tabn