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

Similar Messages

  • Error while calling FM from report program

    i am calling a FM using the follwoing program
    REPORT  ZTEST3.
    DATA : EMPNO TYPE zempdata-EMPLOYEE_NUMBER,
          EMPNAME TYPE zempdata-EMPLOYEE_NAME,
          EMPSAL TYPE zempdata-EMPLOYEE_SALARY.
    call function 'ZEMPMASTER'
        EXPORTING
          EMPNO        =  '22609'.
          EMPNAME      =  'vishal'.
          EMPSAL      =  200.
    but when i execute this program i am getting the following error
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was
    not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    When calling the function module "ZEMPMASTER", one of the parameters
    needed according to the interface description was not specified.
    This parameter was "EMPNAME".
    i don't know why i am geteing this error where as in my FM ZEMPMASTER i have given only three input parameters
    EMPNO, EMPNAME AND EMPSAL.
    my FM code is like as follows
    FUNCTION ZEMPMASTER.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(EMPNO) TYPE  ZEMPDATA-EMPLOYEE_NUMBER
    *"     REFERENCE(EMPNAME) TYPE  ZEMPDATA-EMPLOYEE_NAME
    *"     REFERENCE(EMPSAL) TYPE  ZEMPDATA-EMPLOYEE_SALARY
    TABLES ZEMPDATA.
    BREAK-POINT.
    data WA_zempdata type zempdata.
    WA_zempdata-EMPLOYEE_NUMBER = EMPNO.
    WA_zempdata-EMPLOYEE_NAME = EMPNAME.
    WA_zempdata-EMPLOYEE_SALARY = EMPSAL.
    BREAK-POINT.
      insert into zempdata values wa_zempdata.
    WRITE :/  wa_zempdata-employee_number,  wa_zempdata-employee_name.
    commit work.
    ENDFUNCTION.
    pls let me know why i am getting this error

    Hi vishal,
    call function 'ZEMPMASTER'
    EXPORTING
    EMPNO = '22609'.<------- Remove this period
    EMPNAME = 'vishal'.<------remove this period
    EMPSAL = 200.<-----------*retain this period*
    We must never change the format in which a FM is displayed once we call the pattern.
    The period will be automatically be available at the end of the FM.need not keep it at end of every line.
    Hope this helps.If problem still persists post back.
    Regards,
    K.Sibi

  • 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

  • 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

  • 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

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

  • 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

  • Error in Calling oracle 10g reports

    Hi to all,
    Could somebody please help me how to solved my problem. im running my forms and reports locally and its working fine. now, im trying to call one of my reports to my form using this code:
    DECLARE
         RO_Report_ID REPORT_OBJECT;
         Str_Report_Server_Job VARCHAR2(100);
         Str_Job_ID VARCHAR2(100);
         Str_URL VARCHAR2(100);
         PL_ID PARAMLIST ;
         server_name VARCHAR2(200) := 'your-d7626327dd';
    BEGIN
         PL_ID := GET_PARAMETER_LIST('TEMPDATA');
         IF NOT ID_NULL(PL_ID) THEN
    DESTROY_PARAMETER_LIST(PL_ID);
         END IF;
         PL_ID := CREATE_PARAMETER_LIST('TEMPDATA');
         RO_Report_ID := FIND_REPORT_OBJECT('REPORT_OBJ');
              ADD_PARAMETER(PL_ID, 'S_SIN_NO', TEXT_PARAMETER,:SCRAP_DELIVERY_REQUEST.SIN_NO );
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_FILENAME, 'C:\New Forms\REF_SF_510');
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_COMM_MODE, SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_EXECUTION_MODE, BATCH);
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESTYPE, FILE);
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESFORMAT, 'PDF');
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_SERVER,server_name);
              Str_Report_Server_Job := RUN_REPORT_OBJECT(RO_Report_ID, PL_ID);
              Str_Job_ID := SUBSTR(Str_Report_Server_Job, LENGTH('server_name') + 2, LENGTH(Str_Report_Server_Job));
              Str_URL      := '/reports/rwservlet/getjobid' || Str_Job_ID || '?server=' || server_name;
              WEB.SHOW_DOCUMENT(Str_URL, '_SELF');
              DESTROY_PARAMETER_LIST(PL_ID);
    END;
    Please help me how to fix this.
    When i tried pressed the button i received this error:
    FRM-41219 : Cannot find report: Invalid ID ( first error, i think its came up 4 times)
    FRM-40738 : Argument 1 to built in RUN_REPORT_OBJECT. Cannot be null.

    hi...i already done what u had suggested but the error still come up.
    DECLARE
         RO_Report_ID REPORT_OBJECT;
         Str_Report_Server_Job VARCHAR2(100);
         Str_Job_ID VARCHAR2(100);
         Str_URL VARCHAR2(100);
         PL_ID PARAMLIST ;
    BEGIN
         PL_ID := GET_PARAMETER_LIST('TEMPDATA');
         IF NOT ID_NULL(PL_ID) THEN
              PAUSE;
    DESTROY_PARAMETER_LIST(PL_ID);
         END IF;
         PL_ID := CREATE_PARAMETER_LIST('TEMPDATA');
         RO_Report_ID := FIND_REPORT_OBJECT('REPORT_OBJ');
         ADD_PARAMETER(PL_ID, 's_sin_no', TEXT_PARAMETER,:scrap_delivery_request.sin_no);
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_FILENAME, 'C:\New Forms\REF_SF_510.rdf');
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_COMM_MODE, SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_EXECUTION_MODE, BATCH);
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESTYPE, FILE);
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESFORMAT, 'PDF');
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_SERVER, 'rep_edmund.main');
              Str_Report_Server_Job := RUN_REPORT_OBJECT(RO_Report_ID, PL_ID);
              Str_Job_ID := SUBSTR(Str_Report_Server_Job, LENGTH('rep_edmund.main') + 2, LENGTH(Str_Report_Server_Job));
              Str_URL      := '/reports/rwservlet/getjobid' || Str_Job_ID || '?server=' || 'rep_edmund.main';
              WEB.SHOW_DOCUMENT(Str_URL, '_SELF');
              DESTROY_PARAMETER_LIST(PL_ID);
    END;
    Edited by: baguhan on Jul 4, 2009 12:59 AM

  • 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

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

Maybe you are looking for

  • Can't print a PDF doc using Adobe Reader X

    Previously had Adobe Reader 8.  First time ever experienced a problem in printing a PDF document, message read "you need to install a printer".  My printer is installed, can print in Word, Excel, photos, etc.  Downloaded latest drivers to my printer,

  • Creating AIR/Web Apps. with XML & E4X using AS3

    Needing tips using AS3 with XML/E4X to make my project work over the server: 1) Here I'm having trouble trying to create a component with a 'GOOGLE MAP' with the user being able to input their location for directions with once submitting the get dire

  • How to create a sequence in Object Browser!!

    Hi All, I just wonder that while working on "Sequence" in Obejct Browser. Say for example i have a created a new sequence using object browser then i have redirected to Data tab->Query under this we can select the default values. I have tried to give

  • Open a page in a new window passing him some parameters

    Dears all, System used : SAP WebAs 6.20 I have a link in my application which will open a contact form in a new window. This occurs by this mean : a href="#" onMouseDownMethod="pop()" class="fontNavRIS">CONTACT US script function pop() { window.open(

  • Date format error

    Hi All, I have three records in my table tmp_ext_om_email_data in varchar2 format as 18122011 19122011 20122011 Now I want that to be in date format like 18-DEC-2011,19-DEC-2011 ..... How should I do that.. If i run below code it gives error as -0148