Regarding sap query(SQVI)

hi champions,
                     i need ur help,i developed a query in HR module using sq02 ,sq03 and sq01.no doubt when i execute the query in sq01 the o/p is coming ,but i want to execute it with the help of tc SQVI ,frnds wat sud i do for this.i dnt have any idea about tc SQVI.plz help me.
with regards,
ravi gupta.
ravi gupta

Hi ,
go to se93 .
create u r tcode with the following properties;
transaction type : parameter transaction
Transaction text      Stock by analysis group                    
Default values for :                                                            
Transaction        START_REPORT                                                                               
Obsolete: Use default values for transaction                    
skip initial screen : check
Screen             0                                            
From module pool                                                
check inherit gui attibutes.
select the radiobutton professional user transaction under transaction classification tab.
Transaction code   
Transaction text    group                                                                               
Transaction        START_REPORT                                                                               
Obsolete: Use default values for transaction                    
Screen             0                                            
From module pool                                                                               
Transaction        START_REPORT                                                                               
Obsolete: Use default values for transaction                    
Screen             0                                                                               
parameters:
d_srepovari-reporttype            AQ                                                                 
d_srepovari-report                  ZF                                                                
REGARDS
Message was edited by:
        shishupalreddy ramreddy

Similar Messages

  • 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.

  • SAP Query - SQVI or SQ01 -- Implementing Group By

    Hi,
    Please advice on whether we can use GROUP BY and HAVING clauses in SAP Query.
    For ex. I need to find all the customers in the system who have been defined for multiple company codes. In ABAP, I could do it using
    Select kunnr count(*) from knb1
    group by lifnr
    having count(*) > 1
    Is this possible to do this in SAP query?
    Thanks,
    Ani

    Ani P,
       IN  ABAP Query you can  write this in  under  START-OF-SELECTION  event.
    There are 2 options for out put
    1. Out in ALV format in System itself
      This can be possible in RECORD PROCESSING.Here you don't have command on "main selection statement ".System will write this.
       If you want to do some validations OR want to delete some records you have write logic for this here. Process will be record by record.
    2.Output in Excel format.
       If you want "GROUP BY or Having"  write code in START-OF-SELECTION event.
    Extract all the data in one final internal table.
    use Function Module WS_EXCEL.
    3.Output in file format in application server.
       This is also you can do in START-OF-SELECTION  by using
    OPEN DATASETS.
    For your requirement better use " START-OF-SELECTION ".
    Pls. reward if useful

  • Translation for SAP Query

    Hi,
    Is it posible to change the texts for coulmn in the report (ALV Grid) created though SAP Query (SQVI)?
    Ex: if the Column has Number -> it should be changed to Nummer. This will be done based on some conditions.
    Thanks,
    Prashanth

    Nummer = German?
    Did you translate the (custom?) data elements and  log in German?

  • SAP Query - Application Bar Changes

    Hi All,
    This is Regarding SAP Query -> Application Bar Changes...
    Go to T.Code SQ01-->
            Choose: Query  (Ex:- UserGroup:/SAPQUERY/ME & Query: MEPO ) -->
                 Execute(F8)-->u201CDynamic Selection Button(Shift+F4) u201D on Application Bar needs to removed from here..
    Kindly help where can I need to do the changes for Deactivating the u201CDynamic Selectionu201D Button.
    suggest me if any userexits/ Enhancements..???
    Best Regards,
    KALAM.A

    Hi
    Just as I said u should manage it in your DB in order to delete the free selection, if u can't do it u can try to suppress the pushbutton DYNS in AT SELECTION-SCREEN OUTPUT event in the INFOSET.
    U can use the fm to do it RS_SET_SELSCREEN_STATUS:
    DATA: T_EXCL TYPE TABLE OF SY-UCOMM.
      APPEND 'DYNS' TO T_EXCL.
      CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
        EXPORTING
          P_STATUS  = SY-PFKEY
        TABLES
          P_EXCLUDE = T_EXCL.
    Max

  • SAP Query in SQVI transaction

    Hi All,
    I have created a Query in SQVI transaction, How to assign a transaction code for it.
    Thanks in advance
    Raju

    hi,
    follow the link:
    http://help.sap.com/saphelp_erp2005/helpdata/en/b7/26ddebb1f311d295f40000e82de14a/frameset.htm
    you will get full information about SAP Query.
    There is no SQV1 transaction.
    SQ01 --> maintain query
    SQ02 --> maintain info set
    SQ03 --> maintain user groups
    he SAP Query application is used to create reports not already contained in the default. 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 reports and create different types of reports such as basic lists, statistics, and ranked lists.
    Features
    The SAP Query comprises five components: Queries, InfoSet Query, InfoSets, User Groups and Translation/Query.
    hope this may help you,
    regards,
    srinivas

  • Regarding the SAP Query

    Hi I have an SAP query ZGIINOP.
    Which i have created using the Transaction SQVI. It worked fine in development client.
    Now, I have transported it to Quality client were no problems while transporting.
    But when i Executed it in Quality system. It is not working exactly the way it should. It is giving wrong results and it is taking so
    much time to execute and give output.
    Could any one please help me in this issue.
    Thanks and Regards,
    Venki.
    Edited by: Venky Naga on Jun 29, 2009 4:10 PM

    Hi,
    Using the FM : RSAQ_GENERATE_PROGRAM try to generate/activate the SAP Query in the Quality system.
    If  you have access to the SAP Query, Try to adjust the query in SQ01
    SQ01-Menu->Query->More functions->Adjust/Generate Program/Activate
    Hope this helps
    Regards
    Shiva
    Edited by: Shiva Kumar Tirumalasetty on Jun 29, 2009 7:47 PM

  • Need to add new column in SAP Query - Please guide me in this regard

    Dear All,
    In SAP Query, I need to put a new coulmn of each record for the difference of Billing date and PGI date as a work days.
    eg: Billing Date = 02.05.2008
         PGI Date = 08.05.2008
    Take a Variable i.e. Days = Billing Date - PGI Date that will display as 5 days by excluding Saturday and Sunday.
    After doing calculation of these work days for each record, we need a to add a new coulmn in that record as field lable as "Work Days" and display.
    Please Guide me in this regard
    Regards,
    Sateesh.

    Hi Rama,
    In SQ01 when you are in the fields (first would be attributes, when you click next it takes you to field groups, and again when you click next if takes you to fields tab) check the following menu path
    EDIT -> LOCAL FIELD -> CREATE
    You can define the formula as per your requirement and populate the field.
    Hope this is helpful.
    Thanks,
    Pavan

  • Hi i am new to SCN. I want a help regards SAP-PM . Where to post any query regards SAP PM

    Hi i am new to SCN. I want a help regards SAP-PM . Where to post any query regards SAP PM

    Please check this link SAP Portfolio and Project Management (SAP RPM, cProjects) and cFolders
    Please check scn index to find relevant forum link.
    SCN Site Index

  • How to call SAP query in a program

    Hi experts
      I have created a query in SQVI its gives a result. Now i want this query to be used in my program. Is there any FM which gets the quary name and populates the result in iternal table. So that i can use that result.
       I know without query you can write using the tables you can fetch the records but i just want to explore a new way to do things. If any body done such type let me know and also give some sample code or process how to achieve it.
    Regards
    Vijay

    Hi Siva
      My final option is that only. That you can do any how. But my intension is to learn something new way. How to do copy the query and where to inject the code is there any example in wiki or artical for that. I want to something new. Old way of creating a report program is possible i want to do this way. If some body could help me out.
    @ karthik
       I have generated the SAP query and i got the program but when i view the code i dont find any select statment or where storing my input data. How to identity that i did in debug mode but am not sure where it pulls the data and where it put in internal table. Can you throw some light with example code or an article.
    Regards
    Vijay

  • 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

  • SAP Query with Logical databse BRM

    Hi All,
    I'm developing one report by SAP Query using with logical database BRM to pick the accounting documents. But I would like add some kind of where condtion for one of field for BKPF table. Is there way to achieve this by using logical database concept? If there is a way please help me.
    Thanks in advance.
    Regards,
    TNR

    hi
    in SQVI, kindly follow the below steps:
    a.  in the left hand pane, click on the data fields.
    b.  expand the 'accounting document header'.
    c.  for the field BKPF-TCODE click on the 'List Fields' and the 'Selection fields'.
    d.  click on execute,
    e. you can now enter the values for the BKPF-TCODE.
    regards
    eashwar
    Edited by: eashwar1 on Feb 11, 2010 11:55 AM

  • SAP Query with Logical databse

    Hi All,
    I'm developing one report by SAP Query using with logical database BRM to pick the accounting documents. But I would like add some kind of where condtion for one of field for BKPF table. Is there way to achieve this by using logical database concept? If there is a way please help me.
    Thanks in advance.
    Regards,
    TNR

    hi
    in SQVI, kindly follow the below steps:
    a.  in the left hand pane, click on the data fields.
    b.  expand the 'accounting document header'.
    c.  for the field BKPF-TCODE click on the 'List Fields' and the 'Selection fields'.
    d.  click on execute,
    e. you can now enter the values for the BKPF-TCODE.
    regards
    eashwar
    Edited by: eashwar1 on Feb 11, 2010 11:55 AM

  • SAP Query statements

    Hi guys
    Can any one give me some notes on SAP-Query STATEMENTS.
    I know T.CODES and creation of Info sets, groups etc.
    but  I am finding difficult when i wanted to Join the tables.
    Thanks in Advance.
    Rgds
    BJ

    Hi
    By using T-Code SQVI
    Give query name in QUICK VIEW
    Select the button “Create”
    Select “Table Join” in the field Data source
    Thanks& Regards,
    Subbu.

  • SAP query for SPRO table

    HI experts, Im about to create a Sap query using SQVI tcode. I want to have listing of certain master data created in customizing(SPRO) like the catalogs and list of code groups and task codes in Service Notification. What is the best data source or the table should I use to capture this data? Or is this possible? If not, can you give me some ways how to have listing report for those information.

    Hi,
    Have you checked with t-code QS42 ?
    Tables - QPGR, TQ15.
    Regards,
    Vivek

Maybe you are looking for

  • ODI 11.1 RKM E-Business Suite Knowledge Module??

    I downloaded and installed the companion, I see many knowledge modules but not the "RKM E-Business Suite" Knowledge Module.. The documentation refers specifically to it by that name. Does it go by another name in ODI 11.1.1? Thank you, Jz

  • Reading a range of data using Storage vi

    Hello, My data file is in TDM format and is about 300 MB in size. I want to know if it is possible to use the "Storage" Vi to read in only a range of the data at a time (or be able to just select a range to read)? Thanks Lancer

  • InDesig CS5.5 crashes while initializing

    Hi, My InDesign crashes every single time I try to run it. I used it around month ago and everything was fine. Now I have some work coming and I can't do anything. I really need help! I have windows 7 64-bit, I have created new user and InDesign work

  • An AVIATION APPLICATION please help!!!

    I want someone to create and application that pilots can enter in airport codes and get information on that airport like the Name,Frequencies,Runways... This would be a BIG help for pilots out there Thanks Greg

  • Getting on search engines

    How can I get my web site that is done on iweb seen on search engines like google or msn?