REP-1247 in drill-down report

Hello, everybody!
I'll be very thankful to anyone who can help me to solve this problem.
The environment is Oracle Reports 6.0.8.10.1 on Oracle Server 8.1.7.0.0.
My report (rdf) in before form trigger takes the value of the first record's field of some view as a value of a parameter that is used in filter of the Q_1 query. Q_1 executes, rwrun60 generates pdf-file with the name depending on the value of that same parameter. Then in after report trigger the report runs through the cursor loop, fetching the rest of the records of that view from before report trigger. In this loop I form the report start string using the value of the cursor record's field. Finally, in that loop I call srw.run_report(report_start_string); for report to run itself with a new set of parameters per every iteration of the loop. That's how it is intended to work. And it perfectly works when I run it from under the user that is the owner of the schema. But when I just run it from under any ordinary user with more restricted access privileges (but, of course, this user has select privileges on views used in report granted to him) it all goes like that: the driver report successfully generates PDF. The runtime enters the loop in after report trigger and exectly once the report runs itself generating PDF successfully. Just the second run_report in the loop fails with error REP-1247: Report contains uncompiled PL/SQL. Do anybody know what is the reason?

Hello,
You will have to go for new development /enhancement linking your capital proj /WBS to the new logic of the report.
Regards,
Sumanth

Similar Messages

  • 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

  • Drill down report ...  prompt in last level

    Hai,
    can you please send solution in obiee 10g .. I have drill down report like year---qtr----month----day----. I want prompt in day level .. is it possible?
    Appreciate your help....
    Thanks Mikky99

    Hi Srini thanks,
    Also I need to capture the particular days in month report like year(2002)-----month(feb2002) ----- day (1-Feb-2002) in day level rep with prompt...
    Thanks in Advance

  • 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

  • Creating drill-down reports

    Hi,
    I'm using reports6i.
    I want to create a drill down report, the main report is AgentDetails.rdf , in that i've placed a button to call AgentContacts.rdf.
    But i want to pass parameters from AgentDetails to AgentContacts. So what code i need to write for the buttons action?
    Please guide me how to do this?

    Hi,
    I've written this in the PL/SQL of the button
    procedure U_1ButtonAction is
    begin
    srw.run_report('report=AgentContacts.rdf
              p_code='||:AMR_CODE||' P_company='||:P_COMPANY||' P_catg='||:P_CATG||'
              P_USER='||:P_USER||'  paramform=no');
    end;But i'm getting these errors
    REP_0159:Syntax Error on Commandline
    REP-1428:'u_1buttonaction':Error While Running SRW.RUN_REPORT
    Please Help

  • Drill Down Report 6i

    I m using this code in repeating fame
       Srw.run_report('module=JV.rep  destype=Screen  paramform=No
       vmdate='||:vdate1 ||' vm_no='||:vno1||'  vtype='||:vtype1);  
        EXCEPTION
          when srw.run_report_failure then
          srw.message(30, 'Error in reports.');
          raise srw.program_abort; showing me the error
    SRW.RUN_Report can not be invoked with batch=no
    then I added
    Srw.run_report('module=JV.rep  destype=Screen  paramform=No batch=yes
       vmdate='||:vdate1 ||' vm_no='||:vno1||'  vtype='||:vtype1);  
        EXCEPTION
          when srw.run_report_failure then
          srw.message(30, 'Error in reports.');
          raise srw.program_abort; again showing user define error
    30, 'Error in reports.
    rep-1419 r_g_vdate1 formattriggers PL/SQL Program Aborted.
    if I write this code in button it is working , but i dont want to show button on my report, because when we print this report button also print.
    how can I define above code in repeating frame?

    if I write this code in button it is working , but i dont want to show button on my report, because when we print this report button also print.And what do you expect to happen? At what time should the drill down-reports be printed? And how should they be shown?
    If you want to include the rsult in your main-report, you should create an additional query in your "main"-report.

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

  • 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

Maybe you are looking for

  • Any suggestions for my code.

    Hi, I wrote this little piece of code to reduce some of the work I need to do when doing database access. I intend to use if with mySQL and mostly web based applications. It'll probably use it quite a bit, and since it's my first try at writing somet

  • Dynamic Global Host Name!!!

    Hello Everybody! I have Time Capsule 2TB, and i have an issue about it, which its how to connect to it via internet? i know that i must have mobileme account and to be added to advanced in the airport utility. then i have to setup the Dynamic Global

  • [SOLVED] bash and xterm - which files get read and referenced?

    I currently have my user shell set as /bin/sh (which, as I'm sure you are aware, is a symlink to bash). When I launch xterm, none of my config files seem to be read or sourced. If I login from the console, all is correct. According to the documentati

  • Extending HGrid VO

    We are facing an issue in our project with a VO extension where the VO is being used in an HGrid in a Seeded OAF screen. We did the VO extension to add two columns that we needed to be displayed in the HGrid. This requirement is implemented and it is

  • ASA mail logging 716001

    Dears,         i configured logging list contains messages 716001 and 716002. i configured the mail logging to send this list , but i received only 716002 and didn't receive 716001 on my mail. ASA version is 9.0(3) on ASA5520. Thanks,