Regarding Interactive or drill down reports

How to come back from 15th list to 5th list or 1st list in the interactive reports?

Hi Naveen, this material gives u the sample codes, will be of help.
Using Detail Lists
A classic report is a program that generates a single list, which must contain all of the required detail information. This procedure may result in extensive lists from which the user has to pick the relevant data. For background processing, this is the only possible method. After starting a background job, there is no way of influencing the program. The desired selections must be made beforehand and the list must provide detailed information.
For dialog sessions, there are no such restrictions. The user is present during the execution of the program and can control and manipulate the program flow directly. To be able to use all advantages of the online environment, classical reporting was developed into interactive reporting.
Interactive reporting allows the user to participate actively in retrieving and presenting data during the session. Instead of one extensive and detailed list, with interactive reporting you create a condensed basic list from which the user can call detailed information by positioning the cursor and entering commands. Interactive reporting thus reduces information retrieval to the data actually required. Detailed information is presented in detail lists.
Apart from creating detail lists, interactive reporting also allows you to call transactions or other executable programs (reports) from lists. These programs then use values displayed in the list as input values. The user can, for example, call a transaction from within a list to change the database table whose data is displayed in the list.
EXAMPLES
Creating Detail Lists
REPORT demo_list_interactive_1.
START-OF-SELECTION.
WRITE: 'Basic List, SY-LSIND =', sy-lsind.
AT LINE-SELECTION.
WRITE: 'Secondary List, SY-LSIND =', sy-lsind.
When you run the program, the basic list appears. The GUI status automatically permits the function Choose (F2). When you choose a list line, the system triggers the AT LINE-SELECTION event, and the first detail list overlays the basic list. This list has no standard page header. It also inherits the GUI status of the basic list. By choosing Choose, the user can now create up to 19 of these lists. Trying to produce more than 19 lists results in a runtime error. Using Back , the user can return to previous lists.
Navigation in detail lists.
REPORT demo_list_interactive_2.
START-OF-SELECTION.
WRITE: 'Basic List, SY-LSIND =', sy-lsind.
AT LINE-SELECTION.
IF sy-lsind = 3.
sy-lsind = 0.
ENDIF.
WRITE: 'Secondary List, SY-LSIND =', sy-lsind.
When you run the program, the basic list appears:
Basic List, SY-LSIND = 0
The GUI status automatically permits the function Choose (F2). If the user positions the cursor on the list line and chooses Choose to trigger the AT LINE-SELECTION event, the system displays a detail list that contains the following line:
Secondary List, SY-LSIND = 1
Choosing Choose again produces:
Secondary List, SY-LSIND = 2
Back leads to the previous list level. Choosing Choose for the third time produces a detail list that contains the following line (because of the IF condition):
Secondary List, SY-LSIND = 0
The system deletes list levels 1 and 2. Choosing Back returns to the point at which the list processing started. If you choose Choose, the system creates a detail list with index 1. However, the list on level 0 is no longer a basic list (no page header), but is itself a detail list.
Page Headers for Detail Lists
REPORT demo_list_interactive_3.
START-OF-SELECTION.
WRITE 'Basic List'.
AT LINE-SELECTION.
kindly reward if found helpful.
cheers,
Hema.

