Modify existing SAP Query / Quickview

Hello,
Greetings!
We have a requirement to modify an existing SAP Query. This query was created much earlier by a user who is no longer present.
We have the query name, user group, and the program for the query. This query, we assume was created using tcode SQVI.
However, in tcode SQVI, we cannot see the query as we have not created it.
I understand that this is because the quick view has not been converted to query.
I have referred:
SQVI - Quick view modification
http://wiki.sdn.sap.com/wiki/display/ABAP/QuickViewer
In tcode SQ01, we are unable to see the query, as we get an error that the user group does not exist.
In table AQLTQ, we get an entry for the query and the user group. But the user group does not exist in tcode SQ03 as well.
In this case, how to we convert the quickview to query? Or is there any other way to edit the exisitng quickview/query?
Kindly help.
Best Regards,
Smruthi

Hello Suhas,
Thank you for your reply.
I checked in both the tables.
There exists an entry only in AQLQCAT(Local or Client-dependent queries). We now have the infoset as well, along with the user group and the query.
When I check for the infoset in SQ02, I get an error, "Infoset <infoset name> not created"
The user group is the same as that found in table AQLTQ.
Best Regards,
Smruthi

Similar Messages

  • Populating custom field in an existing sap query

    HI,
    I am making changes to existing query . Query already had a qty field, now I need to display the % of qty delivered for every
    vendor  as a subtotal text for every vendor.
    I added the custom field to query and can display it as subtotal text. But I am not able to populate the value into it.
    Because, When I sort by Qty and sum by Qty, I am getting value. Now I need to divide the sum of qty / number of items, which i dont get until I display the output, So my subtotal text field is always zero.
    I
    I debugged the program generated by query, it is using select--endselect and putting in %dbtab(which is not defined in query) .
    To get the final value, i cannot change standard code generated from Query/Infoset and add teh LOOP ..ENDLOOP and make At new logic for vendor.
    Any suggestion on calculating the % of delivered qty,..
    Thanks

    if your query is based on an infoset, you just have to put the formula in code of infoset

  • SAP query load to Oracle

    Hi,
    I'm looking for the best way to automate the results of an SAP query (Quickviewer) to Oracle. The query would run nightly. I searched all SND forums but did not find much. I also looked at the SAP application help for Quickviewer.
    Regards,
    John

    David,
    Just an FYI the error message that you have found is not connected to your BLS transaction but rather the default IDoc listener trying to connect to something that doesn't exist.  This listener will automatically start each time xMII starts, as a result you can set it up to connect to an RFC destination or delete the default configuration and it will go away. 
    Now onto your issue; How many Production Orders are being returned from the BAPI?  How are you loading each of them into Oracle?  How much memory is allocated to ServletExec vs. How much is available on the machine?  By default xMII will limit all SQL/Tag queries to their <b>RowCount</b> with a max at 250k rows but this does not apply to the JCo call.
    My suggestion here is to look for the other error message that pertains to your transaction which may reside in the ServletExec logs and not xMII, they can be found on your xMII machine here: http://localhost/servletexec/admin/login.jsp
    Hope this helps.
    Sam

  • SAP Query - Modfication/Changes

    Hi Experts,
    I am new SAP Query, so i have come up with this issue. Please help.
    I have an infoset query with me, also a SAP query and a transaction with some Z transaction code, the program name as taken from System->Status is AQZZZSD=========Z_SD_ORD_WO_ST.
    1. Now I can see code in the program, but I cant see that much of code in the SQ02 under extras tab. 
    2. Moreover, I have to change the code to address new requirements. How can I change the code in a SAP query???
    What are the ways to change an existing SAP query's code ???
    Thanks,
    Chandan

    Hi Chandan,
    Go to Infoset (SQ02) in change mode, click on Code icon (Sfift + F8) displayed on Application bar.
    You will find, 'Code section' where different events are listed. You can write your code in any of listed events depending on your need.
    For ex. if you want declare any variable in u2018DATAu2019 Section, to initialize any variable can use INITIALIZATION event.
    If you want to perform operation on selection screen you can use 'AT SELECTION-SCREEN OUTPUT'
    And most important event for this tool is Record Processing event like if you want to have any condition and calculation or modification of field value, you can write code in this event.
    END OF SELECTION BEFORE LIST--> You can write header information in this event. After this information, your output is displayed. (User WRITE statement to write your information)
    END OF SELECTION AFTER LIST--> You can write footer information in this event. After query output, information mentioned in this event is displayed.
    Note: END OF SELECTION BEFORE LIST and END OF SELECTION AFTER LIST work only when output format of your query (SQ01) is u2018ABAP LIST'
    GET and GET LATE: When you select a logical database as a data source of an infoset, you get this additional event to maintain the code as per your need for LDB.
    Please let me know if you need any further details.
    Regards,
    Dinesh
    Edited by: Dinesh Tiwari on Sep 30, 2009 7:21 AM

  • Add new manager field in SAP Query

    Hi All,
    I need to find manager for the employee. Is RH_GET_LEADING_POSITION right function module?
    After finding the manager I need to add new field 'Manger' in the existing SAP Query. Please can anyone help me inserting additional code into the SAP Query.
    Please kindly help me
    Thanks in advance.
    Archana.

    Thanks for the reply. But my question is there is no direct field called manager I need to write a piece of code to find the manager and insert in the existing sap query. I want to know is there any function module to find the manger where import parameters are pernr and export parameter I want manager objid or pernr.
    Please help me...
    Thanks,

  • Trasportation of sap query

    Hi,
    I did the changes in an existing SAP QUERY which didnt given any SAP OBJECT DIRECTORY ENTRY (i mean no request was given for that)
    Now how do i transport the changes into quality system .
    can any body tell methe procedure to accomplish this.
    thanks,

    Hi,
    You go to your infoset in development system,
    Goto->Envoronment->transports,
    Select the checkbox, Export
    Remove check box TestRun,
    Select radiobutton Infoset or Query which ever objects you want to transport,
    and execute .
    it will automatically create a transport request,
    now go to quality system,
    do the same checks, & select option IMPORT,
    give the TR number,
    it will be imported to Quality system.
    Regards,
    Raghavendra

  • How to change order of columns in SAP Query

    Hi,
    I am working on SAP Query for first time using txn SQ01. Have some doubts on it.
    ->  If i want to change the order of the fields in the output in an existing sap query, i could not find any
       way other than deselecting the fields and again selecting them in the order they want to be. Is there any
       other way for this ? By the way, can we create an SAP query without an info set.
    Thanks in Advance.

    Hi Prasad,
    Please take notice of the [Forum Rules of Engagement |https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] ]
    here you can read
    Step 3: Provide Feedback and an Update
    Finally, it's nice to follow up with a brief update if you found the solution. People may try to help not because they know the answer, but because they are interested in solving the same problem; or people may just encounter the same issue in the future and be searching the archives. It's a good way to give back to the community, irrespective of whether you are a beginner or an expert.
    We are interested not so much that but much more how you solved your question.
    Thank you for cooperation.
    Clemens

  • Reading Archived Data Through SAP Query Report

    Dear SAP Gurus,
    My client archived their SAP data in a particular year range and all the Z reports have to modified to read these archive data. Normal ABAP reports can be modified to read the archive data without no problem.
    But there are two Z SAP query reports which should be modified the same way so it will be able to read archive data.
    What is the best method for this? Does SAP Query tool provide facility to read archive data? or do I have to append the code?
    Thank you in advance for your help
    Regards,
    Isuru Fernando

    >
    Isuru U Fernando wrote:
    > hi Manthan,
    >
    > Yes I used these FMs and read the data without any problem for normal ABAP reports.
    >
    > But SAP query report is the problem. Is it advisobale to modify the SAP query generated report source code? since it is a system generated report.
    >
    > Regards,
    > Isuru
    No, do not adapt the SAP generated report source. The reason is: every time someone re-generates the query from tx. SQ01 your changes will be lost.
    You could add the functionality Manathan gave you to add to the infoset of said query - but to be honest: in my opinion that is shooting nuclear rockets at flies. Also you run the risk that every change of the infoset (add a join/delete a join) requires adjustment of said coding you applied ... and where will you be then? Fancy repairing the same query over and over again? Try talk sense to your client - go for a Z-report here ...

  • To Find the SAP Query from the tranaction code or the program name

    Hi,
    I have a situation wherein I have to modify the sap query associated with an transaction code.But the problem is that I am unable to find the SAP Query.
    <b>Please let me know how to find the SAP query from the transaction code or the program name.</b>
    Thanks and Regards,
    Rupesh

    Hi Rupesh,
    1 use FM
      RSAQ_DECODE_REPORT_NAME
    2. This is one of the best and easiest way.
    3. It will provide u the following info.
       WORKSPACE
       USERGROUP
       QUERY    
       CLIENT   
    4. Thru TCode U must know the program name first.
       This can be discovered using SE93.
    Hope it helps.
    Regards,
    Amit M.

  • How to find the report for the SAP query (Query exists in table AQLQCAT)

    Hello Experts,
    I need to find the tables used in the SAP Query but i don't have access to transaction SQ01,SQ02 and SQ03 to check the same.
    Therefore i checked table AQLQCAT and got the SAP Queries in the system. Then searched for the reports that would have been generated for the same passing  AQusergroupquery name*  in transaction SE38.
    But unfortunately the program does not exists for the given paramenter.
    Could you please let me know how to get the report name for the SAP Query.
    Secondly please suggest any other way of checking the tables used in the SAP Query.
    Also the table name from where i can download the SAP Queries.
    Thanks in advance.
    Regards,
    Rahul Sinha

    I suggest you a simple method.
    Execute the query. When the selection screen is showed,  go to menu and click to SYSTEM->STATUS.
    Check the program name and double click it to access the program code.
    Search for tables or functions into the source code in order to understand where data are taken.
    If you do not find anything , go to the program atttribute and check for logic database, sometimes they are used....
    Best regards.

  • Check Conversion Exists in SAP Query

    Hi Experts,
    In our SAP HCM, we can interchangebly use SAP pernr and Singapore NRIC in PERNR field. SAP has provided a utility to map Singapore NRIC with SAP number in the pernr field based on IT185.
    SAP number can only been seen in Txn Code SE16. After displaying the results, click on
    Settings > User parameters > Data Browser > Format > Check conversion exists.
    On switching off this option, SAP number is displayed instead of NRIC.
    When running Ad-hoc or SAP query, the system is displaying Singapore NRIC in the PERNR field. Our users want to have both the options so as to display NRIC and SAP number in this field.
    I have checked, there is no 'Check Conversion Exists' function avaliable in SAP / Adhoc query.
    Does anyone know, if it is possible to display SAP number in the PERNR field in query. Any help will be greatly appreciated. Thanks.
    Rgds,
    AJ

    Hi,<br>
    If it SAP query from infoset then you have to use action infotype and select pernr.
    If it is standalone SAP adhoc Query, then create/ change the query to add table PA0001 and PA0185. Join it with pernr field, In the output select the pernr and NIRC number.
    Good luck<br><br>
    Thanks,
    Amosha
    <br><br>"Known is a drop & unknown is an OCEAN!"

  • I need to know the user who has created/modified a SAP Bex Query and WAD

    Hi!
    I need to know the user who has created and modified a SAP Bex Query and SAP  Web Application Designer. Does it possible to know this information by a table or view?
    Best Regards
    Ramon Sanchez

    Hi,
    In BEx query, when you click "Queries" to open the query, the list of queries are displayed. Highlight the query, click on the "Properties On/Off' icon(right most on the top), you would see all the details.
    In WAD, before opening the template, click on "Properties On/Off'" icon to see the details.

  • Could anyone provide the complete manual of SAP Query Creation

    Hi,
    Now I am learning to create SAP Query.
    I viewed many questions and answers about SAP Query.
    Some mentioned this,and some did that...
    Could anyone provide a complete manual of SAP Query Creation for developers.
    I can create SAP Queries step by step with it.

    http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
    Step-by-step guide for creating ABAP query
    http://www.sappoint.com/abap/ab4query.pdf
    ABAP query is mostly used by functional consultants.
    SAP Query
    Purpose
    The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
    Features
    SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
    All the data required by users for their lists can be selected from any SAP table created by the customer.
    To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
    ABAP Query, as far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
    To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly
    use either SQ02 ans SQ01
    or SQVI tr code
    for more information please go thru this url:
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
    http://goldenink.com/abap/sap_query.html
    Please check this PDF document (starting page 352) perhaps it will help u.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
    check the below link will be helpful for u
    Tutorial on SQVI
    once you create query system generates a report starting with AQZZ/SAPQUERY/ABAGENCY2======= assing this report to tr code for the same
    useful
    http://www.erpgenie.com/abap/code/abap47.htm
    regards,
    Prabhu
    reward if it is helpful

  • Issue with Infoset of sap query

    Hi All,
    There is an existing 'z' Sap query and the inofet is created using  the data source 'Data retreival by program'(Data structure:BAPIEXPLOSIONLIST).
    I got the requirement to add onemore radiobutton(for Costing Run) to the selection screen of exsiting query and when the radio button is clicked on, it should display two more fields (Costing Run name and Costing Run date).So,I have added the below lines in the existing Infoset.
    1.Under the extras button and in data read program tab,I have added the below code for radio button and the two fields for selection.
    PARAMETERS p_cstrun LIKE jest-inact RADIOBUTTON GROUP cost.
    SELECT-OPTIONS sp_kaid FOR keko-kalaid  MODIF ID s1.
    SELECT-OPTIONS sp_kadt FOR keko-kaladat MODIF ID s1.
    2.Under the extras button and in code tab and in at seletion-screen output,I have added the below logic to enable those fields dynamically.
    LOOP AT SCREEN.
        IF p_CSTRUN EQ 'X' AND SCREEN-GROUP1 EQ 'S1'.
          screen-invisible = 0.
          screen-active = 1.
          MODIFY SCREEN.
          elseif p_CSTRUN NE 'X' AND SCREEN-GROUP1 EQ 'S1' .
          screen-invisible = 1.
          screen-active = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    After adding this,the existing selection-screen format has been changed.Please look at the below changes.
    ->Actually,there are two blocks in the existing screen with block titles.Now they are replaced with some different text
    ->And one more block for output format and under that the layout field selection was there in previous selection screen.Now this layout field text is changed to 'Sap Listviewer' and some butto has also come additionaly in the output format.
    How to retreive the old selection-screen with previous texts and formats.
    Can any one suggest to resolve the issue?
    Thanks in advance!!
    Best Regards,
    Mounika

    This is the complete code of selection-screen
    SELECTION-SCREEN BEGIN OF BLOCK issel
                              WITH FRAME TITLE text-S01.
    SELECTION-SCREEN SKIP.
    PARAMETERS p_cstcur LIKE jest-inact USER-COMMAND ex DEFAULT 'X'  RADIOBUTTON GROUP cost .
    PARAMETERS p_cstfut LIKE jest-inact RADIOBUTTON GROUP cost.
    PARAMETERS p_cstprv LIKE jest-inact RADIOBUTTON GROUP cost.
    *Begin of Insert CBDK972000
    PARAMETERS p_cstrun LIKE jest-inact RADIOBUTTON GROUP cost.
    SELECT-OPTIONS sp_kaid FOR keko-kalaid  MODIF ID s1.
    SELECT-OPTIONS sp_kadt FOR keko-kaladat MODIF ID s1.
    *End of Insert CBDK97200
    SELECTION-SCREEN SKIP.
    PARAMETERS p_niv_g LIKE jest-inact DEFAULT 'X'.
    PARAMETERS p_niv_a LIKE jest-inact DEFAULT  ''.
    PARAMETERS p_niv_f LIKE jest-inact DEFAULT  ''.
    SELECT-OPTIONS sp_disgr FOR marc-disgr MEMORY ID lev NO-DISPLAY.
    SELECTION-SCREEN SKIP.
    PARAMETERS p_newfil LIKE jest-inact DEFAULT  ''.
    SELECTION-SCREEN END OF BLOCK issel.
    SELECTION-SCREEN BEGIN OF BLOCK csel
                              WITH FRAME TITLE text-s02.
    SELECT-OPTIONS sp_mtart FOR mara-mtart OBLIGATORY
      NO INTERVALS NO-EXTENSION MEMORY ID mta.
    SELECT-OPTIONS sp_werks FOR mbew-bwkey OBLIGATORY
      NO INTERVALS NO-EXTENSION MEMORY ID bwk.
    SELECT-OPTIONS sp_matnr FOR mara-matnr MEMORY ID mat.
    SELECTION-SCREEN END OF BLOCK csel.

  • Hi sap query doubt

    where shud we add two additional fields in SAP query ? actually i am not able to locate the query but i have the program whch is generated along it . so in whch section of the query i shud write the logic to get two additional fields ?

    Hi,
    Already there are some Infosets (tables) defined in that query.
    Go to that infosets and add extra fields which are there in those tables
    or add extra infoset(table) and link it to the existing table with the key, then add that table field.
    No need to write the code.
    Only thing is to select that field on to the Selection screen or on to the output is required.
    See the help:
    http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
    Step-by-step guide for creating ABAP query
    http://www.sappoint.com/abap/ab4query.pdf
    ABAP query is mostly used by functional consultants.
    SAP Query
    Purpose
    The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
    Features
    SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
    All the data required by users for their lists can be selected from any SAP table created by the customer.
    To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
    ABAP Query, as far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
    To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly
    use either SQ02 ans SQ01
    or SQVI tr code
    for more information please go thru this url:
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
    http://goldenink.com/abap/sap_query.html
    Please check this PDF document (starting page 352) perhaps it will help u.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
    check the below link will be helpful for u
    Tutorial on SQVI
    once you create query system generates a report starting with AQZZ/SAPQUERY/ABAGENCY2======= assing this report to tr code for the same
    reward if useful
    regards,
    Anji

Maybe you are looking for

  • My Apple ID for the Discussions is an old and discontinued email.  Does that matter? FindLaw deleted old email accounts and discontinued support.

    My profile page shows a current email address.  If Apple needed to send information to me, would they use the email in my profile or the original email?  Is the process for updating the same as Neil pointed out in this discussion?  I do not have a re

  • Unable to amend life of an asset

    I am attempting to amend the life of an asset by navigating to Assets => Asset Workbench, querying the asset and then selecting the 'Books' button. The details of the asset appear and then withih the depreciation tab under Method, I amend the life in

  • Photo sharing in Photos for mac

    I suspect I know the answer to these questions but I thought it was worth asking, as any improvement in the way I sort my photos would help - I seem to go round in circles a bit!!! - Because my photo library is bigger than my iCloud allowance (I have

  • SOAP.request  URL issue

    Im using the below webservice script in my PDF, it is working fine. but, If the URL is wrong then the below code is not executing the remaining statement. If the URL is wrong or the server is down, I hav to show message, How should I catch that error

  • How do i save in word 07 format

    how can i save a pages document or export into a .docx format? my gf's professor is very specific that it must be in .docx not .doc format. any suggestions?