My call to open an Oracle Web Form - Browser dependant???

I call the following URL (HTM file) from Internet Explorer on my Windows XP machine.
http://9.35.32.205:7777/forms/html/ttmsMenu.htmThis HTM file then automatically logs me in using my PC's environment variables named ORAUSER and ORAPASS.
<html>
<body onload="document.menulaunch.submit();">
Launching TTMS Menu on Production (205)...
If the menu does not load in 30 seconds then close this window and try again.
<form name=menulaunch action=http://9.35.32.205:7777/forms/frmservlet?config=ttm
smenu method=post>
<script>
var wshshell=new ActiveXObject("wscript.shell");
var username=wshshell.ExpandEnvironmentStrings("%orauser%");
var pw=wshshell.ExpandEnvironmentStrings("%orapass%");
document.write("<input type=hidden name=userid value="+username+"/"+pw+"@sparc20
")</script>
<input type=submit value=Launch>
</form>
</body>
</html>However, when I call this same URL from FireFox the automatic login functionality does not work. I'm simply presented with the normal Username/Password/Database fields for logon. Why doesn't this same URL work in FireFox? Can I get it to work in FireFox?
Any help would be greatly appreciated.
Edited by: Buechler on Mar 29, 2011 11:17 AM

What is your Forms version (eg; 10.1.2 not 10g), Browser versions and Java Runtime version? More than likely, you are simply dealing with an unsupported method.
var wshshell=new ActiveXObject("wscript.shell");I'm not a web developer, so I did a quick Google search and found that FireFox does not support ActiveX. You either need to find an ActiveX plug-in for FireFox or you need to use an industry standard method supported by all browser instead of the IE specific ActiveX method.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • Calling java code from oracle apps form

    I've created my own java .class file and am attempting to call it from an oracle applications form. I am getting a runtime error while running the form, but I don't know what the error is because nothing is being reported to me.
    I've created the .java file in JDeveloper, compiled it into a .class file, deployed it to a .jar file, and placed it on the application server in a directory that the CLASSPATH can see it. I've added it to the archive parameter of the appsweb.cfg file and see that the .jar file is being downloaded when the JInitiator of Oracle Apps is started.
    I have also imported the .class file into the form via the Program -> Import Java Classes which resulted in PL/SQL package stubs created to call the .class methods.
    When I run the form, the java code is activated on a triggering event, PRE-INSERT. There is no java bean item in a block or on a canvas anywhere. I dont' think I need there to be since I am simply using the java code to perform actions during PRE-INSERT, not to display anything on the canvas.
    I have placed debug messages throughout my code and see that the error is occuring in the PL/SQL packaged stub at the line "JNI.GET_CLASS()" where the parameter to that call is the name of my class. I know it's erroring there because I am handling the "java_error" exception. I am displaying "ora_java.last_error" in the exception handling, but it is null.
    I am at a loss as to determine why I am having problems and how to display an error. Any suggestions? I'm happy to outline my steps and problem in more detail if I have missed something obvious.
    We are using Forms 6.0.8.21.3 with Oracle Apps 11.5.7.
    Shane.

    Shane,
    Don't loose the heart. You have come too close to end.
    The scenario you have mentioned is very unique and something which will fit more in the forms forum. So I think that was a sincere answer to help you and not a "pass the buck" card type game :)
    You are lucky that you got Tapash interested into this issue, otherwise you see there is no OAF component involved out here.
    I have an article promised to some of the guys but will follow this issue.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Calling a report from a web form & specifying PDF format

    Has anyone been able to call a report from Oracle Forms (6i or 9i) in a web browser (i.e. by pressing a button or any other link)? We are having problems generating the report in PDF format when we web deployed our forms. In client server mode it works fine with the report deferring to PDF. But in the web browser it reverts to a messy HTML format with the columns being distorted. Running a standalone report from the web is no problem but when it is linked with a form it goes back to HTML. In the old forms (5.0) we used a function like run_product but I am not sure what the problem is in the new environment.
    T.J.

    Hello,
    According to the way the reports is launched, the format of the reports output depends on the
    variables : FORMS60_REPFORMAT (for Forms 6.0 and 6i)
    Two others variables are used : FORMS60_OUTPUT and FORMS60_MAPPING.
    Can you check the variable FORMS60_REPFORMAT ?
    regards Dennis:
    Thanks for the info. Your suggestion of changing the windows registry setting FORMS60_REPFORMAT to 'PDF' worked! I did not have to make any other changes to the form. I left the run_product format as is in the form and it worked like a charm. When we eventually migrate to Oracle Reports/Forms 9i we will look into using run_report_object. But for now we will stick with Oracle Forms6i. There was no need to alter the other registry settings FORMS60_MAPPING and FORMS60_OUTPUT since I followed the instructions of setting the virtual directories (symbolic links) when I installed the forms and reports services.
    Thanks again for your help!
    T.J.

  • Calling a Report from a Web Form

    Hi,
    I am calling a Report developed in report 6i from a Web form 6i
    Button. I am unable to launch the Report if Report is using a
    Customized Template. The report is able to launch if it has no
    template or using the templates given in report wizard. Is there
    any setting required in the Report Server for reading the
    template file???

    Hello,
    According to the way the reports is launched, the format of the reports output depends on the
    variables : FORMS60_REPFORMAT (for Forms 6.0 and 6i)
    Two others variables are used : FORMS60_OUTPUT and FORMS60_MAPPING.
    Can you check the variable FORMS60_REPFORMAT ?
    regards Dennis:
    Thanks for the info. Your suggestion of changing the windows registry setting FORMS60_REPFORMAT to 'PDF' worked! I did not have to make any other changes to the form. I left the run_product format as is in the form and it worked like a charm. When we eventually migrate to Oracle Reports/Forms 9i we will look into using run_report_object. But for now we will stick with Oracle Forms6i. There was no need to alter the other registry settings FORMS60_MAPPING and FORMS60_OUTPUT since I followed the instructions of setting the virtual directories (symbolic links) when I installed the forms and reports services.
    Thanks again for your help!
    T.J.

  • New in Oracle Web form 9i : How to run fmx from web and login

    oracle form 9i from web.
    I am new in oracle form 9i (web form). Before I use oracle form client 6i. Just set icon with command (D:\ora6i\BIN\ifdbg60.EXE MYFORM.FMX). The login will be prompt out and user can log in to run many oracle 6i forms from oracle menu. In Oralce form 9i designer, I can open form designer and use run form from IE.
    1. How can I depoly these form with menu to other users.
    2. How can I define the url link to public (Application Server)?
    3. SHould there is any login prompt from web usage.
    Tks.

    solved.

  • How to find LOV Query in Oracle Web Form

    Hi All,
    I am currently use oracle ebs R12.1.2 and i just want to know the query which is attached in lov for Oracle web pages kindly help.
    Regards

    Hi,
    There is a bug in OAF for this one, upon clicking on About this page on the newly opened LOV page it still shows the Parent Page Details.
    Workaround:
    1. After the LOV window opens, click on about this page [This will still show the parent page properties]
    2. Now click on backspace. [You should be back to the same LOV Page]
    3. Now click on About this page, again, - This should show you the correct details.
    Hope that helps!!!
    Regards,
    Yuvaraj

  • BPM 11.1.1.7 Oracle Web Forms Error

    Hi,
    I have successfully installed Oracle BPM 11.1.1.7 on 32 bit Window machine.
    Under BPM Composer, when I tried to create new Web Forms(follows BPM Composer User Guide- Chapter 3), I am getting this error message:
    Error getting form: LeaveRequestForm
    Caused by: Could not instantiate form: got wrong status=500
    Is anyone have any clue- How to rectify this error message ?
    Regards,
    RS

    The error you are getting is because you are using "localhost". Change it to the fully qualified machine name. When invoking Composer, most of us are in the habit of not fully qualifying the machine's name in the URL. For example, the URL http://localhost:7001/bpm/composer will be used to invoke Composer from a browser on the same machine that WebLogic is running or http://MachineName:7001/bpm/composer to invoke it when WebLogic is running on a machine named "MachineName".
    If you plan to use the Web Forms Designer feature in Composer, you now instead must fully qualify the URL with the full machine's name when you invoke Composer (e.g. http://MachineName.SomeDomainName.com:7001/bpm/composer or if you are using an Amazon EC2 instance http://ec2-50-19-167-0.compute-1.amazonaws.com:7001/bpm/composer).
    More than you wanted to know, but another change I believe that you will likely have to make is to change the WebLogic settings for the domain. When creating the WebLogic domain for Oracle BPM, the "Listen Address" and "Frontend Host" fields are left blank by default. While this does not cause an issue when you're in development normally, when using Composer's Web Forms Designer tool these fields need to be set to the fully qualified name of the machine.
    1. Backup the current config.xml file in the <WebLogic domain home directory>\config directory before doing the next step.
    2. In the WebLogic Administration Console expand Environment -> click Servers -> click the server's name -> with both the Configuration and General tabs selected, enter the fully qualified name of the machine where WebLogic is running (e.g. machineName.someDomain.com) in the Listen Address field -> click Save.
    3. Next, enter this same text into the Frontend Host field by clicking the Protocols tab -> click the HTTP tab -> enter the fully qualified name of the machine in the Frontend Host field -> click Save. Finally, be sure to stop and restart the WebLogic domain after making these two changes.
    After you have changed these two fields, you will no longer be able to use localhost in the URLs to invoke Composer, the Workspace, Enterprise Manager or the Administration Console and will instead need to use the fully qualified machine name in these URLs as well.
    Just another heads-up - you will also likely run another issue when you attempt to run Composer's Player. The role names in the processes cannot have any space characters or special characters. You will know that you've run into this issue when you see the error message:
    exception.70207.description: Action INITIATE on process Player/EmployeeOnboarding!1.0*soa_5eba8a37-486e-4451-a714-78912aad9fa9/Process1 cannot be performed by <some user name>Although you are allowed to enter space and special characters (including the "_" character) into the names of the roles in Composer and in Oracle BPM Studio, the role names in the process cannot have any space characters or special characters if you plan on running the process in Composer's Process Player.
    Hope this gets you going,
    Dan

  • How to find last_query for oracle web form?

    I know that for standard forn we can navigate diagnostics-system-last_query
    How can we do it for web forms?
    Diagnostics menu contain only 5 items
    - Show log
    - Set trace lavel
    - Show Log on screen
    - Show pool monitor
    Thanks

    Are you talking about the Block Menu - which allowed you to select the "Last Query" variable? If so, Forms 6i was the last version to support the Block Menu. If you need to see the last query executed, then you will have to explicitly capture the value of the :SYSTEM.LAST_QUERY variable. In other words, you will have to write code to assign the value of :SYSTEM.LAST_QUERY to a form variable.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Oracle Web Forms - need a method to get data from a Form to Excel

    I am running Oracle Forms 6i for the web.
    I need a way of using the old DDE or OLE implmentation to get
    data to an Excel spreadsheet. Ideally opening an existing
    spreadsheet and inserting new data.
    Anyone been able to do this ?
    Thanks in advance
    Dave.

    If you have EXcel on your application server (the one where forms
    is), you can still use OLE2 calls to create or modify the excel
    sheet on the server. Then you can use web.show_document to get
    the excel file back to the client machine.

  • CALL A REPORT FROM ORACLE 10G FORMS

    HI,
    I HAVE STARTED TO WORK WITH ORACLE DATABASE 11G AND DEVELOPER SUIT 10G.
    I HAVE A REPORT THAT IT WORKS CORRECTLY WHEN I RUN IT FROM REPORT DEVELOPER.
    BUT WHEN I WANT TO CALL IT FROM A FORM, IT DOESN'T WORK.
    IN ORACLE DEVELOPER 6I, I USE "RUN_PRODUCT" COMMAND AND IT WORKS WELL ,BUT IN
    DEVELOPER SUIT 10G I HAVE TO USE "RUN_REPORT_OBJECT" AND I DON'T KNOW HOW.
    WHEN I COMPILE MY CODES THERE IS NO ERROR ,BUT WHEN I RUN IT, IT SHOWS ME SOME ERRORS .
    THIS IS MY CODES FROM ORACLE HELP :
    DECLARE  
    repid REPORT_OBJECT; 
    v_rep VARCHAR2(100); 
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('D:\TESTPROJ\REPORT1.JSP'); 
    v_rep := RUN_REPORT_OBJECT(repid);
    END;
    IT SHOWS ME THIS ERROR : FRM-41219 .CANNOT FIND REPORT. INVALID ID.
    AND THEN : FRM-40738. ARGUMENT 1 TO BUILTIN RUN_REPORT_OBJECT CANNOT BE NULL;
    PLEASE HELP ME TO SOLVE THIS PROBLEM
    THANKFUL
    MAHSA

    Manu,
    I added my report to Form-Navigator and I changed it's name to REP1.
    I added all you codes to When-Button-Press event like this :
    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
              DESTROY_PARAMETER_LIST(PL_ID);
         END IF;
         PL_ID := CREATE_PARAMETER_LIST('TEMPDATA');
         RO_Report_ID := FIND_REPORT_OBJECT('REP1'); -- This is my report's name in Form-Navigator. Is it correct to put it here ?
         ADD_PARAMETER(PL_ID, 'P_SELECT_CITY',     TEXT_PARAMETER, :CITY); --These are my parameter in REPORT and it's Value in my FORM*
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_FILENAME, 'D:\projects\PROJECT_OF_1388\TestOraDev10g\TEST_REP1');
         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_faraji'); -- as you said, I put my computer name after REP_   here
         Str_Report_Server_Job := RUN_REPORT_OBJECT(RO_Report_ID, PL_ID);
         Str_Job_ID := SUBSTR(Str_Report_Server_Job, LENGTH('Rep_faraji') + 2, LENGTH(Str_Report_Server_Job)); -- as you said, I put my computer name after REP_   here
         Str_URL      := '/reports/rwservlet/getjobid' || Str_Job_ID || '?server=Rep_faraji'; -- as you said, I put my computer name after REP_   here
         WEB.SHOW_DOCUMENT(Str_URL, '_SELF');
         DESTROY_PARAMETER_LIST(PL_ID);
    END;
    But it doesn't work again, And shows this error :
    FRM-41213. unable to connect to the report server Rep_faraji
    Edited by: user508902 on Mar 2, 2010 2:18 AM
    Edited by: user508902 on Mar 2, 2010 2:20 AM

  • Personalization Oracle Web Form

    Dear All,
    I need to restrict user for Oracle HRMS Person (Employee) information page Picture button, just restrict user for image resolution like
    My user add images with different resolution of image which may cause some customize reports problem, is there anyway to restrict user to add only select resolution only.
    Thanks

    I can only answer your first question. Use web.show_document(url_address, '_self') before you exit your form.
    Yar

  • How to open an Oracle 6i Form from a button

    Hi,
    I have a button on an order form that im trying to open the customer form from i am using the code:
    begin
    call_form('Customer',no_hide,do_replace);
    end;
    i get the following error msg:
    FRM-40010: cannot read form Customer.
    Any help would be greatly appreciated.
    Also i am going to develop a log on screen that will validate a user name and password but cannot find any info on this. Any links or tips would be great!
    Thanks!

    Please ask your logon question in a separate thread.
    The "cannot read form" message means Forms cannot find the file named Customer.fmx in the path where it expects to find the form. If you are running on a unix system, the file name must match upper or lower-case exactly, as well.

  • Integration between InfoPath web forms (browser side), SharePoint 2010, and Word or Excel

    To begin with the end in mind, here's what I need to do:
    User A (employee) fills out infopath form in browser.
    User A saves infopath form, workflow runs, and sends a link to the manager
    User B (Manager) opens infopath form, clicks a button, and all the information from the saved infopath form magically appears in a excel document
    Here's how I did it, because I couldn't find an easier way to do it. This is an InfoPath no-code solution (uses web service and workflow I had to build) and this is working somewhat:
    In InfoPath Designer 2010, created the form from Blank 2007 form template.
    Published the form and promoted fields to Sharepoint 2007 as a new forms library.
    Created a view on forms library to show all fields (SQLExportView1).
    Created SSIS package to import data from SharePoint forms list using the view "SQLExportView1" into a new database and table in SQL Server (tblSQLExport1).
    Created SQL Agent job to run this package every 2 minutes.
    Created workflow to notify manager.
    Created excel document with an external data connection to SQL server.
    In SQL, created a stored proceedure ("spGetCurrentID") to truncate, then add a row to a table ("tblCurrentFormID").
    On InfoPath form, added a button that takes the current infopath form "ID" into a table in SQL server by calling the stored procedure via a web service.
    On Infopath form, added a hyperlink to the excel file which opens in the client.
    In excel, added a button on the workbook that queries the SQL database for the current form ID, and drops it into a cell.
    In excel, added a button on the workbook that queries the SQL database for the sharepoint list details that were exported via SSIS, returning only the row for the current form ID.
    In excel, created a button on the workbook that displays the fields I want in the location I want
    With over 25 users concurrently hitting the form library, there is a chance that when they open excel they will generate an excel document with bad data in it (data from someone else's current ID).
    I've since migrated to SharePoint 2010, and it works the exact same way in 2010.
    What I want to do is find a way to get the data that is already saved in the infopath form DIRECTLY to Excel by clicking a button without the web service, the stored procedure, the SSIS package, the SQL agent job, etc.  My problem has always been
    in getting the data from infopath into RAM/Clipboard/temp file(?) and imported into Excel by bypassing the SQL.
    Of course, I would like to do this without requiring an administrator approved template in InfoPath, and have it be much more simpler to maintain. There are a lot of moving parts.
    Please point me to any examples or make recommendations. The requirement is that users open the form, the data is filled out already, and with a click of a button, the data shows up in excel automatically in the right place for the item they're currently
    looking at in infopath.
    Now that I've got this working (kind of) for one excel document, management wants to add 25 other documents that this one infopath form can generate. 
    Therefore, once I get this to work better for one excel document, I can add other excel documents.
    I've considered passing a parameter to the excel document in Excel Web Services, as I believe that excel web services 2010 can support this. However, I believe that the macros that run in the excel client okay won't work in excel web services 2010.
    Users would prefer to open Excel in the client, though, so not sure I'm going to go down this path.

    Clayton,
    You rock - thank you for all your responses!
    The infopath form was built doing what it does long before the need to get the data into Excel.
    You are correct in that I could have modified the infopath code to save to SQL, but the fields in the form and on the forms library columns do change before and after the manager approves it.  As such, adding some code to submit the infopath data to
    SQL could have been used to write data into SQL server instead of leveraging SSIS/SQL Agent to do so. However the aformentioned workflow (see way up in the thread) does more than just send an email to the manager with a link. It also edits some fields in the
    forms library column on that particular list item. By using SSIS, every two minutes they get the latest stuff from sharepoint into SQL without having to add code in the workflow or - if possible - on the infopath code that does a table update where item=abc.
    It is common to get data from sharepoint into sql, regardless of whether or not it is a list or library (including infopath forms libraries). There is sample code on Codeplex that has been downloaded close to 40,000 times for this purpose which I'm sure
    you are familiar with:
    http://msdn.microsoft.com/en-us/library/dd365137(v=sql.100).aspx and
    http://sqlsrvintegrationsrv.codeplex.com/releases/view/17652
    I agree with you in so many ways on why they should not be using excel (or word) to present the information. Having InfoPath or a custom workflow magically convert the data presented on a specific view in a filled out InfoPath form to PDF and emailing it
    would be wonderful, but it simply is not a possible solution.
    Surely you're familiar with companies that have a word document that, say, a manager will email to someone as an attachment, then the employee prints out the word document, fills it out on paper and signs it with a pen (or fills out a fillable form, then
    prints it), they then either fax it back or scan it and email it back to the manager, who then prints it out and hands it to a VP for a signature, etc.  Yes, the process is very old-fashioned, but in health care, finance, and for legal compliance reasons,
    some places simply have to do their manual processes the way they are. I've suggested and shown examples of how it can all be done electronically with digital signatures, etc., but their legal compliance officers and board members do not agree to this methodology.
    As such, I work within the confines I am presented with, as I'm sure you've had to do as well.
    I myself have worked for several Fortune 100 firms for many years (Microsoft, T-Mobile, etc), know what is possible. However the place I am at now, many of those options simply are not possible.
    They use excel (and word) because that is the templates the legal department and third party companies they work with gives them to work with. 
    If you've used enterprise OCR systems (LaserFiche, OnBase, Hyperion, etc.) you would be familiar with the fact that in order to scan and index keywords from OCR cover pages, the document has to have fields in a certain location. While I have tried to
    get the InfoPath form to line up properly, I cannot print out headers or footers and page breaks where the OCR system requires and expects them to be. What's more: when you print a filled out infopath form that loads browser side, as you know you get the browser-related
    stuff with it. Although they're all on the same web browser (finally - IE8) and all on windows 7 and office 2010, I cannot control the fact that some users use large fonts and other accessability features to make their 21" screens run at 640x480 (exaggeration).
    When you do this, it changes the margins in the print area, and more.
    If I could take the data that is in infopath, merge it with an excel template, and export that to PDF, that could be an option. Not looking to buy some enterprise PDF generating product, though, and looking to do this as close to a no-code solution as possible.
    Why we're suggesting PDF, perhaps we should be considering XPS, since we are staying with the Microsoft technology stack here.
    Perhaps I should rephrase my original question like this:  "I have 25 different documents that all need to be filled out automatically. Each document has different text on it, but the fields that need to be filled out on the documents are almost all
    the same. I want to present one form for users to fill out, and once saved, to generate all 25 different documents. How would you do this?". While not entirely accurate, as not all 25 documents need to be created at once, only on demand with a click of a button
    for each document, perhaps that is a better way of stating the need.
    Thank you Clayton (and all you lurkers out there hoping to find out how we solve this).

  • Web Forms - Opening a form from a URL in an Email

    Hi. I use the following URL to call an Oracle Web Form from an e-mail (Lotus Notes client e-mail on Windows XP). This works fine as is, but it is not forcing the Web Form to open in Internet Explorer. On some user's PCs it opens in FireFox - I believe this might be because Firefox has been set as their default browser. Is there anything I can add to this URL that will force it to open in Internet Explorer?
    <u><a href="http://9.35.32.205:7777/forms/frmservlet?config=TTMSMENU&form=dropper_em&otherparams=p_dropper='||PPARAMETER||'">Dropper Id: '||PPARAMETER||'</a></u>Any help would be greatly appreciated. Thanks.

    Buechler wrote:
    I believe this might be because Firefox has been set as their default browser.Correct. Maybe there are some settings in Lotus Notes where you can override the default browser?
    Another option might be JavaScript:
    http://www.tutorial5.com/content/view/51/45/
    I'm sure this won't work with every JavaScript engine...
    Question is: why do you want to force your users to use Internet Explorer? My default browser is Firefox too, and I have to say I'd be pretty pissed if you'd force me to use Internet Explorer ;).
    If you are having troubles configuring the JPI under Firefox you might want to read this:
    http://www.oratransplant.nl/2005/05/24/settings-for-dynamic-versioning-with-sun-jpi-and-oracle-forms/
    cheers

  • Calling report on oracle 10g forms

    hi to all,
    how can call oracle10g reports to oracle 10g forms? using a parameter..e.g: employee id.
    Please i need a sample code...
    note : report will not run on internet explorer.
    thanks.
    Edited by: baguhan on Jul 1, 2009 6:06 AM

    Hai Baguhan,
    Try this.
    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
         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, 'EMP_ID', TEXT_PARAMETER, <value to EMPID parameter>);
    --FOLLOWING PARAMETERS ARE MANDATORY PARAMETERS TO SET REPORT OBJECT
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_FILENAME, '<report_full_path>');
              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, <report_server_name>);
              Str_Report_Server_Job := RUN_REPORT_OBJECT(RO_Report_ID, PL_ID);
              Str_Job_ID := SUBSTR(Str_Report_Server_Job, LENGTH(<report_server_name>) + 2, LENGTH(Str_Report_Server_Job));
              Str_URL       := '/reports/rwservlet/getjobid' || Str_Job_ID || '?server=' || <report_server_name>;
              WEB.SHOW_DOCUMENT(Str_URL, '_SELF');
              DESTROY_PARAMETER_LIST(PL_ID);
      END IF;
    END;And add a report object in the form. ( in the above code, its REPORT_OBJ ).
    Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

Maybe you are looking for

  • Error when inserting into a internal table

    hello. I get the fowolling error. An exception occurred that is explained in detail below. The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught   and therefore caused a runtime error. The reason for the exception is: In a SEL

  • R3- RFC- XI-Plain HTTP

    Hi, I have a scenario where R/3 sends IDoc's to our external system using XI plain HTTP adapter. My configuration works fine but, the only issue is , I need to parse through the payload XML, in order to determine the IDOC type at my external system h

  • WLan driver installation solved WLan connection problems on Satellite P200

    After 2 fruitless days of trying to get my wireless adapter to recognize my home network I finally stumbled on the solution. I have a Satelitte P200 which used the AtherosAR5007EG adapter. If you go back to the Windows XP 32 bit drivers it works like

  • Trying to create a PDF getting error no PDFMaker

    Have unistalled reinstalled twice

  • Regraded to ADSL2+? No increase in speed!

    Hello! I am hoping that someone might be able to shed some light on what is going on with my broadband please! I have recently moved home, and discovered that our broadband speed was 2.4mbps (quite a bit below the 13mbps that BT had told us to expect