Similar Messages

  • Difference between Drill down Report and Interactive Report

    What is the difference between Drill down Report and Interactive Report?

    Hi,
        Drill down report and Interactive report seems to be acts as same. But there is a minor difference between those two.
    Drill Down Report  - When you  click on a particular field in a report it drills down to the next report, it won't trigger another screen.
    Interactive Report -  When you click on a particular field in a report it will trigger another report based on the field clicked. It opens another session internally in the same screen.
    Regards,
      Jayaram...

  • What is the difference in Interactive reports and Drill down reports?

    What is the difference in Interactive reports and Drill down reports? Are they same?

    Hi FRD ,
    Both are same .
    as far as i know there is no difference .
    bye .

  • ALV interactive drill down report

    Hi,
    I have a requirement to display the header details on an ALV report
    date -- level1level2level3...level4
    Here level1,2,3,4 contains the counts of item details based on level
    Now i need to display second drill down report, when user clicks on specific cell for levels.
    e.g.,
    when user clicks on count for level2, i need to show drill down report for level2 items for that date.
    Can any one give me some ideas for this ALV report...
    THanks in advance.
    points will be awarded immediately

    If you need to know how to do drill down, here is an example program.
    report zrich_0001.
    * Global ALV Data Declarations
    type-pools: slis.
    * Internal Tables
    data: begin of itab occurs 0,
          matnr type mara-matnr,
          maktx type makt-maktx,
          end of itab.
    start-of-selection.
      perform get_data.
      perform call_alv.
    *      Form  GET_DATA
    form get_data.
      select mara~matnr makt~maktx
              into corresponding fields of table itab
                   from mara
                     inner join makt
                      on mara~matnr = makt~matnr
                                 up to 20 rows.
    endform.
    *  CALL_ALV
    form call_alv.
      data: ifc type slis_t_fieldcat_alv.
      data: xfc type slis_fieldcat_alv.
      data: repid type sy-repid.
      repid = sy-repid.
      clear xfc. refresh ifc.
      clear xfc.
      xfc-reptext_ddic = 'Material Number'.
      xfc-fieldname    = 'MATNR'.
      xfc-tabname      = 'ITAB'.
      xfc-outputlen    = '18'.
      append xfc to ifc.
      clear xfc.
      xfc-reptext_ddic = 'Material Description'.
      xfc-fieldname    = 'MAKTX'.
      xfc-tabname      = 'ITAB'.
      xfc-outputlen    = '40'.
      append xfc to ifc.
    * Call ABAP List Viewer (ALV)
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = repid
                i_callback_user_command = 'HANDLE_USER_COMMAND'
                it_fieldcat             = ifc
           tables
                t_outtab                = itab.
    endform.
    *       FORM handle_User_Command                                      *
    form handle_user_command using r_ucomm     like sy-ucomm
                                   rs_selfield type slis_selfield.
      case r_ucomm.
        when '&IC1'.
        case rs_selfield-FIELDNAME.
          when 'MATNR'.
             set parameter id 'MAT' field rs_selfield-value.
             call transaction 'MD04' and skip first screen.
          endcase.
      endcase.
    endform.
    Regards,
    Rich Heilman

  • Regarding Drill Down Reporting

    Hai guys,
    could you please confirm what is the transaction for Drill down reporting tool.
    Expecting your reply.
    thanks.
    Ambichan
    Message was edited by: ambi chan

    Here we go
    KE80 /KE81 /KE82 /KE84 .
    If helpful pl reward.
    Cheers.

  • What is drill down report

    hi
    experts can u help me for this

    nothing difference for interactive and drill down
    i am giving a clear example so that u can clearly understand
    in this example you have a mainreport REPORT1. From REPORT1 you
    can drill down to REPORT2 and from REPORT2 you can drill down
    to REPORT3.
    Tip:     Use hotspots to fire the AT LINE-SELECTION event.
         When the cursor is over the hotspot, it cganges to a hand,
         and you just have to click on the hostspot, instead of
         double clicking.
    Note:     To see how to recognize if the user has selected a valid line, take a look at
    How to check if a valid line is selected before drill down.
    START-OF-SELECTION.
    Read data for REPORT1 into itab1
    END-OF-SELECTION.
      PERFORM write_report1.
    TOP-OF-PAGE.
    Write list header for REPORT1
    AT USER-COMMAND.
    Respond when the user presses a function key
      CASE sy-ucomm.               
       WHEN 'REPORT2'.                
         PERFORM write_reprt2.  
       WHEN 'REPORT3'.                
         PERFORM write_reprt3.  
      ENDCASE.
    AT LINE-SELECTION.                                                 
    Istead of pressing a button can perform the same actions
    as i AT USER-COMMAND, by double clicking a line 
    sy-lsind contains the list level.
    Each time an interactive list event occurs, sy-lsind is
    automatically increased by 1.
    At REPORT1 sy-lsin = 0
      CASE sy-lsind.                                                   
        WHEN 1.                                                        
           PERFORM write_reprt2.  
        WHEN 2.                                                        
           PERFORM write_reprt3.  
      ENDCASE.
    TOP-OF-PAGE.
    Write report header for report1 ( sy-lsind = 0 )
    TOP-OF-PAGE DURING LINE-SELECTION.                       
    Write report header for sub reports
       CASE sy-lsind.                                         
         WHEN 1.                                              
        Write report header for REPORT2.
         WHEN 2.                                              
        Write report header for REPORT3.
        ENDCASE.
    FORM WRITE_REPORT1.   
       LOOP at itab1.
        write report1.......
        Hide keyfields used for the select statement of
        report2
          HIDE: itab1_year, itab1_month.
       ENDLOOP.      
    ENDFORM.
    FORM WRITE_REPORT2.   
       SELECT * FROM databasetable2 into itab2
          WHERE year   = itab1_year AND
                month  = itab1_month.
       LOOP at itab2.
        write report2 .......
        Hide keyfields used for the select statement of
        report3
          HIDE: itab2_carrid.
       ENDLOOP.      
    ENDFORM.
    FORM WRITE_REPORT3.   
       SELECT * FROM databasetable3 into itab3
          WHERE carrid   = itab2_carrid.
       LOOP at itab3.
        write report3 .......
        No need to hide keyfields, as further drill down is not
        possible
       ENDLOOP.      
    ENDFORM.
    regards
    Giridhar

  • How to group by a number of visible rows in drill down report

    hi,
    i have a drill down report with no detail row. 
    I need to control the number of rows shown on the page based on a variable that a user supplies, however it  needs to be only visible rows.
    if I add an outmost group based on an expression like this one:
    =Ceiling(RowNumber(
    "table1")/Parameters!recordsPerPage.Value)
     it will count all rows - visible or not.
    any help would be appreciated.
    thanks
    Inna

    Hi Inna,
    Based on my research, a drilldown report is a layout design that at first hides complexity and enables the user to toggle conditionally hidden report items to control how much detail data they want to see. Drilldown reports are used to change the report
    layout interactively. So it wouldn’t affect the rows displayed in the outmost group. Though some rows are hidden when the report is initially run, it will still count them. This is by design.
    Furthermore, if I understand correctly, you also expect the outmost group is a dynamic group depends on the drilldown action, right? As per my understanding, this function still cannot be achieved at this moment.
    Thanks for your understanding.
    Regards,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • How to add the required characterists and key figures to drill down report?

    hi,
    i am creating a drill down report using t.code FKI4. however i noticed that some of the characteristics and key figures required by me is not listed in the report catalog. how can i add the required characteristis and key figures to the report catalog?

    Hi Inna,
    Based on my research, a drilldown report is a layout design that at first hides complexity and enables the user to toggle conditionally hidden report items to control how much detail data they want to see. Drilldown reports are used to change the report
    layout interactively. So it wouldn’t affect the rows displayed in the outmost group. Though some rows are hidden when the report is initially run, it will still count them. This is by design.
    Furthermore, if I understand correctly, you also expect the outmost group is a dynamic group depends on the drilldown action, right? As per my understanding, this function still cannot be achieved at this moment.
    Thanks for your understanding.
    Regards,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Drill-Down Report Printing Problem for Selection Parameters

    Dear Experts,
    Have tried to configure Drill-Down Report for Vendor Balances,
    Am having trouble when printing this drill-down report, Printing is coming OK but it comes with ALL selection parameters, for e.g, have entered 20 vendor codes for the balance display, system first prints all selection parameters and then it prints the output of vendor balances,
    User does not want selection Parameters to be printed with the Report Output. Please find below screenshot for the problem.
    Input Parameter Screen
    Report Output Screen
    Print Preview Screen (First Page - Selection Parameters)
    Your help is much appreciated, if anyone can guide me, how to switch off selection parameters from Print Output of Drill-Down Report
    Thanks
    Regards
    P

    Hello Ms. Preeti,
    Thanks for your reply, Have designed the report through FKI0 (FKI*)
    Have already looked these setting, but these are not helping really, PFB screenshot for settings am having in my system, if you have any idea which can avoid User Input Parameters from printing then it will be really great help
    Thanks for your help
    Kind Regards
    P

  • Customized drill-down report cannot go to line item level (FGI4 and FGI1)

    Hi Expert,
    I created a customized drill-down report using New GL features, as follows:
    FGI4 create form, with reference to form: 0SAPBLNCE-01
    FGI1 create report for the form created.
    After that I set some things like characteristic, variables, and output type.
    When I execute the report, the data shown cannot be drill-down to line item level:
    Goto > Line Item (this function is disabled).
    Kindly advise why I cannot goto line item level, where I copy from standard form: 0SAPBLNCE-01, which ha sthe features of drill-down to line item level.
    Thanks
    sbmel

    Hi sbmel,
    For calling up a line item report in a drill down report you need to make the below settins:-
    - You first have to generate the line item report with program RGRGENSI for your summary table.
    - Then assign the generated line item report to the summary report.
               Assiging the report is part of the 'Change drilldown report' function, which you reach by activating the characteristic selection field and then Extras -> Report assignment.
                In the dialog box that appears, choose the 'Other report type' function and insert the line item report generated earlier, as an ABAP report
    Regards,
    Gaurav
    Edited by: gka2707 on Jul 19, 2010 8:07 AM

  • Drill Down Report in screen painter

    Hi Experts,
    I have a requirement in dialog programming/screen painter to create a 2 level drill down report. for eac page of the report, it should only contain 10 entries then to view the other entries (11 and up), the button for next page should be click (there is also back button).
    First question is how will I have the drill down report (alv list type?) in screen painter?
    Second question is how should I process the logic mentioned above (next and back) in screen painter/dialog programming?
    Thanks in advance for all teh support. Points will be rewarded.
    Cheers,
    Kurtt

    Hai,
    Go thru this Threads u ll get an idea,
    Drill down report help
    Re: regarding Drill Down Reporting
    drill down capabilities for an alv grid display field using oops concept
    Regards,
    Padmam.

  • How can I activate drill down report for planned line items please urgent?

    Hi Everyone,
    Please suggest me how can i activate drill down report for planned line items in internal orders. S_ALR_87012993. Please suggest me, I'll award full points. I am unable to do it in client system, which has already line items. I tried in my sys with new config it is working.
    Kind regards
    Arvey.

    Hi
    It is based on the reports attached in the Report Group - TCODE: GR53
    In the Report Group screen
    Press CONFIGURE – This is to attach any Drill Down reports.
    Press the “Insert Line” icon
    As is the screen may be used to insert a Report Writer report group. To add an ABAP, press “other report type”
    Double click on “ABAP Reports”
    Enter the name of the ABAP and ENTER
    <b>RCOPCA08                       Profit Center: Plan Line Items</b>
    VVR

  • Parameter Problem with Drill down reports

    Hi,
    I have created a drill down report.
    I have a master report which list all the employee names and a detail report which list the contact details for each employee selected.
    The URL looks like this http://webser/dev60cgi/rwcgi60.exe?detail&p_empid = 1200
    detail is a kepmapping entry in cgicmd
    this does not work and the detail report does not get the p_empid value.
    Now if i enter the compelete url like http://webser/dev60cgi/rwcgi60.exe?server=rep_ss&report=det.rdf......
    it works.
    Any suggestions !
    Thanks,
    Shailesh
    null

    Hi,
    I got this resolved by using javascript and doing explicit form submit. As our information is highly secured we don't want the users to see any of the URL links from href, browser or from view source.
    I got the first two resolved but when i do a view source i could se in header sections of html view souce the follwing code
    <head>
    < base href="http://webser.../522222.htm>
    </head>
    is there any way using reports i can hide this.
    Any help, suggestions or reference will be highly apprecaited.
    Thanks,
    Shailesh
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by the oracle reports team:
    hello,
    did you specify the token %* in the CGICMD.DAT file so additional parameters are picked up from the URL ?
    regards,
    the oracle reports team<HR></BLOCKQUOTE>
    null

  • Problem with Drill down reports demo

    Hi,
    Did somebody successfully installed the
    drill down demo. I am not able to get the results here getting some javascript error
    "object expected".
    I have created a schema,
    also the cgicmd.dat report variables
    attahced the rep_util file.
    I could see the invoices report and the product link displays
    javascript:opendetailwin('http:/myserver/dev60cgi/rwcgi60.exe?item+101863')
    when i clik on the above link i get object expected error.
    The Javascript on view source page looks like this
    <script language="JavaScript">
    <!--
    var detailwin = null;
    function opendetailwin(urltopen)
    detailwin = window.open(urltopen,"ItemDetails",
    "width=650,height=535,resizable=yes,status=no,menubar=no,scrollbars=yes,toolbar=no")
    detailwin.location.href=urltopen;
    // -->
    </SCRIPT>
    any help will be higly appreciated. Also is there any other way of implementing drill down reports on web.
    Thanks in advance,
    Shailesh

    Hello,
    Try making your hyperlink in the master report look like this:
    http://webserver/dev60cgi/rwcgi60.exe?detail+p_contactid=&<contact_id1>
    The &<column_name> reference in a hyperlink will tell Reports to substitute the current value of that column in the resultant string.
    Regards,
    The Oracle Reports Team --skw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • REPORT PAINTER DRILL DOWN REPORT

    Hi,
    i need to develop report painter report with drill down for cost elments and month wise
    out should be cost elements and all months
    Please suggest how to use drill down
    Thanks and Regards
      RAVi

    Along these same lines. I have a user that cannot drill down into a drill down report. Let me clarify. This  report does have drill down capability as some people can drill down into it but others cannot. If a user has authorization to run a report via GRR3. When they click on an item to drill down they do not get an authorization error statement, all they get is a statment that says "list contains no data". Any ideas why some can drill down and some can't? Thanks
    Mark

