ABAP Query to Report

Hi All,
There is a ABAP Query in production. I need to replicate the same as a report. How do I do it ? I am not aware of abap objects . Please help me .
Thanks,
Amit

Hello Amit,
The best option is go to SQ01 in production. In this Query->Display report name. Pick up the name and goto SE38. enter the name and open the program. Then goto menu UTILITIES->More Utilities->Download. This will download the program. Go to your development system and follow the second step but now do an upload into a new Z program. This will generate a report fro the same query which you can take to production using transport request.

Similar Messages

  • Pricing reports,ABAP query based repors

    hai
    pls tel me the how to prepare the pricing reports as well as abap query based reports
    thanks in advance

    Dear sri vijay  ,
    Please read the rules of engagement before posting in forum
    Please search the forum before posting
    I am sure you will get lot of past threads related to ABAP Query and Pricing Reports.
    Thanks & Regards,
    Hegal K Charles

  • ABAP query vs ABAP report

    Hi Experts,
       I have a question regarding ABAP query  and report.
      what is the difference between ABAP query and ABAP report  ?
      will the query be more efficient than abap report ?
      Is there a standard SAP report that could replace a query?
    Thanks in advance,
    Manoj

    Hi,
    A report is a piece of logic that you write in (this case) in a programming language (ABAP). It uses the syntax of the normal commands of the PL.
    ABAP Query is a higher level tool, that reduces or eliminates the need to "program" in the PL, and rather uses more intuitive, graphic tools, to basically get the same results.
    Generally speaking, if the reporting needs are simple and standard, it is easy and feasible to use the query. The more complex the logic gets, the more you'll probably need to use programming.
    Regards,
    Mario

  • ABAP Query layout issue

    Hi,
    I need to add a new column in a ABAP-Query, while adding this column and executing the same. The layout has changed from custom to standard one.
    Is there any way to retain the custom layout in the "Basic List" while changing the Infoset Query.
    Thanks in advance.
    Best Regards,
    Gopi

    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

  • 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

  • ABAP Query Miising after ECC6.0 Upgrade from 4.7

    Hi
    We are upgrading from 4.7 to ECC 6.0. After upgrading, we found that ABAP queries that were there in 4.7 are missing. It gives an error that AQZZ####... Program not found.
    What could be the problem, is there something we left out while upgrading?
    Regards
    Ramya

    so you say, the tcode directly calls a program? The generated program name might be different between releases.
    A tcode for query has to look like:
    Create a transaction calling 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
    Did you check the standard / global areas in SQ01?
    Message was edited by:
            Eric Cartman

  • *New to ABAP: what is Report*

    Hi Gurus,
    i am new to ABAP.If any body can explain about what is report and how many types are there to create internal tables.
    points will be reward.
    Thanks,
    Balakrishna.

    hi naidu,
    When you are working in the SAP System, you may want to access information from the database. To do this, you use reports.
    In this documentation, report refers to the report program, and list refers to the output u2013 that is, the results of the report.
    Some reports display information; others allow you to perform analyses.
    A report must be started, or executed. In many cases, the SAP System automatically executes a report. Sometimes, however, you will want to execute a report yourself.
    In addition to report programs, the SAP System provides numerous reporting tools, each of which has its own set of procedures for executing report programs.
    This documentation describes report programs only. For an introduction to the SAP reporting tools, refer to the Reporting Made Easy guidebooks (Release 4.0B). You can find these guidebooks at: www.saplabs.com/rme
    In ABAP, there are a total of 7 types of reports. They are:
    Classical
    Interactive
    Logical Database
    ABAP query
    ALV Reports (ALV stands for ABAP List Viewer)
    Report Writer/Report Painter Views (There are different types of views also)
    [Edit section] Classical Reports
    These are the most simple reports. Programmers learn this one first. It is just an output of data using the Write statement inside a loop.
    Classical reports are normal reports. These reports are not having any sub reports. IT IS HAVING ONLY ONE SCREEN/LIST FOR OUTPUT.
    Events In Classical Reports.
    INTIALIZATION: This event triggers before selection screen display.
    AT-SELECTION-SCREEN: This event triggers after proccesing user input still selection screen is in active mode.
    START OF SELECTION: Start of selection screen triggers after proceesing selection screen.
    END-OF-SELECTION : It is for Logical Database Reporting.
    [Edit section] Interactive Reports
    As the name suggests, the user can Interact with the report. We can have a drill down into the report data. For example, Column one of the report displays the material numbers, and the user feels that he needs some more specific data about the vendor for that material, he can HIDE that data under those material numbers.
    And when the user clicks the material number, another report (actually sub report/secondary list) which displays the vendor details will be displayed.
    We can have a basic list (number starts from 0) and 20 secondary lists (1 to 21).
    Events associated with Interactive Reports are:
    AT LINE-SELECTION
    AT USER-COMMAND
    AT PF<key>
    TOP-OF-PAGE DURING LINE-SELECTION.
    HIDE statement holds the data to be displayed in the secondary list.
    sy-lisel : contains data of the selected line.
    sy-lsind : contains the level of report (from 0 to 21)
    Interactive Report Events:
    AT LINE-SELECTION : This Event triggers when we double click a line on the list, when the event is triggered a new sublist is going to be generated. Under this event what ever the statements that are been return will be displayed on newly generated sublist.
    AT PFn: For predefined function keys...
    AT USER-COMMAND : It provides user functions keys.
    TOP-OF-PAGE DURING LINE-SELECTION :top of page event for secondary list.
    [Edit section] Logical Database Reports
    Logical database is another tool for ABAP reports. Using LDB we can provide extra features for ABAP reports.
    While using LDB there is no need for us to declare Parameters.
    Selection-screen as they will be generated automatically.
    We have to use the statement NODES in ABAP report.
    If there are many tables the Performance will be slow as all the table data will be read from top node to bottom node .
    [Edit section] ABAP Query Reports
    ABAP query is another tool for ABAP. It provides efficency for ABAP reports. These reports are very accurate.
    Transaction Code : SQ01
       The advantage with ABAP QUERY is logic required for classic & interactive reports system design automatically 80%.
    For ABAP QUERY handle these
    SQ01 ; QUERY
    SQ02 : INFOSET OR FUNCTIONAL AREA
    SQ03: USER GROUP.
    [Edit section] Report Writer
    Key Concept :
    Super users and end users can use Report Painter/Report Writer tools to write their own reports.
    Giving them the ability to report on additional fields at their discretion shifts the report maintenance burden to them, saving SAP support groups time and effort normally spent creating and maintaining the reports.
    Instead of using ABAP code to write a report in FI and CO, many users build a Report Painter/ Report Writer library using transaction MC27.
    However, this workaround has some drawbacks. Little known transaction GRCT solves these problems in most cases, and eliminates the need to use transaction MC27.
    ABAP Report Types
    ABAP report types are those ones available in some report's attributes screen, i.e. :
    Executable program
    Function group (containing function modules)
    Include
    Interface pool
    Class pool
    Module pool
    Subroutine pool
    Also ALV means ABAP List Viewer. Most convenient way to use it is through reuse library (cf. transaction se83) available from release 4.6 of SAP R/3.
    ALV is available in two modes: list and grid. List mode is good old list processing with standard functionnalities, and grid mode is using a new OCX object displaying grids.
    hope its clear to you,
    Reward points if usefull,
    Thanks,
    Kalyan.

  • Abap Query - Creation of Report

    Hi guys,
    I do have a question to ABAP Query:
    I want to create a report that shows me all current active employees and all of their corresponding positions from Infotype 1.
    I have got it to the part where the report gives me all employees (active and withdrawn).
    The question is:
    How can I show only active employees as of todays date?
    Thanks,
    Sascha

    Thanks for your reply,
    but if I enter date 31.12.9999 and status of active. it gives me for some the latest record and for some two - though I could not find out why?!
    I should say, I am using logical database PNP for this query
    null

  • Gross Salary Report Need to develop in ABAP Query -sap-hr

    Dear Experts,
    i need to create salary report through ABAP-query.
    i have following below stops.
    1)Create user group thorugh SQ03.
    2) Having problem in creating Infosets,as i need to use PNPCE as ldb and p9001,p9002,p9008,p9000,p90402.but when i am created infoset it is showing in order p9000,p9001,p9002,p9008,p90402.and i am not finding any where join condition,how will i join these.
    Didnt find any tutorials..for HR abap-query
    please advice.
    Thanks & Regards
    Anwar

    Dear Experts,
    i need to create salary report through ABAP-query.
    i have following below stops.
    1)Create user group thorugh SQ03.
    2) Having problem in creating Infosets,as i need to use PNPCE as ldb and p9001,p9002,p9008,p9000,p90402.but when i am created infoset it is showing in order p9000,p9001,p9002,p9008,p90402.and i am not finding any where join condition,how will i join these.
    Didnt find any tutorials..for HR abap-query
    please advice.
    Thanks & Regards
    Anwar

  • Excess Inventory/Scheduled Receipts Report using ABAP Query.

    Hi All,
    I want to create a ABAP query for Excess inventory & Scheduled receipts in a single report. I have identified tables, fields and some extra calculated fields in the report. Here are the following tables and fields.
    EKPO-MATNR      ( Material number)
    EKPO-WERKS     ( Plant)
    MAKT-MAKTX       (Material Discription)
    MARC-MAABC      ( ABC indicator)
    LFA1-NAME1        ( Supplier name)
    MBEW-STPRS      (Total value)
    EKET-EINDT         ( Item delivery date)
    RIBOF-AMOUNT
    S939-SPWOC or S032-SPWOC
    Calculation fields : Value execess this week.extend value, over or under this week, onhand inventory for last week and this week.
    Here my question is, when i was creating a infoset, how do i maintain relationship or joins from one table to another table...Is there any sequence for the above tables? Pl suggest. When i was adding all the tables in a infoset and try join the tables...it says illegal join...
    Pl suggest me.
    Thanks for your help
    PRadeep
    Edited by: Venkata Pr Papulugari on Jul 18, 2008 1:37 AM

    Hi Gordon,
    What i need to display is the remainder of the transaction that was received... if it is zero (0), i don't want to display it.
    i.e.
    transact # 100 inqty = 5
    transact # 200 outqty =1
    I'd like to display
    transact # 100     qty on hand = 4
    right know the transaction # that i am displaying is transact # 200.
    And also, it needs to be warehouse oriented. because i can have multiple warehose transactions.... and i am getting that wrong too.
    Regards,
    Manuel Roman

  • Generating a report using ABAP query

    Hi All,
    I want to generate a anlytical report using ABAP query, There are 3 different transactions/steps have to be executed to get this data in an actionable form.
    1. MB52 - Unrestricted Stock
    2. ZCustomquery - Custom query in SAP R3
    3. Combine above two in a single report.
    Please suggest me how can i proceed,
    1. Example i have created query name called Finalrepot
    2. How can i call above zcustomquery and Transaction (MB52) in the Query.
    Thanks for your help
    Pradeep

    Hi,
    Check below link to create ABAP query (SAP Query)
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
    Best regards,
    Brijesh

  • ABAP QUERY REPORTS

    Hello Gurus'
    If any ABAP Query reports other then standard reports in MM pls give  like that reports.
    if any body come a cross developed reports thru abap query some thing is not possible thru standard reports in mm.
    Ian doing the project so i need like that reports pls help me boss.
    Regards
    Laxman

    Hi,
    If it is Indian Scenarios try to develop the reports like
    The Output of the Report should be like this.
    1) PRPOVendorMatrl Doc-Mvt typeSubcontracting challen Qty sendQty recievedQty pending
    2) PRPOQty- Price-GR-QtyIRQtyInvoice Amt
    3) Pending PRs,Pending POs, Pending GRs, Pending IRs
    4) J1ID table details in ALV GRID format
    Material excise details, output & input material number, Assessable value,
    rgds
    Chidanand

  • Including MANDT field in ABAP Query Report as output field

    Hi All,
    I need to display the client(MANDT) field in the ABAP Query Report as an output field.
    But in SQ01 where we select the fields to be displayed as output in query , this field is not visible.
    I later checked in the Infoset. Even in the infoset the field MANDT is greyed out and all other fields are active.
    Can someone tell me how to include the field MANDT in the output of the ABAP Query Report.

    self resolved

  • 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

  • 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

