Help in drill down report

Urgent!
May i know any of the sap standard reports to get detail idea on drill down report.
Thanks.

Hi,
Try this BCALV_TREE_SIMPLE_DEMO.
Also try this code...
TYPES: BEGIN OF t_scarr.
        INCLUDE STRUCTURE scarr.
TYPES: expcol TYPE c.
TYPES: END OF t_scarr.
DATA: gr_table TYPE REF TO cl_salv_hierseq_table.
DATA: gr_functions TYPE REF TO cl_salv_functions.
DATA: gr_columns TYPE REF TO cl_salv_columns_hierseq.
DATA: gr_column TYPE REF TO cl_salv_column_hierseq.
DATA: gr_level TYPE REF TO cl_salv_hierseq_level.
DATA: gr_sorts TYPE REF TO cl_salv_sorts.
DATA: iscarr TYPE TABLE OF t_scarr.
DATA: isflight TYPE TABLE OF sflight.
DATA: ibinding TYPE salv_t_hierseq_binding.
DATA: xbinding TYPE salv_s_hierseq_binding.
SELECT * INTO TABLE iscarr FROM scarr.
SELECT * INTO TABLE isflight FROM sflight.
xbinding-master = 'CARRID'.
xbinding-slave = 'CARRID'.
APPEND xbinding TO ibinding.
cl_salv_hierseq_table=>factory(
  EXPORTING
    t_binding_level1_level2 = ibinding
  IMPORTING
    r_hierseq = gr_table
  CHANGING
    t_table_level1 = iscarr t_table_level2 = isflight ).
gr_functions = gr_table->get_functions( ).
gr_functions->set_all( abap_true ).
gr_columns = gr_table->get_columns( level = 1 ).
gr_columns->set_expand_column( 'EXPCOL' ).
gr_level = gr_table->get_level( 1 ).
gr_level->set_items_expanded( ).
gr_sorts = gr_table->get_sorts( level = '2' ).
gr_sorts->add_sort( columnname = 'FLDATE' sequence =
if_salv_c_sort=>sort_down ).
gr_table->display( ).
Thanks.
Edited by: Cnu on Jul 10, 2008 3:21 PM

