Abap query (excluding specific kind and also copying queries)

hi everyone,
I need to do the following:
1.from the list of available abap queries, I need to list only financial queries in the global work area.
2.Then I need to copy only the financial queries from the standard area into the global work area
3. Finally I need to find a list of all financial queries that do not have transaction codes assigned to them and assign t codes to them
I have an idea of how to go about this using sq01. but what exactly may I need, as my background is more functional than abap related.
I believe generally queries (infosets)? of a particular kind are under a particular user group. but I dont think in my case it is very clear. As certin user groups might have queries from all different functional areas (including finance and other areas like HR--the one I want to exclude).
Any ideas?? I would really appreciate it!

hi,
i don' get it
1) and 2) what is standard and global work area???
3) find out report-name:
AQCSUS01========ZQ1===========
1-4 = AQCS
5-12 = usergroup
13-  = query-name
-> go to se38 and do "where-used-list in transaction with
   your report-name
-> you can assign tcodes with using report-name in trx. <b>SE93</b>
A.
pls reward point for useful answers!
Message was edited by: Andreas Mann

Similar Messages

  • ABAP query processing in bgrnd and saving file to prsntn/application server

    Hello Gurus
    I have question regarding to ABAP query execution. Currently I try to find out if ABAP query can be executed in background and store the result into UNIX directory or in the presentation server(desktop). What I found is that the report need to be executed using option Private File and the data by default will be stored at directory /sap/outbound/.
    However what I found next is that the maximum fields should be 64 fields. If the query result has more than 64 fields, the error will occurs WRITE_TO_OFFSET_TOOLARGE.
    My question is:
    1. Can we set the directory in unix folder to someplace else than /sap/outbound/ ?
    2. Can we set in order to have the report stored without limitation 64 fields?
    Thanks in advance

    HI
    Yes you can set the directory in unix folder to someplace as you need to get confirmation for the path from your Functional Analyst.
    Thanks

  • Search and also Copy failed if "_" is in the second part of a hyphenated word. Is it a Bug?

    Hello,
    we are using PDF for our technical documentation, so we have a lot of variable names like "var_techUsage_true", etc.
    We gernerate these pdf files with the apache fop 1.1 processor. In our documents you can find several tables. Sometimes
    the cells. are very tiny. In this case we use some hyphenation rules, this works really good for german text, and the tables are
    drawn very nice ( without overflows ).
    But if you hyphenate a word like "Jesus_latschenhersteller_dachverbandsvorsitzender".
    The result will be:
    Jesus_latschen-
    hersteller_dach-
    verbandsvorsit-
    zender
    Now I tried to search for the "word" the adode reader tells me "nothing found".
    If I have some thing like that:"Jesus_latschenherstellerdachverbandsvorsitzender".
    The result will be:
    Jesus_latschen-
    herstellerdach-
    verbandsvorsit-
    zender
    Bingo! the reader will find the "word".
    So I take a very close look at the source of the PDFs
    Good
    Bad
    Q
    BT
    /F5 8 Tf
    1 0 0 -1 0 9.16399956 Tm
    [Jesus_latschen-] TJ
    1 0 0 -1 0 18.76399994 Tm
    [herstellerdach-] TJ
    1 0 0 -1 0 28.36400032 Tm
    [verbandsvorsit-] TJ
    1 0 0 -1 0 37.9640007 Tm
    [zender] TJ
    ET
    Q
    q
    Q
    BT
    /F5 8 Tf
    1 0 0 -1 0 9.16399956 Tm
    [Jesus_latschen-] TJ
    1 0 0 -1 0 18.76399994 Tm
    [hersteller_dach-] TJ
    1 0 0 -1 0 28.36400032 Tm
    [verbandsvorsit-] TJ
    1 0 0 -1 0 37.9640007 Tm
    [zender] TJ
    ET
    Q
    q
    So also copy will produce an "internal Error"
    So my question is: How can I get a fast workaround or a Bugfix?
    Best Regards
    Markus

    Hi Pat,
    Adobe Reader 10 and 11.
    I want to search a hyphenated Word, what is in our content the name of a programming variable.
    For a better readablity we use the "_" to seperate parts. Like "my_first_variable".
    Sometimes the names of the variables are very long. Like "this_is_the_longest_name_i_ever_used_in_my_tiny_little_sourcecode".
    I did a screen capture.
    Kraftfahrzeugsteuer à 1 hit
    Kraft_fahrzeugsteuer à 1 hit
    Jesuslatschenherstellerdachverbandsvorsitzender à 1 hit
    Jesus_latschenhersteller_dachverbandsvorsitzender à 0 hits !!!!
    Best regards
    Markus

  • ABAP Query: FI Tables - BSEG and BKPF

    Dear All,
    I have tried to use SAPQuery - SQ01 to join 2 SAP tables (BSEG and BKPF) by creating an Infoset (SQ01 >> Environment >> Infosets >> Create)
    However, there is always an error message for the table join when I generate the infoset. Tables BSEG and BKPF are joined together by conditions BSEG-BELNR & BKPF-BELNR; BKPF-BURKS & BKPF-BURKS; BSEG-GJAHR and BKPF-GJHAR.
    The error message prompted is, "You cannot use comparisons with column references in pool and cluster". Is the message trying to say that BELNR, NURKS and GJAHR are column references in pool and cluster, thats why we can't join the tables?
    The purpose of the infoset is to extract accounting documents. I will need to extract accounting doc data from DEV, QA and Prodcution Server.  If I use SAP QuickViewer, everytime I go to a differenct server I will need to create the QuickViewer in the system before I can use it. But if i use SAP Query, i will need to create once and transport the SAP Query to another server.
    Kindly advise if there is a way I can extract accountng document by using SAP Query?
    Million Thanks in Advance.

    Hi Mark,
    I appreciate your response.
    Im tyring to extract information for open GL items. Thus the relevant tables would be BSIS. But I find that  some fields such as Purchase Order Number; Purchase Order Line Item, Asset No.,Asset Sub-No which Im interested in do not exist in BSIS. But these fields can be found in Table BSEG?
    If I have to link BSEG and BKPF, how should i go about doing it?
    Kindly advise.
    Thanks in Advance!

  • HR ABAP Query - Simulated infotypes 2501 and 2502

    Dear all,
    I am developing a report based on Simulated infotypes 2502 (Quota Statuses) and 2501 (Employee Time and Labor).
    Since my report provides an overview of all the reporting quota types and reporting time type to the end-user, I need to extract data from both the infotypes ( 2501 & 2502 ) simultaneously.
    I created a report with (Logical Data Base) LDB PNP and the HR report category is also set as required. In other words the attributes is set as same as in standard report (RPTBAL00).
    In the declaration part of the program I mentioned the source code as.
    INFOTYPES:
    *-----Infotypen
    INFOTYPES:
    0001,     "Org. Zuordnung
    2001,     "Absence type.
    2002,     "Attendance
    2500,     "Personal Work Schedule (Simulated Infotype 2500)
    2501,     "Employee Time and Labor (Simulated Infotype 2501)
    2502.     "Quota Statuses (Simulated Infotype 2502)
    In the START-OF-SELECTION.
                          GET PERNR                                      *
    GET pernr. (break point set at statement)
    Here my problem is when I execute the report for multiple employees data from simulated Infotype 2501 is deriving wrongly. The data for the first employee will always correct. From the second employee onwards date fields BEGDA and ENDDA will be 00000000. After a detailed debugging (setting break point at GET PERNR statement) I found that the problem is occurring only with Infotype 2501 values and not with Infotype data 2502.
    I also note that  this will happen only when I use both 2501 and 2502 at same time in the declaration part
    INFOTYPES:
    2501,     "Employee Time and Labor (Simulated Infotype 2501),
    2502.     "Quota Statuses (Simulated Infotype 2502)
    Question is How to correct this date field values obtained through GET PERNR for Infotype 2501 when using both infotypes 2501 and 2502 simultaneously.
    Per requests for testing this is:
    I.     Your system should be configured for reporting time types.
    II.     Time evaluation should be run for at least one time to transfer data to simulated infotypes.
    III.     Persons with less understanding of SAP HCM may have to take help of a functional consultant.
    Please help me in with your valuable suggestions:

    Thanks a lot for all your suggestions,
    I have tested with this still the same problem persists.
    From the second employee onwards the value of P2501-begda and P2501-endda is 00000000.
    Step 1: create a new program  zhr_test.
    Step 2: Assign PNP as the logical data base in the report attributes.
    Step 3: Use XXXX2001 as report category.
    Code for TEST 1: normal test case
    REPORT  zhr_test.
    TABLES :pernr.
    INFOTYPES:
        2501, "Employee Time and Labor (Simulated Infotype 2501),
        2502. "Quota Statuses (Simulated Infotype 2502)
    START-OF-SELECTION.
    GET pernr.
    BREAK-POINT.
    Code for TEST 2: suggeated by Venkat.O
    REPORT  zhr_test.
    TABLES :pernr.
    INFOTYPES:
        2501 MODE n, "Employee Time and Labor (Simulated Infotype 2501),
        2502 MODE n. "Quota Statuses (Simulated Infotype 2502)
    START-OF-SELECTION.
    GET pernr.
      rp_read_all_time_ity pn-begda pn-endda.
      BREAK-POINT.
    In Both the cases, infotype 2501 records  begda and endda values will be 00000000 from second employee.
    You can test only if you have simulated infotypes configured in your system, atleast one time the time evaluation would have been run.
    Thanks
    Cibin

  • Difference between Report painter and abap query .

    can anyone please tell me the difference between the report painter and the ordinary alv,clasical reporting and also the difference between Report painter and abap query. How the output format will be in Report painter. If anyone has any documents please send it to
    [email protected]
    Thanks,
    Joseph.

    hi,
    ABAP Query is an ABAP Workbench tool that enables users without knowledge of the ABAP programming language to define and execute their own reports.
    In ABAP Query, you enter texts and select fields and options to determine the structure of the reports. Fields are selected from functional areas and can be assigned a sequence by numbering.
    link for abap query --
    https://forums.sdn.sap.com/click.jspa?searchID=221911&messageID=2790992
    whereas the Report Painter enables you to report on data from various applications. It uses a graphical report structure that forms the basis for the report definition. When defining the report, you work with a structure that corresponds to the final structure of the report when the report data is output.
    link for report painter --
    https://forums.sdn.sap.com/click.jspa?searchID=221874&messageID=1818114
    Regards,
    pankaj singh
    Message was edited by:
            Pankaj Singh
    Message was edited by:
            Pankaj Singh

  • Transport abap query from one client to another--v--urgent---v----urgent

    hi,
    i have an abap query in one client and want to copy to another client.can i do this if so what are the steps involved .i tried the options like in query go to environment and then to transport .i also tried to do by running the programe RSAQR3TR.but it was transporting in the same client .i want to transfer into another client.plz help me out asap .

    hi,
    Create a request related to that Table Definition and add data content in the request like
    R3TR-TABL-<table name>
    R3TR-TABU-<table name>
    R3TR-TABD-<table name>
    and release the request
    Take the DATA files and CO files related to that request in a Pen drive and put the same into the new server DATA and CO files and import using STMS.
    For new program, it gets transported along with the program.
    For changed program (which has already been transported once), you need to include texts in transport request - just go to Selection texts, save them in the transport request and you're all set.
    whenever you assign a request number to the program
    and also the selection texts willbe stored under that request number
    so when u release the program
    the selection texts will also go
    after releasing the request if you change only the seleciton texts
    only the changes done to selection texts will reach the target
    and the rest of the things remain same
    so when ever you release a request all the things under that request
    will go

  • What is the use of abap query?

    hi sap gurus,
    good morning to all,
    what is the actual relecance of abap query ?
    i know that we can generate simple reports
    but
    what kind of reports ?
    give some examples plz.
    regards,
    balaji.t
    09990019711

    Hi Balaji,
    Here is the details of ABAP Query
    ABAP Query
    An ABAP Workbench tool that enables users without knowledge of the ABAP programming language to define and execute their own reports.
    In ABAP Query, you enter texts and select fields and options to determine the structure of the reports. Fields are selected from functional areas and can be assigned a sequence by numbering.
    ABAP Query offers the following types of reports:
    Basic lists
    Statistics
    Ranked lists
    I hope it will clear for you,
    Regards,
    Murali.

  • How to transfer ABAP query from one server to another server

    Hi all,
    I have a ABAP query in development server and i need to transport it to production server.
    I have attached a transaction to it using the program which got generated in the back ground
    from the abap query in the developemnt server.
    I have downloaded and uploaded  a ABAP query from one server to another server.
    But the program which got generated in the back ground in the production server is different from
    program which is generated in the development server.
    But my transaction is attached to the program in the development server.If i transport the transaction
    to production server,it is giving error since that program is not present in the production server.
    Am i going in the right way......? 
    Is there any problem in my upload/download procedure ?
    Is there any way to achieve my purpose ...............?
    Please kindly reply me at the earliest.

    You have different ways to call a query using a t.code. One way is to create a pgm with the following code and attach a t-code to it.
    data: gv_test type sy-repid.
    DATA: GV_USERGROUP TYPE AQADEF-BGNAME VALUE 'FI',
          GV_QUERY TYPE AQADEF-QUNAME VALUE 'ZCON_FI_QUERY',
          GV_RNAME TYPE AQADEF-PGNAME .
    CALL FUNCTION 'RSAQ_REPORT_NAME'
      EXPORTING
        WORKSPACE        = ''
        USERGROUP        = GV_USERGROUP
        QUERY            = GV_QUERY
    IMPORTING
       REPORTNAME       = GV_RNAME
    * For the dynamic excution of the called query assisgn GV_RNAME to <gv_test>.
    gv_test = GV_RNAME.
    SUBMIT (gv_test) via selection-screen and return.
    Alternate way is while creating T-Code you choose option Transaction with parameters.
    Transaction as START_REPORT and in default values table control at bottom give as follows
    D_SREPOVARI-REPORTTYPE = AQ
    D_SREPOVARI-REPORT = User group
    D_SREPOVARI-EXTDREPORT = Your Query name
    Regards
    Sathar

  • ABAP query transport issue

    Hi,
       I have copied an abap query ZGA to ZGA_IND1 and changed the title to INDIA.  I gave transport number and released and transported to Quality. A transaction has been assigned to this Query
      But when I execute this query from Quality machine using transaction, it says program AQZZZGA=========ZGA_IND1======   is missing.
       Transaction code is transported but not the ABAP query program.  I retransported and failed couple of times.
    Not sure why underlying program is not transpoorted to Quality.
    Any idea, what I am missing here.
    Cheers.
    Sudhaker

    hi,
    I guess the transaction code directly calls the generated ABAP program, which is the bad approach, because the generated ABAP program might have different names in different systems (like here). You have to create a transaction, which calls transaction START_REPORT with the following parameters/attributes filled :
    D_SREPOVARI-REPORTTYPE= AQ "parameter indicating Abap Query
    D_SREPOVARI-REPORT= '...' "Query User group
    D_SREPOVARI-EXTDREPORT= '...' "Query name
    Of course you have to replace the dots with real usergoup and query names. You create this transaction code in the development system and transport it to test and production. It will work everywhere (in case the query is transported as well).
    hope this helps
    ec

  • Report Painter/Writer/ Abap-query

    Hi all,
    Could you please answer the following questions.
    1. What is Report Painter ?
    2. What is Report Writer ?
    3. What is  Abap Query ?
    4. What is the  difference between all ?
    5. When Do we Go for each one ?
    send me if any Materials on above.
    Thanks & Regards
    krish..

    Hi
    Report painter:
      A tool for creating reports that meet specific business and reporting requirements.
    The Report Painter enables you to report on data from various applications. It uses a graphical report structure that forms the basis for the report definition. When defining the report, you work with a structure that corresponds to the final structure of the report when the report data is output.
    The SAP System is delivered with several row and column models that can be used as building blocks to help you create reports quickly and simply.
    Report Writer:
    A tool for creating reports that meet specific business and reporting requirements.
    Report Writer enables you to report on data from multiple applications. Using functions such as sets, variables, formulas, cells and key figures, you can create complex reports that meet specific reporting requirements.
    When working with Report Writer, you can use certain functions that are not supported by Report Painter. These functions include:
    Multidimensional column structures
    User-defined definition of inactive row and column combinations
    Enhanced functions for using cells in column formulas
    ABAP Query:
    An ABAP Workbench tool that enables users without knowledge of the ABAP programming language to define and execute their own reports.
    In ABAP Query, you enter texts and select fields and options to determine the structure of the reports. Fields are selected from functional areas and can be assigned a sequence by numbering.
    ABAP Query offers the following types of reports:
    Basic lists
    Statistics
    Ranked lists
    Regards
    Su

  • Issues regarding Abap Query

    We have created a query " AQYZSYSTQV000001WBSLIST======= "
    and then query program was copied to ZFI_WBSLIST
    On execution of  ZFI_WBSLIST,got the below error.
    A RAISE statement in the program "SAPLAQGF" raised the exception
    condition "NO_QUERY_REPORT".
    "RAISE_EXCEPTION" " "
    "SAPLAQGF" or "LAQGFU02"
    "RSAQ_DECODE_REPORT_NAME"
    Kindly help us in resolving the above problem.
    Regards,
    Rachel

    Hi,
      First check the server(developement,quality or production) where you have created the query.
    Try to create the query in quality server and then copy the program in development.This kind of problem I  faced once in that I had create the query in development so I was facing prolem but after create the query in quality it generate some different code.
    That quality code in copied in development and then tried to execute it was working fine.
    Check in program whether at some place they are passing program name as value.If it like that then replace it with your program name.
    Hope it will help you.
    Regards,
    Rajesh Akarte

  • ABAP Query to SAP Area Menu

    How to put ABAP Query Report to SAP Area Menu or Create transaction code for ABAP Query Report? Kindly help me.
    Thanks

    Please see the following thread. It should do what you need.
    Re: How to create TCode for Sapquery
    Once you get the tcode created, use SE43N to add the custom tcode to your area menu.
    <i><b>
    Kindly reward points if helpful.</b></i>
    Regards,
    Minami

  • Abap query with constante value

    hello,
    I wish to create several abap query since tables MKPF and MSEG for the inventory mouvements. each query for a type of inventory turnover (101, 501,…), but I should not put the code movement in criteria of selection. it is necessary that the code movement should be fixed in the query. should-I declare the MSEG-BWART as a constante? where I can do it?
    thank you for your assistance.
    cordialy Said

    Hi,
    Variant is a good option. Here is one more stable option.
    Other option is to use following Code.
    RANGES : ran1  FOR MSEG-BWART.
    ran1-sign = 'I'.
      ran1-option = 'EQ'.
      ran1-low = 101.
      APPEND ran1.
    ran1-sign = 'I'.
      ran1-option = 'EQ'.
      ran1-low = 501.
      APPEND ran1.
    Then use ran1 similar to select option.
    Hope this will help you.
    Darshan

  • What is the prupose abap query? configuaration process?

    what is the prupose abap query? configuaration process?

    Hi Balaji,
    Here is the details of ABAP Query
    ABAP Query
    An ABAP Workbench tool that enables users without knowledge of the ABAP programming language to define and execute their own reports.
    In ABAP Query, you enter texts and select fields and options to determine the structure of the reports. Fields are selected from functional areas and can be assigned a sequence by numbering.
    ABAP Query offers the following types of reports:
    Basic lists
    Statistics
    Ranked lists
    I hope it will clear for you,
    Regards,
    Murali.

Maybe you are looking for

  • Looking for a good documents App

    Ok, So I have windows vista, and a brand new iPhone 3GS, and Im looking for an app, that will allow me to sync my word, excel, pdf, and etc files. I need to be able to email documents from my phone as attachments. Also it needs to be able to allow me

  • How to install adobe flash player on windows vista os?

    I'm trying to install adobe flash player on my hp desktop that has windows vista as the operating system. Please help by giving me step by step instructions. Im trying to use my early christmas gift a cricut explore machine.

  • Firmware Update for HP P1102w on MAC

    Hi. Intro information: I'm running OSX 10.8.5 and I be hable to do my printer work downloading software for OSX 10.7. Now the printer is working with USB connection and Wireless connection, but I can't eneble the e-print center. The printer can't con

  • Webmail is too slow

    Hi, After i upgraded my server to 10.6.4 my webmail service is become too slow. It takes long time to login and show up the mails. Please help. Thanks, Gulab Pasha

  • Simple question...I hope

    Earlier I posted a question, and this is sort of a follow-up or more fundamental question... Can you simply print from a PC/Win2000 to a printer that is connected via usb to a Mac (the PC and MAC are wirelessly networked)? Or, does the printer need t