Maybe you are looking for

  • Burned CDs only play on computer

    I imported a cd,k and burned it to a blank cd, but that one won't play on any cd player, only on the computer! Is this because I foolishly upgraded to itunes 9?

  • Dynamic Event Registration Error

    Hi, I'm getting to grips with Dynamic events in LabVIEW. However, I've encountered an issue i'm not sure on. When I try to register a cluster of control refs to the Register for Events function I get an error.. See Dynamic Event Registration.vi for s

  • Problem moving to icloud

    Anyone having trouble moving their mobile me account to icloud?  Everytime I try it does not allow me, says the server is too busy... Anyone else experiencing this?

  • When I am using spotify on the free trial it keeps freezing. It wasn't doing this yesterday.

    I Have the iPad 4g 32. I got the 2 day free trial yesterday and it was working fine. I have downloaded about 200 songs. Now they keep freezing while listening to them.

  • Shall I upgrade to Mountain Lion on my MacBookPro 5,2

    I have a MacBookPro from 2009 with the following specifications:   Modellname: MacBook Pro   Modell-Identifizierung: MacBookPro5,2   Prozessortyp: Intel Core 2 Duo   Prozessorgeschwindigkeit: 2,66 GHz   Anzahl der Prozessoren: 1   Gesamtzahl der Kern