Retrieve a corrupted standard SAP query (SQ01)

Hi experts,
We have an standard query that is giving a dump because an user has modified and transported it to consolidation and production systems.
I don't know if there's a way to compare versions and retrieve versions.  Right now we have accessed to client 000 and we are analysing if it's feasible to retrieve the  000 version. The query is defined as GLOBAL (client independent) and it's assigned to an standard package /SAPQUERY/FIAQ.
I'm on the right way or maybe there's another solution that we're not taking into account?
More ideas would be appreciated.
Ismael
Message was edited by:
        Ismael Mateo

Thanks for the answer Barry, this is clear.
But the problem is that all the systems are overwritten with the modified version (Development, Consolidation and Production) and we don't have the original version anywhere, therefore we can't export/import it.
As the query is a global query (not client dependent), a modification in the query also affects to the other clients.  In this case this  modification has been transported to all systems as well...
To correct that situation we want to identify the changes done by the user or retrieve the old version.
One solution would be to create one transport request from an external SAP system, with the same SAP version(ECC 5.0), and transport it to our system.
Before trying with this solution we want to know if there's any SAP standard tool to retrieve/compare query versions.

Similar Messages

  • How to Hide Empty Column In SAP Query (SQ01)

    I was crated a report in sq01 based on business requirements , but there are some fields without any content , in sq01 if you select one of output fields in the right side of the screen in the left side you can see  "List Fields" T in the list fields there is a check box , the name is "Only display field if <> 0 " , but when i check it, it doesn't work  , guys is there any one to help me to eliminate column without content , in the result of sap query (sq01) ??

    Please give reference (or hyperlink) to 10 Useful Tips on Infoset Queries (original document)
    Regards,
    Raymond

  • SAP Query (SQ01) who and when to use the report

    HI Experts!!!
    Is there somewhere recorded information:  who and when to use the report from SAP Query (SQ01)?
    Thanks

    Hi
    This topic doesn´t belong to the Service Marketplace Area.
    regards Martin

  • Hide columns for ALV list output in SAP Query SQ01/SQ02

    Hi All,
    I have a requirement to hide the columns which are empty in sap query SQ01 alv list output.
    Please let me know this functionality available in Query (SQ01) like normal reports
    Regards,
    Venkat

    Hi,
    We just can't make changes in this case as this are all system generated programs.
    WE have to write our own reports to make things flexible to match our requirements.
    Things you are asking is not possible.
    Regards,
    Suvendu

  • SAP Query (SQ01) - create and save queryies

    Hi Expert;
    We wanted to implement SAP query reporting (SQ01) tool, and already developed custom HR infoset and user groups and transported to QAS.  We experienced the problem that we can not directly "save" any queries in SQ01. We pretty much have the client opened up and set at "Changes without automatic recording".  But keep getting a "transport object create" dialog upon "save" query.  But in Adhoc (PQAH), we don't encounter same problem.    We wanted our users be able to create and save any queries directly without creating any local objects. Is there another setting that needs to be set? 
    Thanks for any information that you can provide.  Points will be awarded.
    Helen

    Hello Helen,
    in SQ01 you can save queries like in HR Ad Hoc Query (or Infoset query as it is called outside HR).
    However this is only possible in the "Standard Area" not in the "Global Area". However as Ad Hoc Query is based on the SQ0x basics it only hides this effect.
    If you are doing HR specifics you should consider the documetnation on the special HR switches:
    http://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000076208&
    In general if you are new to the topic you should consider the courses BC407 for Query Basics and HR580 for reporting in HR.
    Also to get a feeling for the different types of reporting with the InfoSet Query you can look at the following documentation:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/a8/2e7237a323427ee10000009b38f8cf/frameset.htm
    HR Reporting Tools -> Sap Query -> InfoSet Query -> Calling InfoSet Query.
    Or you can book a special training if you need a contact let me know your email adress
    Best regards,
    Michael

  • Abap coding in SAP query (SQ01)

    Hi,
    By using the a table like for MSEG if i want to retrieve data for the movement type 101 (receipts from vendor), i can build a query using this table and retrieve data - my problem starts when the system shows individual line items instead of cumulated result as mentioned in the following example.
    Example :-
    for the date 01.07.2007 - i have 10 entries (101 movement) of quantity 1,2,3,4,5,6,7,8,9,10 against a vendor V1. - the query lists all the 10 entries.
    But what is required is the cumulated entry against the vendor like shown below
    vendor    receipt
    V1         55.
    What abap coding should be written (provide the sample code) and the where should it be written in the query transaction SQ01
    Regards,
    M.M

    Hi Magesh,
    If you do not wish to see the detail lines, then you do not need to create them.  Just create the Statistics portion only.
    If you wish to see 'summarized Vendor quantity by day', then you might sort on Vendor first, then posting date second.  Or, vice versa, depending on your business requirement.  I would think that you might also wish to include Material in the sort, since each Material is probably valued differently.
    For more info on creating statistics in SAP Query, refer to
    http://help.sap.com/erp2005_ehp_02/helpdata/en/d2/cb4256455611d189710000e8322d00/frameset.htm
       Regards,
       Bruce

  • Question in SAP QUERY- SQ01,SQ02,SQ03

    Hi SAP QUERY Experts,
    I have a question for the query. Is it possible using a interface parameter for report-to-report interface? I mean when I double click on one the data record of query, I want to transfer the key information of this record to the query or report or transaction as parameters. Is it possible? If yes, could you tell me how?
    This is on SQ01, SQ02,SQ03
    Thanks and Regards
    Saravana

    hi all,
    i am having one abap standard query, i have to modify that one and i have to include another colum which needs the requirment.
    07 Depreciation /SAPQUERY/AM07 ADA FIAA - DEPRECIATION
    the above i mentioned is the query, how ever i tryed this standared to copy but i am not able to connect infoset and all stuff.
    pls guide me how to insert additional colum in that standard report or query.
    pls guide me
    thanks and regards,
    sai

  • Class to run standard SAP Query

    Hi,
    Could you help me with finding standard SAP class to run query created in SQ01?
    Thank you

    Hi,
    You can create the TCode for the Sap Query and use to run query.
    refer the links to create tcode for sap query..
    how to create a tcode for abap query
    tcode for sap query

  • SAP Query SQ01 column limitation issue

    Hi
    At SQ01, I have created a number of custom reports via SAP Query.
    Its a great tool and all, but I am running into a problem where there is a 255 character limitation when I create a Statistics view (where it summarizes values by characters I choose).
    In the SQ01 Query screen, this is controlled by the columns field under the heading list format  and if I list too many objects, I get a message stating report has exceeded 255 character limitation.
    Is there any way I can modify this value, so I can exceed it (say 500?)?
    For us, we use many query reports in our daily reporting so it would be worth modifying.
    If anyone has any info on this, please advise (or feel free to PM me!)
    Regards
    Ken

    Naimesh,
    Thanks for your reply.
    How can I accomplish this? And will it still show the data one the same screen?
    Regards
    Ken

  • SAP Query(SQ01) need to be transported

    Hi All,
    I want to transport a tcode which is using SAP query. Now I am able to send the tcode to other system but when I go to SAP query under queries and standard query area I am not able to see the version management details. I also tried going to the SAP query report through double clicking on the report name under SE93, and when I am into the report it also does not show any version details. It says "No version found".
    What I am thinking is just get the active request number from the version management and transport it to the other system.
    Can anyone of you tell me how to transport a SAP query.
    Thanks,
    Mahen

    Hello everyone,
    I am having problem in fixing this up. Let me tell you all what I have done.
    I first transported the tcode from souce system to target system.
    Because I transported the tcode so in the target system. Tcode has the report/program name as it is existing in the source system.
    Now when I transported the everything like user group, infoset and the query, I was able to see them in the target client. I tried to run the tcode.
    Tcode does not run, It says there are inconsistensies in the tcode.
    I tried to trouble shoot the problem. I found that when I was trying to run the tcode it was not able to find the report/program.
    What I did was, I generated the program for SAP query existing in the target client.
    When program was generated, I observed that It is different with the one that is currently existing for the tcode in the target client.
    This is the main problem report name are different. When I see in the se93 report name is the old one which I transported from the source system for the tcode, but when I see the report name for the SAP query by going into SQ02 it is coming different. I want to know when you create the program name for the SAP query, On what basis is the namespace of the program generated.
    SAP query program name existing for the tcode and in the source system and also in the target system(When you see it in se93) is :
    AQ01FI==========ZBSAK_LFB1====
    SAP query program name when I generated it in the target client is :
    AQFKFI==========ZBSAK_LFB1====
    Bythe way the query name is ZBSAK_LFB1
    Kindly throw some light on this.
    Thanks,
    Mahen

  • SAP Query SQ01/2/3

    Is it at all possible to link SQ01/2/3 SAP Query to an external SQL source and table (MS SQL).

    I have an external SQL2K database that i would like to be able to query from SAP without the requirement of complex ABAPing to create AD-Hoc reports/lookups.
    Is it possible to create a link/RFC to the external SQL DB and then have the tables and Fields accesable by creating an Infoset, which i can then query.

  • SAP Query (SQ01/SQ02/SQ3)

    Hi Experts,
    I have created query (SQ01/SQ02/SQ03) to display below fields: Hazard Code, Device Location Number, Hazard Code Description, Loc. Created by, Loc. Created on Date.
    Now in the output list I want to display a summary of all the count of records by the key characteristic for the query. For example, the Device Location by Hazard Codes query should give us a summary of the count of all device locations per each hazard code.
    Practical Scenario:
    Device Location Hazard Code
    40002748              01
    40002751              05
    40002481              07
    40002746              04
    40002749              04
    40002994              01
    Then in this case it should either display additional third column or additional row saying:
    Device Location Hazard Code
    40002748              01
    40002994              01
    Total Hazard Count: 2
    40002746              04
    40002749              04
    Total Hazard Count: 4
    40002751              05
    40002481              07
    or
    Device Location Hazard Code Total Count
    40002748              01                
    40002994              01                 2
    40002746              04
    40002749              04                 2
    40002751              05                 1
    40002481              07                 1
    I checked statistic tab present in SQ01 also URL [http://help.sap.com/erp2005_ehp_02/helpdata/en/d2/cb4256455611d189710000e8322d00/frameset.htm] but still I am not able to figure out how to display this data.
    Please let me know.
    Thanks

    Hi,
    If you're getting the output in ALV Display, you can simply click on the location column & then click on the Sub-Total button on the ALV toolbar, it will sort all the records according to the location (1 or 2 or...) & give you the total/count of the particular location.
    For any further clarification, let me know.
    Prateek

  • Transport request for SAP Query - SQ01, SQ02, SQ03

    Hi Experts,
      I have a doubt, Whether we can have request for SAP Query which have created from Transaction SQ01.If Yes then How to do that....?
    Thanks in Advance,
    Chetan Joshi

    Hi,
    Use the program RSAQR3TR
    Thanks
    Naren

  • Question regarding SAP query (SQ01& SQ02)

    Hello everyone,
    I have been assigned a task of creating a SAP query in SQ01. The report requires me to incorporate a drill down functionality.
    i.e. when I double click on a material I should be able to see the components of that material.
    My question is "Is it possible to incorporate a drill down functionality in a Query through SQ01".
    If yes then how.
    Please provide me with some documentations or example codes for this.
    Regards,
    Deepti Jain.

    Deepti,
    There are 2 ways to get the output  From SAP query.
    1.Under record processing :
          if you don't write any code in Start of selection event for output
         (WRITE statements)  we can not have any control on that.
    2. Under start of selection event :
         If you write any code in START OF SELECTION event like
         get the data in internal table and loop the internal table
         In loop WRITE statement to display with format and try to use
        Interactive report commands Here. I think it will work fine.

  • Is SAP Query (SQ01) supported by Visual Composer?

    Do you know if it is possible to easily integrate a query developed in an ABAP backend system via SAP Query (transaction SQ01) in Visual Composer?
    Sergio

    Hi Jorn,
    I must go, but I copy you a Link from a presentation. I don't have the time to control it.
    Hope it helps.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/2f/741a403233dd5fe10000000a155106/frameset.htm">sap.help.com</a>
    Best Regards,
    marcel

Maybe you are looking for