Similar Messages

  • Drill-down to line items in drill-down report (FGI0)

    Dear All,
    I have a problem regarding executing drill down report in FGI0
    When executing the drill down report FGI0 , I try to drill down to the line items from Goto-> line items but it's deemed & I can't run it.
    I searched a lot and found only one link but didn't help
    Customized drill-down report cannot go to line item level (FGI4 and FGI1)
    Please help as it's very important issue

    this is due to authorisation limit.
    Ithink you do not have the access to view the 2009 GL balances.

  • Drill Down Report on Web (Help Most Most Urgently)

    We are developing Drill Down Reports in Oracle Report 6i using button.But for the web it is treating button as image no an action taking object. I want to call another report (Drill Down Report) on regarding perticular row. And please help to call form finally with the help of button or any object in Report.
    Please help me Urgently.
    Thanks in Advance.

    in the format trigger for the button use something like :
    srw.set_hyperlink('http://servername/dev60cgi/rwcgi60.exe?run+report=drill2+userid=scott/tiger+destype=cache+desformat=htmlcss+server=rep60+p1='| |:deptno);
    null

  • Drill down report help

    Hi Friends,
    Im creating a drill down report in which i'm displaying a list of transport requests. When I double click on the transport request number it should take me to SE01 transaction. Im using call transaction command to get there. But  dont have any parameter id to display that particular transport number. Could somebody help me with this.
    Thanks,
    Kiran.

    hi,
    use PID <b>KOR</b>
    compare fm  TR_POPUP_INPUT_REQUEST.
    A.
    Message was edited by:
            Andreas Mann

  • 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

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

  • Drill down reporting through report painter...????

    hi  all ,
         I am generating a P & L report  from report painter .....
    I wish to have a drilll down option on items in rows 
    for eg if  i click on income i should be able to see all  the items of income ....
      can this be done how...????
    otherwise
    i shall have  show all the items  in the report
    the other thing is that can i give  a company logo in the report generated by report painter...
    please help as it is urgent
    thanks in advance..
    Nidhi
    pts assured

    Hi Nidhi,
    couls you give me a material on drill down reporting?

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Calendar with Drill Down Report

    Hello,
    Everybody.
    I am new to Application Express.
    Please any one tell me step by step how to make calendar with drill down report.
    Waiting for valuable reply.
    Thanks
    Rahul

    Not sure if this is what you wanted, but I have links on a calendar, and when you click them, it branches to another page with details about the event.
    To do this, create a calendar region. The SQL statement should have at least 2 columns: The date of the "event", and the text to display as a link. You should also choose a primary key that you want to pass to the drill down report when the user clicks. Something like this:
    select hiredate date_scheduled,
              ename display_column,
              empno
       from empIn the calendar attributes of that region, there is a place to designate which column is the date, and which should be displayed. Go down a little further and set the column link. Put the page you want to show the drilldown report on, and set any variables you need to.
    Hopefully that helped. Its pretty simple once you play around with it - start simple and then once you get the hang of it, make it more complex.

  • Drill Down Report through Report Painter

    Dear All
    I am looking solution for Drill Down Reporting through Report Painter.
    Kindly Help me for the same.
    Thanks in Advance
    Alok

    Hi Alok,
    All the report writer reports and report painter reports will have the ability of drill down. You can create a report using  T Code GRR1 and GR31. Create a report group T Code GR51 and assign the report to the report group. Generate the report group using T code GR55. One the report is executed double clik on any line item, the system will take you to the drill down options.
    Regards
    Sridhar

  • How to get the back button if we to go the 2nd drill down report??

    Hi,
    I have a drill down report for the main report. And have detailed drill down as in 1st report>2nd report>3rd report.
    But once i goto drill down, the return button is there which directs to main report i.e. 2>1,
    But once i goto 3rd, i do not get the back button so that i can access reports in 3>2>1, instead its going directly to 1st from 3rd.
    hope i have made the point clear.
    Someone suggest me how do i get the back button??
    Thanks!!

    use the below code in Narrative view
    <script&gt;
    function goBack()
    window.history.back()
    </script&gt;
    <input type="button" value="Back" onclick="goBack()"&gt;
    If helps mark
    Edited by: Srini VEERAVALLI on Feb 13, 2013 12:08 AM

  • Drill Down Report using Crystal reports in eclipse and jspviewer

    Hi
    I want to understand how to write a drill down report since I have a requirement for my project, so I tried to run the sample drill down.rpt that is available with Crystal Reports 2008 Complete Reference book by George Peck.
    I can see the results correctly( i.e. can drill down) in the preview tab . Since I am working inside the eclipse, the way I run the reports is first  "Create report viewer JSP" by right clicking the report and have a url mapping to this jsp. I am running the reports from a hyperlink that maps to the url which will launch the jsp.
    the jsp is:-
    <%@ page contentType="text/html; charset=UTF-8" pageEncoding="ISO-8859-1" %><%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer" %><crviewer:viewer reportSourceType="reportingComponent" viewerName="Drill Down-viewer" reportSourceVar="Drill Down" isOwnPage="true" allowDrillDown="true">
         <crviewer:report reportName="reports/Drill Down.rpt" />
    </crviewer:viewer>
    The one that was created by  "Create report viewer JSP" did not had "allowDrillDown" attribute at all .But I added it since it isnt working.
    So when I launch my web app and click on the link to run the report, I get the report results but only to the summary level. When I double click the summary level I get a 404 error page.
    Can please anyone suggest what is going on.
    Thanks
    poonam

    Ok. So, you added the report to the project. Now we have to add the CR assemblies to the project, add the viewer (if need be) and fire it off. Simplest code would be:
    Public Sub New()
            ' This call is required by the designer.
            InitializeComponent()
            ' Add any initialization after the InitializeComponent() call.
            CrystalReportViewer1.ReportSource = ("path to report")
        End Sub
    In this case you are using the viewer SDK to runt he report. The report will prompt for any logon parameters - but you can code these also. You can load the report via the engine as bellow. Again, the report will prompt. I prefer to use the engine as it is way more "extensible"...
    Public Sub New()
            ' This call is required by the designer.
            InitializeComponent()
            ' Add any initialization after the InitializeComponent() call.
            Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
            crReportDocument.Load("path to report")
            'Bind the report to the viewer
            CrystalReportViewer1.ReportSource = crReportDocument
        End Sub
    If you have a report added to the project (strongly typed) the code would be:
    CrystalReportViewer1.ReportSource = New myReport()
    For more details, I'd recommend looking at the sample app vbnet_win_simplepreviewreport.zip available from the following location:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    The developer help files are here:
    [SAP Crystal Reports .NET SDK Developer Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip]
    [SAP Crystal Reports .NET API Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_api_2010_en.zip]
    - Ludek

  • IS it possible to save drill down report in a html file?

    Hi all,
    My client is looking for a html file of a drill down report. Is it possible to save the report in html format with the drill down feature in it? Please help.
    Thanks,
    Karthick

    HI imansyah,
    Can you try doing what you want in first instance and then try posting your problem you face.
    Regards
    Rana

  • How to run drill down reports

    now i am using 9ids
    Before dev 2.1 was used.
    now before we had provision to run drill reports
    by putting a button on report
    and using
    srw.run_report(); procedure ,in button action trigger.
    now in 9i what i observed there is no object button in reports.
    button has changed to text item and there is no such action trigger.
    how to run the report
    as reports are run from form by using
    web.show_document
    pls suggest.

    Hi Rajendra,
    Again prasanth here, As u said, there is no more push button in 9i and 10g, ok. so u can drill down reports by using hyperliks which is only way(according to me). some may suggest to include JSP buttons. But u can simply place any text item like 'click here to run report' and in the property inspector(i.e.property pallette) set the hyper link property with the desination of your file. It may be a weblink or may be local file path.
    example
    hyperlink: www.oracle.com/..or
    c:\temp\test.rdf
    or u can write a trigger for that text item:
    1)right clik the text item
    2)goto pl/sql editor
    3)put the code
    a varchar(30);
    begin
    a:=srw_run_report('<the report link you want')
    return(a);
    but before doing this make sure that the item type of tha t text item property should be pl/sql(this can be set in property pallete of that text item)
    I think this help you,
    Thanks and Regards
    Prasanth A.S.

Maybe you are looking for