Drill down report...

HI abapers,
How to create drill down report in alv.
When i double click the particular field, another report has to pop up and display the details of that particular field.
for eg,
When double click the amount spent field other report has to say, For which material the amonut has spend.
Thanking You
arvind

hi arv,
for me your scenario is not clear..
you want to drill down the alv .. and show the report in the same program or you want to call another program when u try to hit the alv report..
well for drilling down the same program.. you can use the following method
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
   EXPORTING
    I_INTERFACE_CHECK                 = ' '
    I_BYPASSING_BUFFER                = ' '
    I_BUFFER_ACTIVE                   = ' '
     I_CALLBACK_PROGRAM                 =  GV_REPID
    I_CALLBACK_PF_STATUS_SET          = ' '
     I_CALLBACK_USER_COMMAND            = 'TOP1'     " drill down
     I_CALLBACK_TOP_OF_PAGE             = 'TOP2'
    I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
FORM TOP1 USING UCOMM TYPE SY-UCOMM SELFIELD TYPE SLIS_SELFIELD.
READ TABLE GT_FINAL_TOTAL INTO GS_FINAL INDEX SELFIELD-TABINDEX.
CASE SELFIELD-TABINDEX.
WHEN SELFIELD-TABINDEX.
perfrom itab2_operation. " in this form you will write the code to get the data for drill dispplay
now defing fieldcatalog again : example :
    GS_FCAT-COL_POS = 1.
    GS_FCAT-FIELDNAME = 'EBELN'.
    GS_FCAT-SELTEXT_L =  TEXT-001.
    GS_FCAT-FIX_COLUMN = 'X'.
    GS_FCAT-OUTPUTLEN = 13.
    APPEND GS_FCAT TO GT_FCA
and  call alv display again :
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
     EXPORTING
  I_INTERFACE_CHECK                 = ' '
  I_BYPASSING_BUFFER                = ' '
  I_BUFFER_ACTIVE                   = ' '
    I_CALLBACK_PROGRAM                =  GV_REPID
  I_CALLBACK_PF_STATUS_SET          = ' '
    I_CALLBACK_TOP_OF_PAGE            = 'TOP2'
  I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
  I_CALLBACK_HTML_END_OF_LIST       = ' '
  I_STRUCTURE_NAME                  =
  I_BACKGROUND_ID                   = ' '
  I_GRID_TITLE                      = ''
  I_GRID_SETTINGS                   =
    IS_LAYOUT                         = GS_LAYOUT
      IT_FIELDCAT                     = GT_FCAT
and if you want to call another progam when u hit..u have to use..submit key work
like  SUBMIT  ZAFI013R VIA SELECTION-SCREEN AND RETURN.

