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

Similar Messages

  • Infoset Queries SQ01/SQ02/SQ03

    Hi Experts,
    I am designing query using SQ01/SQ02/SQ03 where I will input either installation or rate category (both present in table EANLH). But problem here is Installation is key field for EANLH while tariff type is not. Therefore, it returns multiple rate category for single installation. Now within these multiple rate category I need to retrieve only the latest rate category (this table does contain date field BIS & AB - Date fields by using which I can select latest record).
    But my problem here is how to do this in Infoset Queries? Where I need to make changes or do some config?
    Please let me know.
    Thanks.

    Yes, but I am not able to figure exactly how to implement it? I mean I can do this same code in SE38 where I know names of the internal tables. But when in SQ02 we can't modify/read system tables (I found name of the system tables using report generated by SQ01). So how you will access them, then how you will reflect our changes in output ALV grid?
    Example:
    Data:
    Rate Cat.      Installation     Date
    71     60000984     20/10/2009
    71     60000984     20/12/2009
    71     60001101     10/09/2009
    78     60000310     10/09/2009
    78     60000315     10/09/2009
    83     60000297     10/09/2009
    so in this case I want output:
    Rate Cat.      Installation     Date
    71     60000984     20/12/2009
    71     60001101     10/09/2009
    78     60000310     10/09/2009
    78     60000315     10/09/2009
    83     60000297     10/09/2009
    You will see 71     60000984     20/10/2009 is not the latest one, therefore I don't want that row. I can do the ABAP logic for this, but exactly what and how to implement in SQ02?

  • Convert queries (SQ01) to Z-transaction - the easy way

    We have a lot of queries developed in SQ01 and want to convert many of these into z-transactions.
    What is the best and easiest way of doing. One requirement is that whenever we need to change anything in the quereis (SQ01, SQ02 etc) - we should still keep the same z-transaction. Is this possible?
    Kind regards
    Simen

    Hi,
    You can use below FM. I have done using this .it works perfect.
    in case any problem, let us know.
    Data:    QUERY LIKE  AQADEF-QUNAME,
             USERGROUP LIKE  AQADEF-BGNAME.
    CALL FUNCTION 'RSAQ_QUERY_CALL'
      EXPORTING
    *   WORKSPACE                         = ' '
        QUERY                             = 'ZFIDOC'
        USERGROUP                         = 'ZFIGOG'
    *    QUERY                             = 'FUELREPORT'
    *    USERGROUP                         = 'PMTEST'
    *   VARIANT                           = 'zz_TEST'
       DBACC                             = 0
       SKIP_SELSCREEN                    = ' '
    *   DATA_TO_MEMORY                    = ' '
    *   FREE_SELECTIONS                   =
    * IMPORTING
    *   REF_TO_LDATA                      =
    *   LISTTEXT                          =
    *   LIST_ID                           =
    *   PROGRAM                           =
    *   USED_VARIANT                      =
    * TABLES
    *   SELECTION_TABLE                   =
    *   LISTDESC                          =
    *   FPAIRS                            =
    * EXCEPTIONS
    *   NO_USERGROUP                      = 1
    *   NO_QUERY                          = 2
    *   QUERY_LOCKED                      = 3
    *   GENERATION_CANCELLED              = 4
    *   NO_SELECTION                      = 5
    *   NO_VARIANT                        = 6
    *   JUST_VIA_VARIANT                  = 7
    *   NO_SUBMIT_AUTH                    = 8
    *   NO_DATA_SELECTED                  = 9
    *   DATA_TO_MEMORY_NOT_POSSIBLE       = 10
    *   OTHERS                            = 11
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Have a Nice Day,
    Regards,
    Sujeet

  • Authority Check in Queries (SQ01 / SQ02)

    Hi Friends.
    When I run a query (sq01 / sq02) , E.G. that contain the table MARC, the user can select all the plants, but he only must have access to plant "1000". In their roles / profiles, the basis only set authorisation to plant "1000".
    I can resctrict the selection via abab code in the RECORD PROCESSING step of the INFOSET, but I want to know if exist a standar way to restrict this kind of authorisations in queries.
    pls, any help will be nice!
    thanks!
    Edited by: ARTURO SENOSAIN on Jan 20, 2009 4:10 PM

    Use the logical database as the data source for the query:
    " < ... > you should always use logical databases as the data source within InfoSets that are used for query-based reporting. Using a logical database as your data source guarantees that the SAP solution is smart enough to know which areas of the data a user is allowed to see so that only the appropriate data will show in an SAP query report. Regardless of what type of security access the person who created the report has, the system is smart enough to display only the appropriate data for the user executing the report. (Note that this is the case only when logical databases are used as the data source if a SAP query is created using an InfoSet that is based on anything other than a logical database (for example, a table, a table join, a program). It is fair to say that no security whatsoever is in place when the query is run because all records within the tables are displayed in the report output.)"
    Edited by: Jelena Perfiljeva on Jan 20, 2009 5:15 PM
    Edited by: Jelena Perfiljeva on Jan 20, 2009 5:15 PM

  • Problem saving queries with calculated key figures

    Hello Experts,
    I am analyzing this problem since many hours during the last weeks and I don't know, what else to do.
    The problem is saving a key user query containing a calculated key figure in the production system (BW 3.5 SP SAPKW35015). The Error 'The query could not be saved due to a problem in transport' occures.
    If I exclude the KF from the query, saving is possible, so the calculated KF must be the source of the problem.
    The system is set to not changeable, but the 'Object Changeability' of 'Query Elements' in 'RSA1' --> 'Transport Connection' is set to 'Changeable Original'. If I set this option to 'Everything changeable', saving of the query works, but this is not possible in production, because transported standard queries would also be changeable.
    For saving queries, die authorization object S_RS_COMP and S_RS_COMP1 is included completely with *, but this does not help.
    I also transported the query and the KF again from development system ... no change, same problem.
    I found the SAP note 533413, but what does this mean? "This problem can only be solved in the next BW release ..." I heard from colleagues, that BW 7.0 has the same problems.
    Does anyone have an idea, how to solve this problem?
    I would be very thankful for any reply...
    Hannes
    Edited by: Hannes Heidrich on Jun 23, 2008 12:07 PM

    Thank you for your answer, but I have set the Object Changeability to Everything Changeable and restricted the user with S_RS_COMP. So only certain query names can be used and changed. Experiences from collegues said, that deleting and transporting again would not help.
    Best Regards,
    Hannes

  • 6230i contact problems and queries

    I am a new and very inexperienced owner of a Nokia 6230i which replaced my existing 3330. The SIM card was transferred to the new phone so I thought that I would keep all my existing contacts – and indeed for a week ago this was the case. However last evening when I went to make a call about one third of them had disappeared.
    Worried but needing them I spent about 30 minutes typing many of them in again and then switched off. However when I switched the phone on again several hours later all the missing ones had reappeared! Leaving me with a number of questions:
    1. What is the likely cause of this problem and is it going to recur?
    2. I now have a lot of duplicate entries – one in SIM card and one in phone memory. If I delete one which should it be?
    3. In general is it better to store contacts in SIM card or phone memory (apart, obviously, for ease of transferring to a new phone)
    4. I have installed PCSuite (not without problems but that is another story) and I would like to back up my contacts to a PC before they vanish again. Can I do this even though I don’t use a PIM? Can I back up phone memory and SIM card or only one?
    5. Is it true that all the while I have duplicate entries the phone can’t identify the caller?
    6. Because I travel all my contact’s numbers start +44 Is it true that in that case the phone can never identify incoming callers – and if so is there a work around?
    Questions, questions….

    hi jpa.
    i have an 8800 handset, amongst others, which supposedly has the same software as the 6230i, or at least very similar.
    i will try to answer your queries:
    1) i'm afraid i have no idea as to likely possible causes, but if it does reoccur i would suggest that you get the handset looked at by your nearest Nokia Service Centre, details of which are available on this site.
    2) that is entirely up to you and depends on your preference.
    3) i would say that it is better to store contacts in the phone memory, except in the event that you need to transfer them (when you are unable to do this by other means such as bluetooth or via pc suite).
    the reasons for this are that the phone memory in the latest handsets tends to be larger than the sim memory, and the phone memory will allow you to store multiple entries under one contact name whereas the sim will not.
    so, you can store a home number, a mobile number, and an email address under one contact name in the phone and regardless of whether the contact calls you from their landline or their mobile the same contact name will display.
    on the sim card, however, you will have to store them as two entries (and can't save the email address) perhaps in the manner of "contact x home" & "contact x mobile".
    further benefits include being able to use longer names for a contact name in the phone.
    i guess it does depend somewhat on how many contacts you have and how likely you are to often swap the sim from one phone to another.
    4) you should be able to back-up the entire contents of the phone via pc suite, including the phone memory, the sim card, and even everything on the memory card if you use one.
    additionally, you can synchronise your contacts with the windows address book or outlook, so you can view, add, amend and delete contacts on the pc, or simply use this feature as an extra back-up.
    5) it is indeed true that you cannot have two contact entries containing the same number and get caller display. this is because the phone can only display one contact for caller display, and it doesn't know which one to choose.
    6) apparently that is a "feature" of some handsets, but it is not something that i have encountered personally. +44 and caller display works fine on my 8800 and my 6230, and i have just tried it on my old 8310 and it works ok on that too.
    on phones that don't seem to allow it i am not aware of a work-around.
    hope that helps. perhaps someone else can suggest a reason for the problem in the first place?

  • Problem with Queries Structures in Bex Query Designer and Universe Designer

    Hi everyone,
    I have a problem when i try to do a Universe from a Bex Query Designer.
    When I use a Characteristic Restrictions in a Structure, the universe only show me the structure without the objects inside it.
    EJ:
    1) Bex Query Designer
    Colunms
    (Structure) ZSRT_123
                          - (Characteristic Restrictions) Reg Guayana
    >          (InfoObject)     0Product = 'XXX'
    >          (InfoObject)     0Country = 'YYY'
         - (Characteristic Restrictions) Reg Caracas
    >          (InfoObject)     0Product = 'AAA'
    >          (InfoObject)     0Country = 'BBB'
    Rows
    (Structure) ZSRT_456
                   (Key Figure)     Net Sales
    2) Universe designer
    (Class) ZSRT_456
    >(Measure)      Net Sale
    (Class)     ZSRT_123
    >(Dimension)      ZSRT_123
    The universe dont translate the two Characteristic Restrictions in the structure ZSRT_123.
    Any information would be much appreciated. Thank you.

    Hi,
    I assume that you are using BOE XI 3.1 SP2.
    We have added an option in SP2 to generate or not the L00 level.
    Unfortunately this option applies not only on characteristics but also on hierarchies, hierarchies variables and structures: that's the reason why you have no elements belonging to the structure generated.
    I recommend to always generate L00 in order to have your structure generated correctly.
    This issue will be fixed in SP3.
    Regards,
    Didier

  • Calendar date variable problem in queries

    Hi-We upgraded to NW2004s from BW 3.1 We have an issue with queries when we try to change the value of any variable that is a calendar date such as the Current Calendar Day. Example: when running a query, the Select Values for Variants screen displays today's date as the default for Current Calendar Day in the format 09/29/06. To change the date to another value, I get the screen displaying a calendar, if I pick 09/28/06, the display comes back as 28.09.2006 & then I can't proceed any further as I get an error "please enter value in permitted format for variable current calendar date" 
    Any ideas on how to resolve this?
    thanks
    Marge Blick

    Hi
    There may be some other reason for it, coz Day light savings starts in last week of March, not in May.
    And day light savings ends in Last week of October
    Suresh

  • I have some problems and queries on Q10 ...

    Good morning ...
    First, BBM very bad design, and the blue color of the broadcast very tired of the eye , and device does not vibrate when you work Ping!!! .
    Second, Android applications that are supported by BlackBerry 10 does not work well and often cause a lot of problems.
    Finally, we await descent of a new update to the Software 10, taking into account the support of more fonts, and more applications, and support the Arabic language more, and attention from RIM.
    thank you...

    Try reset
    Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data
    If no joy, restore backup using iTunes.
    Finally last attempt, rsetore as new and sync content back manually.

  • Very Urgent...problem while creating SQ01

    Hi Friends,
    When I'm trying to create sq01 it is throwing the error like"the User Nanditha is not assigned to any user group".
    Pl help me to resolve this issue.
    Thanks in advance.
    Nanditha

    GOTO SQ03
    Enter the User group & also the User i.e. Nandita & the Infoset (optional), click on change --> tick the check box for all the User groups you want to assign the User.Save the details
    SKR

  • Like problem in queries

    hi..
    I am using the MSAccess aas the back end.
    In my JSP I written the query for LIKE condition by giving '%' symbol.It works fine.
    But after some time(days) same query fails in the program.Then I have given '*' .
    It is also worked and failed later.
    I didn't get why this discripency..Does it the problem of machine setting?
    If any body faced and find the solution Please let me know..
    Thanks....
    Rambabu

    Could be many things, depending on what you mean by 'failed'.
    For instance the data changed and so there is nothing to query.
    Or the connection failed.

  • Problems with queries

    hello, i created 2 queries, one is summarized level and the second is detailed. when i pull up both queries i get correct data but when i try to go through "goto" i get nothing for the second queyr. i checked the variable values and those are the exact values that i enter when i call up the query separately. can someone help me please? thanks

    i think you dont have the correct assignment in the query... there should not be any reason that this doesnt work It should work.
    Please check the rri assignment once again and then check.
    Regards,
    Den .
    Close this thread if its already answered.

  • Problem with queries while refreshing materialized views

    We are in oracle 8.1.7. We have some materialized views that are refreshed with DMBS_REFRESH.REFRESH in a Job. The problem is that when the refresh occurs while a query is executing we get a "Invalid Rowid" or "0RA-08103 Object not longer exists" in the session executing the query.
    We already have reproduced the problem. Is this a bug ? Any idea?
    Thanks.

    Check if the objects referred in the MV defination has undergone any reorg recently.

  • Problem in quering from remote database

    Hi
    i have a table named "gatepass" in database A.
    i created public synonym
    (create public synonym gatepass for schema.gatepass@databaselink) in database B for the table "gatepass" in database A.
    when i query that table in db B through SQL prompt, it fetches data.
    but when i query that table through form, form hangs(goes into working state) and ends.
    where is the problem
    plz help
    thanx

    Here is a key statement......*All was working fine until last week when users started reporting that data was loading slowly.*
    So the key question is......*What changed last week?*
    Did anyone make database changes?
    Did some software get updated?
    Did the network configuration change?
    Did patches get applied at any level?
    Did you perform some sort of low level maintenance that you don't think would affect anything?
    Did the data substantial change?
    Did more users get added to the system?
    What has changed?
    Regards
    Tim

  • SAP query in Grand Totalling in SQ01 wrongly calculation

    Dear All,
    I have created a  SAP query for getting few ledger accounts data in the clients specified format.
    But I am having a problem, that debit and credit amounts are getting added in the 'Total' field.
    The credit amounts are not getting substracted from the debit amount.
    For eg :
    CoCd     G/L          Year     DocumentNo      Amount in LC     Crcy     D/C
    1000     4071101020          2007     9600000002     3,300.00          H
    1000     4071101021          2007     9600001413     40,000.00          S
    1000     4071101022          2007     8000000000     2,020,012.80     H     
    Grand Total                                                                2,063,312.80     
    Where as total should be -1,983,312.80, where 'H' is credit and 'S' is debit.
    rgds

    Hiya,
    You may need to:
    1. Either group by the Debit/Credit Indicator (SHKZG), create two subtotals for each and then subtract one from the other, or,
    2. Multiply the Credits by -1 (again use the Debit / Credit Indicator to sort this for you) and then get a total field.
    This is an inbuilt problem with queries (SQ01, SQVI, etc.).
    Cheers.

Maybe you are looking for

  • Regarding aging reports

    Hi Experts/Gurus I need the standard reports and transaction for customer aging report and vendor aging report.(I need only standard reports not the custom reports) Need immediate replies. Your answers can be rewarded with good points. Regards, kumar

  • Why do I need Pages 5 to open iBooks Author documents?

    I am a TA at a college and I have been grading students' iBook submissions for a class.  However, this week when I went to open their submissions I got the following error message: "You need a newer version of Pages to open this document."  Clicking

  • How to display image?

    Hi all, How to display image from the database table in the adobe form by using web dynpro abap? I want to display image in the adobe interactive form by using web dynpro abap. Please help me. Regards, srini

  • Progress bar stuck while installing Mavericks in recovery

    Hello I erased the harddrive via Disk Utility in recovery and now i'm trying to reinstall OS X Mavericks. The problem is that the progress bar is stuck. It says "Downloading additional components. Your computer will restart automatically" yet there h

  • Using AE to extend non-apple wireless range...

    Hi all, I have a Linksys router which covers most of my apartment, but I was hoping to use an Airport Express to extend the wireless coverage to a "dead spot". I have managed to get the AE to operate using a couple of HomePlug ethernet-over-the-mains