Maybe you are looking for

  • Error while using ADF map component

    I am facing problem while using ADF map component to display geographical addresses on the map. Steps I have followed are as follows : 1. I have created a simple table with structure. location_name varchar2(20), longitude number(10), latitude(10) Thi

  • Transaction MMCL does not work in ECC 6.0 system

    Hello All, I am trying to run transaction MMCL in ECC 6.0 system. It does not run. Has SAP obsoleted this transaction and come up with a new one. Basically I want to track inventory based on a Batch Characteristic value. Thanks in advance, Sachin

  • Diferent Grain Fact Table

    Hi, I have two fact table, a budget fact table and an adjust fact table... the budget fact table is related to a year dimension and the adjust fact table is related to a date dimension.. So I have something like this: Budget table Year Concept Amount

  • Saving iTunes Music Before Reinstall

    I am unable to launch iTunes - receive same message others have reported . . . that iTunes has encountered a problem and needs to close, sorry for the inconvenience. Window sometimes refers to iTunes Helper Module but message is the same - has to clo

  • Account Determination - Receive into Negative Stock

    We are using SAP IS-Retail. I want to change the account used for the MAC differences between existing MAC abd new PO unit price when receiving into a negative stock. For eg. I have stock as -2 (because I have sold 2 before I received). I got stock o