How to debug standard report

plz tell wt are the different way to debug standard report

Best way to debug is :
Take the message number and message id .
now goto Program ( When you go transaction -> system->status -> here you get program name).
click on find -> enter message number ( Select main program ) -> here you get message number ,now keep the break point ).
some times they call messages as like dynamically.
goto transaction -> enter all the data -> /h in command bar -> now create watch point -> use varaible as message id and value as message number ) ,operator is =
now it stops exact area
Rewards if useful.

Similar Messages

  • How to debug standard report that starts with a transaction?

    I want to run a report in debug mode.   The report name is RFFMEPGAX,  which
    is normally run using transaction FMRP_RFFMEP1AX.
    I want to start the transaction, fill in the form with the values I need, then
    hopefully the report code pops up in a debug window......
    Is there a way to do this?    I know how to open the debugger, but have not
    yet figured out a way to get the initial transaction to open in debug mode.

    If the transaction starts with a pop-up message, you can create a text file with this...
    [System]
    Name=R/3
    Client=
    Description=
    [User]
    Name=
    Language=
    Password=
    [Function]
    Command=/H
    Title=Title
    Type=SystemCommand
    Name it <b>Debug</b> and just drag it to the pop-up window...The debugger is going to start after a single Enter button...
    Greetings,
    Blag.

  • How to debug a report

    how to debug a report
    i am new to ABAP

    Hi
    <b>ABAP Debugger</b>
    The ABAP Debugger is an integrated test tool within the ABAP Workbench. You use it to check the program logic and to find errors in the source code of an ABAP program. In the Debugger, you can step through the source code of a program. The running program is interrupted after each step, allowing you to check its processing logic and the results of individual statements.
    As of Release 6.10, you can also run Business Server Pages (BSP) in the debugging mode. You can also display and set breakpoints here. Business Server Pages can be displayed in the Object Navigator when you select an appropriate application under BSP Application.
    <b>Features</b>
    The Debugger provides an efficient means of identifying errors in ABAP programs. It contains the following functions:
    •    Ways of starting the Debugger
    •     Choosing different views
    •     Choosing different execution options in the Debugger
    •     Displaying source code in the Debugger
    •               Setting and deleting breakpoints
    •               Setting and deleting watchpoints
    •               Stopping a program at a particular statement or event
    •     Displaying and changing field contents at runtime
    •     Displaying ABAP Objects and references
    •     Displaying and positioning strings
    •     Setting and deleting database locks
    •     Opening the ABAP Editor, or Object Navigator
    •     System settings and runtime warnings
    <b>Starting the Debugger</b>
    There are two possible strategies for starting the Debugger in the ABAP Workbench:
    •     By setting breakpoints then running the program
    •     By running the program in debugging mode.
    <b>Setting Breakpoints</b>
    A breakpoint is a signal in a line of code that tells the ABAP runtime processor to interrupt the program at that line and start the ABAP Debugger. A distinction is made between static and dynamic breakpoints. For further information about the different types of breakpoints and how to use them, refer to Breakpoints.
    Running a Program in Debugging Mode
    You can start the Debugger without previously having set breakpoints. This is the best procedure to use when you want to test a program right from the beginning. It is also useful if you do not know the program very well and therefore are not sure where best to set breakpoints. You can start the Debugger as follows:
    From the Object Navigator     Select a report or transaction and program and choose Program &#61614;&#61472;Test &#61614;&#61472;Debugging.
    From the ABAP Editor     Choose Program &#61614; Execute &#61614; Debugging (or the Debugging pushbutton).
    From any screen     Choose System &#61614; Utilities &#61614; Debug ABAP.
    From any screen     Enter " /h " in the command field.
    <b>Checking System Programs for Errors</b>
    To check a program or program component that is part of the ABAP Workbench (for example, the Screen Painter), you must use the system Debugger. To start the system Debugger, choose System &#61614; Utilities &#61614; Debug system from any screen. To stop the system Debugger, choose Debugger &#61614; Debugging off.
    <b>
    Displaying Program Attributes</b>
    You can display the attributes Fixed point arithmetic, System program and Unicode checks active of the program that has just been executed by choosing Goto &#61614; Further Information &#61614; Program Attributes.
    <b>
    Display Modes in the Debugger</b>
    When you are debugging a program, there are various display modes that you can use. All of the display modes have the same structure. The top part of the screen displays an extract of the program source code. The bottom part displays the information specifically available in that display mode. There are also pushbuttons on the screen allowing you to switch to the most frequently-used display modes. 
    go to se38->give ur program name-.execute->give /h at command prompt->execute->now debugging will start->
    f5-used for line by line debugging
    f6-used for directly executing function modules or performs i.e. control won't go into that block.
    f7-run to cursor
    f8-direct executing.
    fileds: here we can check fild values.
    click fileds option and double click on the filed or type the filen name beside filed
    tables : here we can check the data in the internal table.
    click tables option and double click on the internal table.
    Break points:
    if you want to debug a particulr part you can use this.
    place the cursor at any perform click breakpoint or double click on that line.it will be set.
    if /h from report statement it will debug,so for debugging from particular point we will use break points.use f7 to traverse between multiple break points.
    Watch-points: In some cases we need to check the data populated in the internal table for eample if we want to check the data of internal table record belongs to 100th vendor we will create watch point for this goto->breakpoints->create watch points->give filed itab-lifnr->=->100.
    debugging procedure:
    Use '/H' in the command line and execute the report/program, so that it goes to debugging mode
    2. keep a hard coded break point in the code like BREAK-POINT and it stops there.
    3.From the program Menu, Keep the Soft Break-points and do the debugging.
    see the links
    Refer to this thread
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://www.sappro.com/downloads/Settings&SystemAreas.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/frameset.htm
    https://forums.sdn.sap.com/click.jspa?searchID=2673672&messageID=3187106
    https://forums.sdn.sap.com/click.jspa?searchID=2673672&messageID=850453
    https://forums.sdn.sap.com/click.jspa?searchID=2673672&messageID=1546485
    https://forums.sdn.sap.com/click.jspa?searchID=2673628&messageID=2048883
    http://www.saplinks.net/index.php?option=com_content&task=view&id=24&Itemid=34
    http://www.sap-img.com/abap/testing-and-debugging-abap-codes-functions.htm
    Reward points if useful

  • How to debug a report in production server

    hello all,
    how to debug a report in production ...
    do i need to BREAK statement of that particular user.....
    thanks in advance....

    Vinay,
    Process of Debugging in Production will be same as in Development or Quality.
    But,it is not advisable to debug in Production because it may lead to inconsistency in data that's get saved to Database.So,based on the acitvity that you intend to debug you have to take some precautionary steps.Usually Debugging access will not be given in Production,even if they give debugging access you will not be having authorisation to change the values in runtime while debugging.You will not be able to put hardcoded BREAK-POINT because the Production client is meant only for display and not modifiable.
    If you can provide more details of what you intend to Debug,you will be getting more info here.
    K.Kiran

  • How to call standard report with in zprogram?

    Hi Sap experts,
    How to call standard report with in zprogram.
    For example if country is 'US' then call Zprogram(zprog_US).Inside zprogram call standard report(rhecm_change_proc_status).If country is 'CA' then call zprogram.Inside zprogram call standard report.For same othercountres like 'PR','GB','ES'.Actually HR_ECM_READ_FEATURE_CARGP will having the input as employee id and will return the CAREA(County like 'US','PR'......).Kindly help me what is the procedure?
    Regards,
    Sujan

    >
    sujan T wrote:
    > Thanks for your reply.
    >
    >    What is the logic to call the standard report from zprogram?Inside the zpogram how to call standard report?
    >
    > Regards,
    > Sujan
    no special logic is required
    If u want to use
    RPUAUDOO IN THE ZREPORT.
    Put the submit button where ever required
    ex: In zreport after certain process reacedu want to call then use
    submit rpuaudoo and return.
    Regards
    Sas

  • How to debug the report which isrunning in Background?

    Hi all,
    1.How to debug the report which is running in Background?
    thanks & regards
    vishnuvardhan

    Hello,
    Do like this.
    Create an infinite loop before the line u want debug.
    data: lf_flag.
    do.
    if lf_flag = 'X'.
    exit.
    endif.
    enddo.
    Now execute the report in background. In Tcode SM37 select ur job and in menu job--> Capture Active Job
    IT will stop at the point of infinite loop.
    Regards,
    Vasanth

  • How to call standard report in web dynpro abap.

    Hi All,
       I need the output of one standard report e.g RHXSTR00 on web dynpro abap.
       How can I achieve this?
       Please help!!! Points will be rewarded.
       Thanks in advance!
    Cheers,
    Darshna.

    Hi Darshna,
    The report result is ALV and in most of the cases we generally do not have function modules or any other easy way to get the output.
    In such cases the best approach which we follow is, to run this in background mode and generate the spool and display the ouput in PDF.
    But if intertactive form is not present in your requirement then we need to debug the logic of the report (if no FM or class present) and get the results and display it in the View.
    Best regards,
    Suresh

  • How do find standard report for

    Please help me my client asked me to look for standard report but am lost am new  cleint's easy access dont not have these so how do i find these reports
    AR Deposit Report
    Costs charged to Warranty orders
    Costs Of Goods Sold Report (by Market Business)
    Units shipped not Delivered
    Units shipped not Invoiced

    The kind of report in my mind.
    - What is my last month or last year activity ?
    - What was past tennis schedules ?
    Did I go to tennis regularly ?
    etc
    You could use a text editor and manipulate a copy of the > ics file, or you could use Apple script to extract and
    process the historical events.
    The ics files looks too complicated.
    I don't know, Apple script.
    Looking for, if there any report option in the iCal.

  • How to enhance standard report RPLICO10

    Hi,
    I want to add two fields in field selection in standard report RPLICO10 ( ECC 6.0 )
    1. IT 0105 - subtype 0001
    2. IT 0105 - subtype 0010
    these fields are not present in selectable fields under field selection.
    kindly suggest how to do it
    Can we do it in standard report or we have to create customized copy of it ?

    Hi Lalit,
    Instead of getting the fields on the selection screen, try this, on the selection screen click on the option search help. From the displayed list choose U - System user name. This helps you filter the hit list based on infotype 0105. You can enter the subtypes under Communication type and enter the various values you want to run the report for in ID/number.
    Regards,
    Priya.

  • How to customized standard report ????? hurry waiting

    Dear all abapers ,
         I am having a problem , that i want to add a two fields into standard report
    how can i do this..........................
    please reply fast if possible , if valuable
    rewards with points

    hi
    go through this material
    http://www.sapdev.co.uk/enhance/enhancehome.htm
    http://www.****************/Tips/ExitsBADIs/ExitsMain.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975e643b111d1896f0000e8322d00/frameset.htm
    http://wiki.ittoolbox.com/index.php/Implement_a_screen_exit_to_a_standard_SAP_transaction#Pre-Requisites
    check this one
    <b>http://sap.ittoolbox.com/groups/technical-functional/sap-dev/screen-exit-on-mm01-mm02-mm03-322717</b>
    i think it will useful for u.
    Thanks,
    Usha
    Message was edited by:
            Usha Rani R

  • How to debug a report in webi

    Hi Every One,
    1) How to debug (debuging steps )in  a report in boxir2 webi  based report.can any body help me out .
    2)How we do the performance and tuning in the report level.
    3)Aggregate awareness is possible to apply  in report level  or in universe level.If possible where we can find that option in webi..
    Please help me out
    Thanks in advance

    Hi,
    1. Depends on what you would like to debug - Always remember that Data issues - look into generated SQL and compare with report output ..the values would be the same or at higher level based on output context.
    2. There is not much to do in terms of improving performance in rendering a report. You should ideally concentrate on universe and underlying db performance for query retrieval.
    3. Aggregate awareness is applied at the Universe level. Please refer to the universe designer guide for more details.
    Regards

  • How to use standard report program [RPR_ABAP_SOURCE_SCAN]

    hi all,
    how to use RPR_ABAP_SOURCE_SCAN report program for checking my program. when i run it its asking me the report name and i gav it but, its showing me the error message as  'ENTER SEARCH STRING' .
    SO I NEED TO KNOW WHERE I DID WRONG.
    thanks in advance,
    suresh babu aluri.

    hi suresh,
    i hav tried that, its working
    enter like this,
    <b>program name : zpy_text</b>
    under search criteria.
    <b>Find string : select</b> 
    "******enter any string that is in that program, usually select will be there, then execute.
    With Regards,
    S.Barani

  • How to print standard report region to a PC printer via Win printer driver?

    I know it's not very sexy, but sometimes an app user needs to print a standard report region to a printer that is connected to their PC. So that they can print their Apex report in the same manner as they do everything else from their PC, using a predefined Windows printer driver is necessary. What is a simple way to add a "Print" button to a standard report that will open the Windows print facility?
    P.S. Apex 4.1
    P.P.S. Hopefully, the solution is simple. i.e. No installation of additional print drivers, etc. The user may not be technologically sophisticated. They simply want a hard copy of information that they pulled up with their Apex app (they don't even know what Apex or a printer driver is).
    Thanks,
    Kim

    Add a Print button or link to the page with an <tt>onclick</tt> attribute that calls the method<tt>print()</tt> method:
    onclick="window.print();"You can also use a print media style sheet to suppress unwanted page elements (tabs etc) from the printed output and optimize the report formatting for print.

  • How to Debug Standard Program & Customised Scripts in Cheque Printing

    Hii
    Am working on APP Cheque Printing...
    here am using standard driver Program 'RFFOUS_C'
    and two customised script for Cheque print and payment advice print..
    please let me know , How to dubug my cutostomised script while printing through F110 .....
    its not working evenif am activating Debugger in Script or also through RSTXDBUG Prgm
    Note : In APP , when am Processing through F110 , In background mode processing takes place and finally Spool is generated....
    Awaiting for ur reply...
    Thanks in Advance

    Hi,
    yes offcource you have to activate debugger for script ....but additionally
    1. The point in the program where your script is triggered put an external breakpoint.
    2. Before giving the Print Preview or whichever button put '/h'
    3. After putting /h and pressing the button it goes in Debug mode then you can F8 and it will reach the point where you have set the Breakpoint or External breakpoint.
    Thanks,
    Neha

  • How to debug the report in 6i

    Hi,
    i am using 6i report, i need to know the values returning from parameter and query.
    when i run report no values are printing in the report.
    i am getting values when i check th equery in sql*plus
    how to display parameter values in message. please guide
    thanks
    rinz
    Edited by: Rinz on May 29, 2010 12:55 PM

    Hello,
    The way you mentioned its right to display message in reports 6i or earlier
    And as you said that your query is returning result in sql. Then try to check the joining and parameter value for p_company and p_from_refno and p_to_refno like this
    SRW.MESSAGE(0,'P_COMPANY='||:P_COMPANY);
    SRW.MESSAGE(0,'P_FROM_REFNO='||:P_FROM_REFNO);
    SRW.MESSAGE(0,'P_TO_REFNO='||:P_TO_REFNO);Then check the value if it is same which you are using in sql.
    -Ammad

Maybe you are looking for

  • 0x80072ee4 error in Store for any app after Windows 8.1 Upgrade

    Just in installed 8.1 directly from the Store (Win 8 Pro). Everything went smoothly. Now when I go into the Store and try and install (or update, as it says apps are broken) any app, it says "Something happened and your purchase can't be completed. E

  • Max # of Objects in a universe

    Is there a max # of objects in a cube that can be consumed by a universe (BI 4.0)?  I am trying to place a universe on top of a large BW (7.3 SPS 5) cube.  I am able to create the universe just fine, but when I try to refresh the structure the design

  • Error In Oracle Forms

    Helo All I m facing one error ORA-04062.sometimes this error comes & sometimes it didn't.As i read abt this error on net it showed the package specification has changed.But it happened not only once many times it shows this type of error & as i compi

  • [SOLVED] /dev/root is not a valid block device

    After trying to boot my system after a few days of it remaining off, it fails to boot with: Booting the kernel. ERROR: resume: hibernation device '/dev/sda9' not found mount: /dev/root is not a valid block device You are now being dropped into an eme

  • Error retrieving cache in c# WPF project (No problems in c# WinForms)

    Hi! To put it simply, the same basic cache retrival (with same configuration files) works under c# Winform app but under c# WPF app returns an error: {"unable to convert type -6 to a Binary type"} from cache.GetValues(null); Working with a custom .ne