Call Report from Report

Dear friends,
Any body know abt the script or process to call report from report.

Hi,
I have been able to call Report from Report using the hyperlink.
I put these code in my Field on the Report caller.
function F_3FormatTrigger return boolean is
  temp varchar2(2000);
begin
  temp := 'http://<computer_name>:8889/reports/rwservlet?';
  temp := temp || 'server=repsrv' || '&' ||
                     'report=C:\MyReport\rep_detail.jsp' || '&' ||
                     'userid=scott/tiger@orcl' || '&' ||
                     'desformat=htmlcss' || '&' ||
                     'destype=cache' || '&' ||
                     'P_1=' || :ItemID || '&' ||
                     'P_2=' || :ItemName;
  SRW.Set_Hyperlink(temp);
  return (TRUE);
end;The hyperlink showed, and I can see the rep_detail.jsp showed in the same browser after I clicked the hyperlink.
The problem is, the hyperlink has to include the reports path and also userid and password.
If I did not put the userid and password, it will showed in another browse that
"The report has uncompiled PL/SQL"
How can I hide those userid, password, and the reports path?
BTW, Is there anyway to show the report callee in different page from the report caller?
Any help would be grateful.
Many thanks,
Buntoro

Similar Messages

  • Error in calling report from report??

    Hello experts,
    i am using oracle fusion middleware form and report 11.1.2.1.0 release.
    i am calling the report from report by using srw.set_hyperlink() function:
    format trigger code is below:
    srw.set_hyperlink(temp_path||'/reports/rwservlet?dblogin+server='||rep_server||'+report='||global_path
                ||'fac\reports\Fac_cheque_print_icici_0121_cc.RDF+destype=cache+desformat=pdf'
                ||'+paramform=no+locn_code='||:locn_code||'+vch_type='||:vch_type||'+vch_vch_no='||:vch_vch_#);error: EP-52005: The specified key dblogin does not exist in the key map file
    please help me out.
    thanks
    yash

    yash_08031983 wrote:
    Hello experts,
    i am using oracle fusion middleware form and report 11.1.2.1.0 release.
    i am calling the report from report by using srw.set_hyperlink() function:
    format trigger code is below:
    srw.set_hyperlink(temp_path||'/reports/rwservlet?dblogin+server='||rep_server||'+report='||global_path
                ||'fac\reports\Fac_cheque_print_icici_0121_cc.RDF+destype=cache+desformat=pdf'
                ||'+paramform=no+locn_code='||:locn_code||'+vch_type='||:vch_type||'+vch_vch_no='||:vch_vch_#);error: EP-52005: The specified key dblogin does not exist in the key map file
    please help me out.Hi, yash
    Check this link. try in sequences.
    1.http://www.orafaq.com/forum/t/164277/0/
    2. {thread:id=2383372}
    3. http://docs.oracle.com/cd/E12839_01/bi.1111/b32122/orbr_howto006.htm#i1058669
    Hope this helps
    Hamid
    Mark correct/helpful to help others to get right answer(s).*
    Edited by: HamidHelal on Apr 4, 2013 12:51 PM

  • Hide UserID, Password, and Report Path when call Report from Report

    Hi,
    I have been able to call Report from Report using the hyperlink.
    I put these code in my Field on the Report caller.
    function F_3FormatTrigger return boolean is
      temp varchar2(2000);
    begin
      temp := 'http://<computer_name>:8889/reports/rwservlet?';
      temp := temp || 'server=repsrv' || '&' ||
                         'report=C:\MyReport\rep_detail.jsp' || '&' ||
                         'userid=scott/tiger@orcl' || '&' ||
                         'desformat=htmlcss' || '&' ||
                         'destype=cache' || '&' ||
                         'P_1=' || :ItemID || '&' ||
                         'P_2=' || :ItemName;
      SRW.Set_Hyperlink(temp);
      return (TRUE);
    end;The hyperlink showed, and I can see the rep_detail.jsp showed in the same browser after I clicked the hyperlink.
    The problem is, the hyperlink has to include the reports path and also userid and password.
    If I did not put the userid and password, it will showed in another browse that
    "The report has uncompiled PL/SQL"
    How can I hide those userid, password, and the reports path?
    BTW, Is there anyway to show the report callee in different page (precisely, open another IE) from the report caller?
    Any help would be grateful.
    Many thanks,
    Buntoro

    Hi,
    Thanks for the answers.
    Yet, I am still doubt about using cgicmd.dat.
    I have looked around in this forum saying that it is not secure to use cgicmd.dat. Because all report request does not use authentication (the client can directly open report without login).
    In Form, I can use the On-Logon to do the Oracle Form login (to do logon to the database), and then I use my own custom user login to restrict the menu for each user.
    I do this since I want to restrict the user,
    i.e user A can only view the sales form as well as sales report,
    user B can only view the purchasing form as well as purchasing report.
    Well, I am not so fond about the SSO itself.
    It comes to my mind, since I don't have to re-login (to the database) each time I call another form (login database is only once at the first Form, On-Logon). It also goes to when calling the report caller.
    What is RAD?
    How can we use it?
    Is OID = Oracle Internet Directory?
    If true, maybe, I won't use it since I don't understand about it also.
    Why we don't have to specify the userid and password when Form calls Report1 (using Run_Report_Object and Web.Show_Document())?
    But we have to specify the userid and password when Report1 calls Report2.
    Any help is appreciated.
    Many thanks,
    Buntoro

  • Calling Forms from Reports

    Hi...
    We can call Reports from Forms using RUN_REPORT_OBJECT or RUN_PRODUCT. Can we call Forms or any other product from Reports? If so, how can we do it? If anyone can help me in this...

    Hi Gayathri
    As such there is no product integration for calling Forms from Report. You can call 6i graphics from Reports 9i if you are running a 6i rdf file with OGD object in it and if you have a 6i home set in the same machine where Report s9i is running. For Form, if you wish to run it as an independent request, in Reports 9i, you can always import a java class in Reports and then call that class method in any of the triggers which in turn send out a Forms request to Forms servlet.
    Thanks
    Rohit

  • How to create report from report painter??

    Hi,
    how to create report from report painter?? from transaction code GRR1

    Select the library that you want report to create.  GRR1
    You select what to list in coulumns and what to lisr in rows. You could select characteristics or key figures.
    You can use variable both in defininig row and coulmn or in general selection.
    You can also use sets as variable or as constant. These sets can be your master data groups or sets in GS02.
    You can use formulas.

  • Mail Report from Report previewer

    I have problem to generate the reports from report previewer.When I tried to generate it gives me an error rep-1249 formual has no value. While on the other hand I can generate from report builder it run fine.
    Ghias

    Hi Pratap
    Sorry to reply you with another question. But are you able to send the generated output(in whatever format) as e-mail directly. If so, can you pl. tell us how?
    Regards
    null

  • Calling graph from Reports created in graphics builder?

    Can you call a graph from Reports 6.0 that was created in Graphics Builder. I know you can call a graph from Forms. I tried creating my graph right in Reports with the wizard but for some reason it does not give me the fields I want to use in the available fields column, so I created the graph in Graphics Builder. Do you use a trigger of some sort. Any examples would be appreciated if this is possible. Thanks

    Justin Beno:
    Yes, you can call a graph from inside a report. All you need to do is select the button with the graph on it (not the icon with the wand, which indicates chart wizard). Then draw graph in the area of the report where you want the graph to display. After completing this, right click on graph, select Property Palette, Chart - Chart Filename (this is where you will type in the directory and filename of your graph that you created in Oracle Graphics).
    ~Vannette

  • Call KSB1 from report in GR55 selects thousend of records

    Dear All,
    after our upgrade to ECC6.0 the drilldown from an report in GR55 (calls T-Code KSB1) will select thousends of records.
    I snoop a bit around and I figure out, that the selection criteria for the call of the FM k_line_items_select_and_list are different.
    Can anyone tell me how I can manage the selection crtierias for a drilldown in a report painter report?
    Thanks in advance, Thomas

    Hi Thomas,
    you should also check include CI_COBL.
    also please notice if you are drillingdown from a formula column the logic
    from note 98187 applies, and you could get results different than what you expect
    br, Guido

  • Help: calling report from report in report 9i

    Background:
    1. Report Builder 9i and the outputs are PDF files;
    2. Report A and Report B both have two identical parameters: P1 and P2;
    3. Calling Report A through FORM using web.show_document() with paraform=YES,
    Help:
    If Report B can be called from Report A, the parameters P1, P2 passed through calling report A, the user then needs not to enter twice P1 and P2 using web.show_document().
    Wishful way of thinking:
    The Calling FORM refered here is the one that provides all buttons for more than 20 reports and that is the reason of using parameter form. Consequently, I am looking for ways of making:
    Calling FORM -> REPORT A -> REPORT B
    where both Report A and B have same parameters, calling FORM calls REPORT A using REPORT A parameter form and hoping that REPORT A can call REPORT B with these parameters.
    Any help are greatly appreciated.
    Jimmy

    I tried something in Before Report trigger like:
    function BeforeReport return boolean is
    begin
    srw.run_report('batch=yes sf1='||:pf1 || 'sf2='||:pf2 || ' report=REPORT_B destype=cache desformat=pdf');
    return (TRUE);
    end;
    An error raised as: REP-1428: 'beforereport': Error while running SRW.RUN_REPORT.
    Here sf1, pf1 and sf2, pf2 and two pairs of identical parameters.
    Any suggestions?

  • Calling report from report in dev9iDS???

    hello all ,
    i am using developer suite 9i and i want to call a report from a report. In dev6i button was used, i have tried using hyper link but its not working, can somebody tell me the proper way and criteria to execute report from a report.
    [ need it urgent ]
    zaibi.

    Hi Sarah,
    Thanx for your reply.
    I followed your suggestion and changed the call to the report (Screen, pdf type) in:
    WEB.SHOW_DOCUMENT('http://192.168.137.1:9001/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1) || '?server='||v_repserver,'_blank' );
    Unfortunately it gives an HTTP error 404 ---page not found
    If I change the portnumber in 9002 In forms), the report is displayed in a second screen on the server. I can close this second screen again and continue with other forms in my apllication (server side).
    However, if i press the button on my form on the client side a second screen shows up . But nothing on it (empty). Only the header is '192.168.137.1'.
    Any other suggestions ?
    Greetings Martin

  • Calling report from report

    I am using Reports6i. I have 2 reports, lets say Report A and Report B. Both reports are working fine when called from parameter form. But when I am calling Report B from Report A, it is giving me a blank Report B. I am passing parameter properly and even shown them in Report B but no data is generated. Amazing thing is that Report B is working perfectly stand alone.
    Thanks in advance.

    No reason why it should not work. To debug the issue, run the report with tracefile=reports.trc and check the parameters that are getting passed in both the cases.
    Trace file will contain the query and parameters values.

  • Calling BSP from report and return control back ?

    Hi All,
          My requirement is as follows :-
    1. I am calling a BSP from report using CL_GUI_HTML_VIEWER->show_url. The BSP page is displayed successfully.
    2. Then, I perform some operations and want to return some data back to the main program (from where it was called - Report) and continue execution from there
    How do I accomplish the second requirement (Control doesnt come back once I close the BSP) ?
    Regards,
    Ashish

    how to generate events from html code in the html control back to your ABAP check out this demo program
    SAPHTML_EVENTS_DEMO
    say for example, in your case you are showing the BSP in GUI HTML control and on clicking a link you want to pass some data from your link to ABAP program and the ABAP should receive the value and process it and may be comeback to same BSP or go some to some other screen/transaction.
    steps to follow:
    after creating the html control
    register event for call back and call the BSP url.
    create object hviewer
                 exporting
                   parent = mycont.
        myevent-eventid = hviewer->m_id_sapevent.
        myevent-appl_event = 'x'.
        append myevent to myevent_tab.
        call method hviewer->set_registered_events
          exporting
            events = myevent_tab.
        create object evt_receiver.
        set handler evt_receiver->on_sapevent
                    for hviewer.
        hviewer->enable_sapsso(
          exporting
            enabled    = 'X'
          exceptions
            cntl_error = 1
            others     = 2
        if sy-subrc <> 0.
        endif.
        call method hviewer->show_url
          exporting
            url = wf_url.
    in your BSP the link should look like below
    A HREF=SAPEVENT:TAGS?value to be passed to your ABAP> link text </a
    when you click this link in bsp then you can then capture the value "TAGS" to know which link was clicked and the value passed after the ?
    link is just one option, you can also send whole form data.
    this type of link and form will only work when your BSP is invoked within HTML contro. if its invoked from standalone browser these wont work. so you amy want to dynamically show/hide "sapevent" links based on where it runs.
    Hope this is clear. if not do getback.
    Regards
    Raja
    Edited by: Durairaj Athavan Raja on Sep 9, 2008 1:04 PM

  • Calling VA01 from Report,how to get the Sales Order  No when Back.

    Hi all,
    I have a requirement of calling va01 from the report and have done that using
    did recording ...&
    call transaction va01 using bdcdata.
    but my problem is when back from that trasaction i have to get the sales order that is created . Is it possible to retrieve that value from va01 .i am unable to get . anyone pls share

    Use the addition MESSAGES INTO itab with call transaction va01 using bdcdata.
    Effect of MESSAGES INTO itab:
    Using this addition, all the messages sent during batch input processing are stored in an internal table itab of the type BDCMSGCOLL from the ABAP Dictionary.
    If the call transaction is successful then retrieve the last message from itab and then in any field among MSGV1,MSGV2,MSGV3,MSGV4 of itab u will get the document no.
    And when doing the call transaction pl. choose update mode as 'S' or 'L'.
    Regards,
    Joy.

  • Calling form from report urgent please

    hi every body
    i am using form and report 6i
    i create a report and in report i create buttons front of all records
    i want to call a from from that button related to that record show in report
    can i do this if yes how can i do this
    thanks in advance khuda hafiz

    any body tell me about my problum
    thanks

  • Calling report from report problem

    hi all
    plse help me
    how to possible to run report from another report(for 10g).
    i do not find the action item(button) ?
    how to find the button ?
    plse example
    (for 6i object navigator ->paper layout-> Button)
    but 10g where button?

    try searching reports Reports and forms Forms forums, there are several enteries related to your question.
    best regads.

Maybe you are looking for

  • Bouncing Ball Just Suddenly Stops Mid Bounce

    I have a application where each time you click the add ball button a new randomly colored ball is added to the jpanel. It works fine except that the balls suddenly stop at the same spot. I want them to continue to bounce for a longer period of time i

  • "Source not found" Error creating URL Data control with query parameters

    Hi, I have a restful service for which i want to create a URL data control. I am able to create the URL data control successfully when i am not passing any parameters in the Source field. But if i am specifying the parameters in the source field like

  • How to get total pages from a Word Document?

    I want have created a program with ABAP, It'll print the cover page with form, the detail infomation is in a word document on a file server. I want to display the total pages in the cover page, how can I do? In another word, how to calculate the page

  • Drawing in flash shortcuts?

    This might be a loaded question, I am working on a hand drawn animation using Flash and expect to be putting enormous amounts of work into it to produce something really nice. My animation has some fast-paced moments and some slower paced events. I t

  • Is it Possible to Block MSN Accounts on the New MS...

    So, being as I had to roll back my laptop to a fresh start today, I had to redownlaod Skype Desktop. Seeing as the end of MSN was nigh I decided to merge the two. To my surprise I've discovered that I cannot block 'messenger' class contacts. My favou