Similar Messages

  • Drill down report update

    Hi,
    How to add several currency value (USD, LKR) in drill down report - in Due Date Analysis for open Item report (S_ALR_87012168)
    Thanx.

    Hi,
    How to add several currency value (USD, LKR) in drill down report - in Due Date Analysis for open Item report (S_ALR_87012168)
    Thanx.

  • 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 Performance issue?

    Hi,
    why drill down report is slower performance comparing with Action link/Navigation method? what could be the back end processing?
    Thanks
    MRD

    Need to know/see your config to tell why it is slow, I would suggest to follow best practices for the same.
    Drill down back end process something like:
    Report fetch next level columns and the all aggregated measures are grouped by next level this may take some time unless you go with aggregate table (is part of best practices)
    Appreciate if you mark as correct/helpful

  • Hiding fields in ALV DRILLED DOWN REPORT

    Hi
    My scenario is like this i created a alv drilled down report , in that once the user executes it ,it will displays the header contents of the purchase order.
    If the user double clicks on any of the header line item it will displays the item detials of the particular header data..
    My probelm is if i double click  it i am getting the header details added with the item fields..i want to hide the header detials if i want to c the item level details..
    Can any suggest me some better ways to hide the header contents ??
    Arun Joseph

    hi,
    check ur field cat...
    R u using same name?
    If possible paste ur code here...

  • Drill down reports in character mode

    How to make drill down reports in character mode(remember not bitmapped)using report designer 6
    null

    I solved the problem in UNIX with this script, replacing the special characters:
    sed -i 's/special_1/¡/'  $salida
    sed -i 's/special_2/¢/'  $salida
    sed -i 's/special_3/£/'  $salida
    sed -i 's/special_4/¤/'  $salida
    sed -i 's/special_5/¥/'  $salida
    sed -i 's/special_6/¦/'  $salida
    sed -i 's/special_7/§/'  $salida
    sed -i 's/special_8/¨/'  $salida
    sed -i 's/special_9/©/'  $salida
    sed -i 's/special_10/ª/' $salida

  • Drill down report export to pdf

    Hi,
    I have a drill down report that i need to export to pdf.to get the drill down facility, I used 'HIDE' option for the groups.
    The drill down works in crystal.But when I export the crystal report to PDF, I could not see the hidden groups/Tabs, and my drill down doesn;t work.Please suggest me what to do while exporting a drill down report to PDF. Is it possible to export a drill down report to Excel?Can someone suggest the precaustions to be taken while exporting to different formats??
    Thank you,
    Tatyana.

    Drill-Down behavior in Crystal doesn't carry over to pdf exports.
    Using one of the 3rd-party Crystal Reports schedulers listed at http://www.kenhamady.com/bookmarks.html you can achieve similar behavior in pdf exports by automating the process of:
    1. exporting the main report to main pdf.
    2. Bursting a detailed report to individual pdf files
    3. using Crystal formulas embedded in the main report to generate live links from the exported main pdf to the individual detail pdf files.

  • Drill down reports (Reports 3.0)

    I am trying to create a series of drill down reports using
    Reports 3.0. To do this I have created buttons in each report
    which pass parameters to the next report using the
    srw.run_report package. I have a problem with the lowest level
    report where no errors are reported but the report is generated
    as a blank page. When run in isolation, i.e. filling in the
    paramters manually, the report works perfectly well. Does anyone
    have any ideas? Also, when passing more than one parameter, do
    you just have to use the concatenation operator (

    nicola (guest) wrote:
    : I am trying to create a series of drill down reports using
    : Reports 3.0. To do this I have created buttons in each report
    : which pass parameters to the next report using the
    : srw.run_report package. I have a problem with the lowest level
    : report where no errors are reported but the report is generated
    : as a blank page. When run in isolation, i.e. filling in the
    : paramters manually, the report works perfectly well. Does
    anyone
    : have any ideas? Also, when passing more than one parameter, do
    : you just have to use the concatenation operator (

  • 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

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

  • Adding a characteristics to AR Drill down report for line items

    I have raised an OSS note on this, but they deem this to be consulting.
    I have an AR drill down report for line items
    It calls the structure RFRRD20.
    I need to add a value into the characteristics so I can use it in the drill down report.
    I have appended the structure, added a value in TKAF for the field, and it still does not show.
    Has anybody done something similar?
    I am sure this is easy, but only when you know how, so if you know how to do it please can you let me know.
    thanks
    Mark

    Hi Mark
        I am also in the same situation where i need to add two characteristics (invoice date, due date) to the AR drill down reports. I added them to the structure and TKAF table as you did, but still could not get them to the drill down reports (FDI5 or FI1).
       From your posts, i see that SAP's response was that it is not possible to add characteristics to AR drilldown reports? Did they mention any reasons or OSS notes? How did you handle your requirement, were you able to work around?
       Your suggestions would be highly appreciated.
    Thanks
    Vamsi

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • How do I find my external hard drive capacity?

    I've just bought a Brand New Western Digital 1TB My Book Pro Hard Drive. However, now that it's hooked up when I look at it 'Get Info' it tells me the following Capacity 465.75 GB Avaliable 421.57 GB Used 44.18 GB This doesn't look right to me - How

  • HP Pavilion dv6 7134nr in-built speakers are broken

    I am encountering a major problem. In early March of this year, my in-built laptop speakers broke. I know this, because everytime I use my laptop, I hear a tapping sound from the top right of my keyboard near the beats audio logo. I was told by Micro

  • How to use $PROFILES$CONC_COPIES in plsql

    Can you give me an example of using $PROFILES$.CONC_COPIES in plsql? I need to change a plsql program to product 2 set of output reports each time when the job is run. User doesn't to change user profile option number of Concurrent copies. Thanks.

  • Creating an album page does not display all the albums?

    I am trying to create a page that has an index with "poster frames" as reference of all the pages that I have with movies. I dragged and dropped all at once 10 video clips onto the album button but on the album page only 7 clips are visible. In my si

  • MMAP Variable for Forms Under AS 10.1.2

    Earlier versions of the Oracle Application Server support an environmental variable in the .env file to control whether forms code is cached or reloaded for each request. The variable name is version specific (ie: FORMS90_MMAP=0). To modify forms cod