Drill Down Reports - Very Urgent

I have the following situation.
I want to create a drill down report and pass parameters from the
master report to the detail.
I built 2 simple tabular reports Drill1 (master) and Drill2 (detail). I have placed a button in the repeating frame of the Drill1 report, and I wrote the following code in its trigger:
srw.run_report('report=DRILL2');
I have tested the report and it works just fine.
But .... I want to pass as a parameter to the second report the value of a field. According to the documentation I shall change the button trigger to
srw.run_report('report=DRILL2 paramform=No p_1=''' || :field1 || ''''); -- (the value is a string)
I did so but it gives me the REP-0159 error. Am I doing something wrong?
Note that I am using reports version 6.8.12.1
Thanks
Ioanna

hi Ioanna,
The Problem seems to be with the quotes in your srw.run_report command line . The appropriate commandline should be
srw.run_report('report=DRILL2 paramform=No p_1='||:field1||' ... <rest of the cmd line >');
( note the quotes before / after ||:fie1d1|| .. )
Regards
Oracle Reports Team

Similar Messages

  • Drill Down - Report Painter (Urgent)

    Hi,
    I need to add drill down i.e. transactions CJ74 and CJI4. IN transaction GR52, I added CJ74, CJI4 as  TR and RKPEP003 as RT.
    My problem :
    When I execute the program, and doble click on the O/P row, pop is showing all the three options i.e
    1. CJ74
    2. CJI4
    3. RKPEP003
    If I select 1st two, it is throwing me out of the report.
    In the last case, it is going to the o/p of report RKPEP003  and not displaying any data as it is taking the default values as they are when I execute RKPEP003 pgm in SE38 and it is not taking values from the row/column I selected in the report painter output.
    Can you please let me know how to correct this.
    Thanks in advance.
    Regards,
    Kiran.

    Hi,
    Since the report is running on the server, the output shall be as well. I don't think you can use desname to specify a local folder as the server knows nothing about local machine. It only has acces to it's resources.
    The user will need to generate the report and then save to local disk. You could also think about other delivery methods such as email.
    Hope that helps.

  • 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='&#0124; &#0124;:deptno);
    null

  • 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 Report in HRABAP

    Hi All,
    I have requirement to use drill down report in HRABAP.
    I know in normal report we will use HIDE and AT LINE SELECTION case SY-LSIND when 1 we wll get the data.
    I dont know how to use this in HRABAP.
    I am using<b> provide and end provide </b> .
    How to get the data from b2 cluster for table AB.This is very urgent
    Can anybody give me the solution for this.I will reward points if it helps me.
    Thanks,

    Hi,
    You can use all the statements in HR also.
    For getting the AB values,there are macros and function modules available.
    Macros:
    rp-imp-c2-b2.
    You need to pass b2 key values before calling macro.For eg,
      MOVE pernr-pernr  TO b2-key-pernr.(since u r using LDB)
      MOVE year         TO b2-key-pabrj. (year you need to pass)
      MOVE period       TO b2-key-pabrp. (month)
      MOVE '1'          TO b2-key-cltyp.
    have a look at these Function Modules also.
    HR_WORK_SCHEDULE_TIMES
    HR_TIME_RESULTS_GET
    HR_TIME_RESULTS_IN_INTERVAL
    HR_WORK_SCHEDULE_TIMES
    Reward points if helpful.
    Regards,
    Manoj.

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

  • Image map & Drill Down Reports in Apex

    Hi,
    I am looking to create a Image map with drill down reports. I don't know Java but know PL/SQL functions/procedures very well. I would appreciate if someone help me with this.
    I am looking following functionality:
    1. Upload an image in Apex
    2. Create click-able areas in it.
    3. User click on these hyperlinks and move to next page with drill down report as per the vaiable in hyperlinks
    Wajid

    Try viewing this blog entry to see how to do image maps in APEX..
    http://www.danielmcghan.us/2009/05/html-image-maps-old-trick-with-new.html
    Thank you,
    Tony Miller
    Webster, TX

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

  • Problem in accessing the drill down report via RRI

    Hi guru's,
              ThanX in advance for all the stuff you are providing.
    I have a problem with the drill down report.I have two reports Q1 and Q2 where Iam navigating to Q2 from Q1 via RRI.But when I try to drill down to the Report Q2 It gets into an unending state of query execution(to say shortly it gets struck).
    This report was working fine earlier.But very Recently I encountered this problem.I started debugging the query at RSRT.For the report Q1 just goes fine but when I drill down to Q2 it gets struck.This is the part of code where the report end up in an unending state.Infact it gets struck exactly while calling the method...
    "CALL METHOD g_sx_buffer-r_request->read_data"
    Fetch the data, using the wait command only with the second parse 
        IF g_s_session_prptys-use_wait = rs_c_false                       
          OR i_mode = rrx1_c_grid_get_mode-wait_fetch.                    
    Is data available                                                 
    CALL METHOD g_sx_buffer-r_request->read_data
            EXCEPTIONS                                                    
              x_message     = 8                                           
              no_processing = 1.                                          
          CASE sy-subrc.                                                  
            WHEN 1.                                                       
        Necessary for drill to level                                  
         raise no_processing.                                         
            WHEN 8.                                                       
              RAISE x_message.                                            
    Can Some one help me out to know what happens at this part of code that is causing the error.
    ThanX A Lot,
    Regards,
    Sukumar

    Its better you raise an OSS message on this problem.

  • Unable to pass parameter from a hyperlink in drill down report

    Hi,
    I have created a drill down report.
    Master report has a column with hyperlink
    with url to call detail report.
    "http://webserver/dev60cgi/RWCGI60.EXE?item+the_prodid=200376"
    when i see the detail report i get the value of the_prodid parameter as null.
    any help will be highly appreciated.

    Thanks very much.
    It worked for me also.
    Now i am getting here something new
    i have wrriten a function which returs javascript and i this is being passed to report using before report trigger.
    I am using
    SRW.SET_BEFORE_REPORT_HTML(SRW.TEXT_ESCAPE,HTML_Text) tag to do this.
    When i run this report from report builder it works fine but when this is invoked from
    a report server i get a blank page and the window status says tranferrring data from webserver nothing comes up.
    Now when i remove the contents of before report trigger it works fine.
    my before report trigger conetenst are
    function Before_Report return boolean is
    HTML_Text VarChar2(32000);
    begin
    HTML_Text := '<html> ' &#0124; &#0124;chr(10)&#0124; &#0124;
    mainpagejavascript&#0124; &#0124;
    '<body dir=LTR bgcolor="#ffffff">'&#0124; &#0124;chr(10); -- for 6i the body tag dir=&Direction would work and be set at runtime
    SRW.SET_BEFORE_REPORT_HTML(SRW.TEXT_ESCAPE,HTML_Text);
    return (TRUE);
    end;
    mainpagejavascript function returns
    <script language="javascipt">
    function test()
    alert("I have a problem");
    </script>
    can anybody help me out in this.
    Thanks in advance
    shailesh
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Haithem Abdelkefi:
    Yes, the drill down works.
    We have a field with this Format Trigger.
    function F_EQP_GRPFormatTrigger return boolean is
    begin
    srw.set_hyperlink (:p_url| |'&report=INP-A2.2.rep&p_eqp_grp='| |:eqp| |'&desformat='| |:desformat);
    return (TRUE);
    end;
    Haithem<HR></BLOCKQUOTE>
    null

  • Export current view or drill down report

    Post Author: Rainer
    CA Forum: Exporting
    My Enviroment: CR XI, Delphi,  ActiveXReportViewer Hello together,how can I export the current view or a drilled down report with the COM object.I didn't find a way to get the current view object (IReport) I think  there must be a solution, because the default export method can export the current view.Thanks Rainer 

    Post Author: jarrodnewman
    CA Forum: Exporting
    My setup isn't exactly the same but this might help you:  I had this problem with Crystal.Net in Visual Studio 2005.  This link helped me resolve it.  http://diamond.businessobjects.com/node/1956
    My export routine used to just export the ReportDocument object.  But this object does not contain any information on the currently displayed group level.  So when I built a report modeled very closely after the sample 'World Sales Report.rpt' my export routine would only export the main view even if I was drilled down into other group levels of the report.  I learned that the CrystalReportsViewer object is what contains the drill-down level in the ViewInfo.ViewContext object.  So the link above solved this for me. 
    As a side note, I also had to manipulate suppressing and unsuppressing sections on export which can't be done via the CrystalReportsViewer object.  So I had to save a copy of the current ViewInfo object to local variable.  Then I modified the ReportDocument object to unsuppress and suppress certain sections.  Then I set this modified ReportDocument object as the RecordSource of the CrystalReportsViewer object and passed as parameters the new NonHTTPCachedReportSource object and the saved ViewInfo object to my new export routine.  This allowed me to preserve the drill-down view properties but apply it to a different ReportSource.  I can supply (c#) code if needed.  ( I don't usually show the ReportHeader or PageFooter sections in my online view of reports but I need to show them when I export a report)...
    - Jarrod ([email protected])

  • 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

  • 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

Maybe you are looking for

  • Itunes still NOT working no matter what I do... :(

    I have tried everything under the sun to get Itunes to work. I even went back to the original iPod disk and installed it through there and nothing. I have changed what automatically starts up with windows and that worked!... for about 5 minutes, then

  • Airplay issues in iTunes 10.4

    Hi Just about to purchase Lion but still running Snow Leopard.  Upgraded iTunes yesterday though to 10.4. Problem is this.  I've got my 1st Gen Apple TV (connected to surround sound) and an Airport Express (connected to speakers) in another room hook

  • Font size is computed as a function of the height of the annotation rectangle.

    From Pdf reference: The default appearance string (DA) contains any graphics state or text state oper- ators needed to establish the graphics state parameters, such as text size and color, for displaying the fields variable text. Only operators that

  • Mac Mini compatible?

    Can I use this HP Envy 23-inch Screen LED-Lit Monitor  (E1K96AA#ABA) with a new Mac Mini? Thanks! This question was solved. View Solution.

  • Hyperion FR Studio - Expansion of columns and grouping while expansion

    Hi, I have 3 columns A,B,C in my report with entity and scenario as dimensions in each column. In column A, Entity and Scenarios dimensions are current POV. Allow Expansion check box has been checked as True for Entity dimension The check box to disp