Call Discoverer from Oracle Applications

I need to view the discoverer workbooks from Oracle Applications
menu. Sombody know how?

We ran into the same issue when we upgraded Disco to 10g (do not recall exact version) about 18 months ago - unfortunately, we are off till the new year and I will not be able to determine what the resolution was until then.
Pl see if any of these MOS Docs can help -
788706.1 - Error Unable To Connect To Oracle Applications Database 'afscpgcs' After Cloning An APPS Instance & Changing APPS Passwords
306235.1 - Launching A BIS Workbook Gives Unable To Connect To Oracle Applications Database (afscpgcs) Error
459941.1 - Secure Ticket Connection Fails From e-Business Suite
784358.1 - Connecting to Oracle EBS with Discoverer Fails with ORA-01017 Invalid Username/Password Error
Try enabling tracing as noted in 370800.1 (How To Create An E-Business Suite Connection Trace For Discoverer 10g (10.1.2) Plus / Viewer) to see if you can find more details about the error.
HTH
Srini

Similar Messages

  • Calling workbook from oracle application 11.03

    hi,
    i want to call one report of discoverer from oracle application 11.03 request set.if any one has done this ever or have any idea how should i do this,please reply back.
    thanks in anticipation
    null

    hi,
    this will help u in solving the problem.
    This can be simply achieved via the following steps:
    Add a 'Push Button' to an existing form, where you wish Discoverer to be run from.
    Add a standard 'WHEN_BUTTON_PRESSED' trigger to this button.
    Edit the trigger to insert the HOST command referencing the Discoverer executable(including the full path), plus the command line options you require. An example of this is shown below:
    HOST('C:\ORAWIN95\DISCVR31\DIS31USR.EXE /CONNECT SCOTT/TIGER /OPENDB TESTQUERY1 /SHEET ALL');
    In this example, command line options have been appended to the Discoverer executable to first connect as a specific user, then open a Workbook that has been saved to the database, and then run all the sheets in the workbook. These command line functions are optional and there are others that can be used to perform various functions. For more information on the complete Command Line options available, see Chapter 13, section 13.3, of the Discoverer 3.1 Administration Guide or see the following WebIV Note copy of the same:
    Note.68739.1 - Complete Command Line Options for Discoverer 3.1(Admin & User Edition)
    Other references
    For command line options available with the 3.0.8 release of Discoverer(which were only available for the 'User Edition' in this release), see the following note:
    Note.44841.1 - Command Line Parameters With Discoverer 3.0 User Edition
    bye
    raj

  • Launch Discoverer 10g from Oracle Applications Menu

    Please provide steps to launch Discoverer 10g from Oracle applications menu.
    Thanks in advance.
    suresh

    Hi,
    Follow these steps....
    The process is in 3 stages _(stage 1 will be done only once for all the reports)._
    Stage 1:
    Set the application discoverer relevant parameters.
    Perform this stage only once.
    1.1 Enter the application in System Administrator responsibility.
    1.2 Choose menu 'Profile' and then submenu 'System'.
    1.3 Find the desired profile by filling 'Icx%Discoverer%' and press Find button.
    1.4 Fill the fields (only the values) as described in the table of values bellow.
    Parameter Value
    ICX: Discoverer Default End User Layer Schema Prefix your eul name without the suffix (_US).
    note that if you have several invs it can be diffrent between them.
    ICX: Discoverer End User Layer Language Override American English
    ICX: Discoverer Launcher http://your_server_name:7777/discoverer/viewer?Connect=[APPS_SECURE]
    ICX: Discoverer Release 10 or any other that you are using
    ICX: Discoverer Viewer Launcher http://your_server_name:7777/discoverer/viewer?Connect=[APPS_SECURE]
    ICX: Discoverer use Viewer Yes (or not if you want plus to open - but change the viewer to plus in the link as well - the previos parameter)
    Don't forget to press save button.
    Stage 1 Ends.
    Stage 2:
    Build an oracle application function for each discoverer report.
    Perform this stage for each report.
    2.1 Enter the application in System Administrator responsibility.
    2.2 Choose menu 'Application' and then submenu 'Function'.
    2.3 Fill needed values in each tab by the next instructions (function values)
    2.3.1 Description tab – fill the function, function user name and the description. Notice that the function value should be without spaces.
    2.3.2 Properties tab – fill the:
    Function with the same name you have choose in the previous tab,
    Type with 'SSWA plsql function',
    Maintenance Mode Support with 'None' (Default value),
    Context Dependence with 'Responsibility' (Default value).
    2.3.3 Form tab- fill the:
    Function with the same name you have choose in the previous tab,
    Form & Application fields leave empty,
    Parameters – there are two options available:
    1st Leave it empty – will cause the function to open the discoverer all reports web page and user will have to choose a specific report from the list .
    2nd Fill it with value '=workbook=name of the workbook' but without spaces, convert the spaces (if there are any) from the workbook name to + (plus) sign.
    For example '=workbook=BI+SERVICE+Performance' represents the string for the 'BI SERVICE Performance' report.
    Note: you can also send parameters to the report but since almost all the parameters have a default value (accept from dates) it's not necessary.
    2.3.4 Web HTML tab – fill the HTML call with ' OracleOASIS.RunDiscoverer'.
    Don't forget to press save button.
    Stage 2 Ends.
    Stage 3:
    Build an oracle application menu or submenu for each discoverer report that represented by the function you has created in stage 2.
    Perform this stage for each pair - responsibility + report/function.
    3.1 Enter the application in System Administrator responsibility.
    3.2 Choose menu 'Security' and then submenu 'Responsibility' and then submenu 'Define'.
    3.3 Locate the needed menu by the responsibility that you want to enable her to use the report – of course that the report should be granted for the responsibility via discoverer mechanism as well.
    Do it by clicking on the flashlight that located in the left upper corner and find the needed responsibility.
    3.4 Find the needed responsibility and select her via next screen (Don't forget to use % as wildcards)-choose by double click on her
    3.5 Copy the menu name that related to the responsibility you have choose from the menu field located in the next screen and close the window.
    3.6 From the navigator screen choose menu 'Application' and then submenu 'Menu'.
    3.7 Locate the menu that you've copied in 3.5 (with the flashlight and the find screen, double click on the menu name – similar to 3.3 and 3.4) via next screen.
    3.8 Press on the 'add record' sign (+) that located in the right upper corner of the screen (Do it after the mouse sign and focus is in the rows as you can see the oval mark).
    3.9 Fill the prompt with what you want the user to see in the menu that will activate the report link and after fill the user function name as you have build her in stage 2 (Don't forget to save it).
    Don't forget to press save button.
    Stage 3 Ends.

  • How to call a web Service from Oracle Applications?

    Hi friends,
    I've posted this question on OA Framework forum , but may be it's more appropiated put it here. Sorry for do it again:
    It's about how to call a web service from a Form or a .sql (via Request) in Oracle Applications:
    Could you please explain here the detailed steps (with code example if it's possible) to invoke a webservice from Oracle Applications?.. how did yo do it...?
    I've read differents posts here and the 33097.1 metalink note (by the way, the first recommended link in this note is broken...), but there are lots of theorical concepts and no real examples to see how/from where invoke the WS
    I'll have to call one webservice (I suppose the customer will give me the interface implementation)...but I've never did it with Applications so that's why I ask you for all the detailed steps...
    I work with Forms 6i, Apps 11.5.10.2 and DB 9.2.0.7.
    Thanks a lot.
    Jose.

    Hello Jose,
    I did using java program to call BPEL web services in 11.5.10.
    I pasted below the metalink note for your reference (Note:250964.1)
    The idea is first write a java program to call the webservice (in my case it is calling an BPEL web service, so this may not help directly), test it.
    Then port the java program as specified in the note, so that you could call your web service through concurrent manager scheduler.
    Is this ok?
    Thanks
    Arun.
    ======================================================
    Checked for relevance on 25-Apr-2007
    Application Install - Version: 11.5.8 to 11.5.10
    Goal
    ====
    How to register and create a Java concurrent program for Oracle Applications
    Release 11i
    Solution
    ========
    1. Create your Java Concurrent Program (JCP) , using a text editor.
    /*===========================================================================+
    | Concurrent Processing Sample Code |
    | |
    | FILENAME |
    | Hello.java |
    | |
    | DESCRIPTION |
    | Sample Java concurrent program |
    | About the simplest possible program, just writes a message to the |
    | logfile and output file. |
    | |
    | HISTORY |
    | $Log$ |
    | |
    +===========================================================================*/
    package oracle.apps.fnd.cp.sample;
    import oracle.apps.fnd.cp.request.*;
    public class Hello implements JavaConcurrentProgram {
    public static final String RCS_ID = "$Header$";
    public void runProgram(CpContext ctx) {
    ctx.getLogFile().writeln("-- Hello World! --", 0);
    ctx.getOutFile().writeln("-- Hello World! --");
    ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL, "");
    =======================================
    End Sample
    =======================================
    2. Create a sample directory under $JAVA_TOP:
    $ mkdir $JAVA_TOPoracle/apps/fnd/cp/sample
    3. Copy Hello.java into $JAVA_TOP/oracle/apps/fnd/cp/sample:
    $ cp $HOME/Hello.java $JAVA_TOP/oracle/apps/fnd/cp/sample
    4. Compile your java program:
    javac $JAVA_TOP/oracle/apps/fnd/cp/sample/Hello.java
    5. Test at the command line with following syntax:
    jre -Ddbcfile=$FND_TOP/secure/your_dbc_file.dbc \
    -Drequest.outfile=./outfile \
    oracle.apps.fnd.cp.request.Run \
    oracle.apps.fnd.cp.sample.Hello
    6. Register your custom java concurrent program with Oracle Applications.
    a. Navigate: Concurrent > Program > Executable
    b. Enter details into the form
    Executable: JCPHELLO
    Shortname: JCPHELLO
    Application: Application Object Library
    Execution Method: Java Concurrent Program
    Execution File Name: Hello (Insert a name that does not contain space or period)
    Execution File Path: oracle.apps.fnd.cp.sample
    c. Save the details
    d. Navigate: Concurrent > Program > Define
    e. Enter details into the form
    Program Name: JCPHELLO
    Program Shortname: JCPHELLO
    Application: Application Object Library
    Executable: Choose JCPHELLO from LOV
    Executable Options :
    f. Save the details
    7. Add this new concurrent request to your responsibility request group.
    a. Navigate > Security > Responsiblity > Request
    b. Query System Administrator
    c. Add new row and choose TestJava
    d. Save the changes.
    8. Run your new Hello Java Concurrent Program
    Navigate: Request > Run
    References
    ~~~~~~~~~~~
    Oracle Applications Developers Manual for Release 11i A75545-01
    ====================================================

  • Calling web service from oracle application framework r12

    Hi Techies
    Is anybody know How to call web service from oracle application framework r12(step by step procedure),because i searched in net but i could not understand that one
    Thanks
    Dillibabu B
    Edited by: 962005 on 28 Sep, 2012 12:11 AM

    Hi,
    Check below links:
    http://oracle.anilpassi.com/oa-framework-with-captcha-webservice.html
    http://oracle.anilpassi.com/integrate-oa-framework-with-web-service.html
    https://blogs.oracle.com/ebusinesssuiteintegration/entry/r121_-invokingweb_service_fr
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Direct calls within the oracle application server to the IIS using reverse

    trying to direct calls within the oracle application server to the IIS using reverse proxy. I am having problems...
    What is trying to be achieved is a call to the 3rd party web server (IIS with Oracle SSO plug-in) that will be invoked from the OAS.
    Any suggestions

    First you might get more response if you move your question to following forum:
    Oracle Application Server - General
    Second, I didn't quite understand your question. Can you pl. clarify it bit more? What exactly do you mean by invoking IIS from OAS (I am assuming by OAS you mean OC4J here)?
    Thanks
    Shail

  • Invoke function from oracle application express

    Hello,
    I am using oracle application express 10g.
    I wrote a simple function.
    I want to call the function from oracle application express.
    *Is it possible to invoke the function from oracle application express?*
    I search the web and find no example for it.
    Can you please write any good links for an example? What have I missed?_
    I am really stuck with it. Any help will be appreciated!
    Thanks a lot,
    Niron.

    Hi,
    You can call function in e.g. computations, validations and process like you call it in SQL sheet.
    Process example to get value to variable from function sending item value as parameter
    DECLARE
      l_my_var varchar2(32700);
    BEGIN
      l_my_var := my_function(:Px_MY_ITEM);
      /* other code */
    END;Regards,
    Jari

  • No data found from oracle application end

    Hi all
    i have made a custom PO report, initially when publish a report for particular user out put is coming but when i use different login user and run the same report
    then there will be no data found in that report,(output is blank). kindly help me.
    Edited by: 802441 on Jan 31, 2011 9:47 PM

    You may have more luck asking this in the eBusiness Suite forum (I assume "from oracle application end" = EBS).

  • Calling Report from Oracle form 11g

    I am new to Forms 11g, trying to call report from Oracle forms 11g .
    I want to call report from oracle forms, but its giving error.
    Below is the code
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('empreport'); -- report node in forms builder
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, BATCH);
    set_report_object_property ( repid, report_filename, 'empreport.rdf' ); -- report name
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'RptSvr'); -- report server name
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    if
    rep_status = 'FINISHED'
    then
    WEB.SHOW_DOCUMENT('http://inorasrv-pc:7001/reports/dtd/rwservlet/getjobid='||v_rep||'?server='||'RptSvr','_blank');
    else
    message ( 'error while running reports-object ' || error_text );
    message ( ' ' );
    clear_message;
    end if;
    end;
    Above code giving following error :
    Unable to connect to report server RptSvr
    I think my report servername is wrong
    Where to find report server name in 11g.
    I am Using weblogic server, so can i give weblogic server name
    Thanks in advance.
    Edited by: parapr on Aug 17, 2012 1:52 AM
    Edited by: parapr on Aug 17, 2012 3:21 AM

    Hi,
    You have to have the report server
    a. Installed and configured
    b. Running.
    See
    http://docs.oracle.com/cd/E21764_01/bi.1111/b32121/pbr_strt001.htm
    http://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_verify004.htm
    http://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_conf003.htm#i1007341
    If you are using rwservlet then you will find the name from the Configuration file referred to in the last link.
    Cheers,

  • Calling Report From Oracle Forms

    Hi
    I am calling this one report from oracle forms, I am using global temporary table to run that report. I am first inserting data into the temporary table through oracle form and then i am calling report in that form to view the data in that temporary table. The problem is, we can not view the data of an other session if we are using temporary table. When i call report from that form a new session get created due to which i can not see the data. Is there any method of calling report from oracle form that a same session is used to run the report?
    Thanks.

    As you mention Forms and Reports do not share the database session. I had the same problem and resolved it using record groups and DATA_PARAMETER to transfer data from Forms to Reports. You could also read the Note 110495.1 on Metalink to find useful information regarding this issue.
    Adi

  • XML Error while calling webservice from oracle function.

    I am getting an error while I am trying to call webservice from oracle function. Any ideas? Thanks.
    select get_new_string ('proxy:80', 'http://xxx/PatternVariations/SourceTest/WebMethods','Scott') from dual
    ERROR at line 1:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00225: end-element tag "H4" does not match start-element tag "P"
    Error at line 9
    ORA-06512: at "SYS.XMLTYPE", line 0
    ORA-06512: at "DORSBP00.DEMO_SOAP", line 82
    ORA-06512: at "DORSBP00.GET_NEW_STRING", line 11

    The error message implies that the web service is returning something that is not well formed xml. Can you verify what is being returned by the web service call

  • Copying text from Oracle Applications Window to other Application windows

    Hi All,
    I am not able to copy text from oracle applications windows to my other application windows.
    Please advise.
    Thanks,
    Amit

    Check in your organization who is able to copy the text. Then from that user machine, who is able to copy text, copy identitydb.obj file and copy to your machine (overwrite the current one)
    Then clear its jcache and browser cache one time. From that point forward they can connect to both instances. This is accomplished as follows:
    1. On each Client PC, you will need the new instance 1 (TEST) version of this identitydb.obj file located C:\Program Files\Oracle\identitydb.obj (default location )
    2. Clear Jinitiator jcache : On the client PC delete all files found in c:\Program Files\oracle\jinitiator 11727 Export\jcache
    3. Clear browser cache:
    a) Netscape : Edità Preferencesà Advancedà cache and delete Memory Cache and Disk Cache
    b) Internet Explorer : Toolsà Internet Options à delete Temporary Internet Files
    For any further assistance pls. feel free to ask.
    Regards,

  • Calling reports from oracle forms 9i

    Hi
    I succeded to call reports from oracle forms but for I have a problem for only one report so I can't call it. this a part of the code I'm using :
    declare
         pl_id2 ParamList;
         pl_name2 VARCHAR2(30) := 'liste2';      
    v_rep VARCHAR2(100);
         rep_status VARCHAR2(20);
    begin
    pl_id2 := get_parameter_list(pl_name2);
    if (Id_Null(pl_id2) )THEN     
    pl_id2 := Create_Parameter_List(pl_name2);
    IF NOT Id_Null(pl_id2) THEN     
         add_parameter(pl_id2,'mois',TEXT_PARAMETER,:mois);
    END IF;
    end if;
    IF NOT Id_Null(pl_id2) THEN
    if(:mois is not null) then
    v_rep := RUN_REPORT_OBJECT('My_report',pl_id2);
    message(v_rep);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver','_blank');
    ELSE      
    message('Error when running report');
    END IF;
    end;
    the problem I've remarqued is that the function message(v_rep) is always returning the value :'repserver_0'.
    so when I execute the previous code I'm getting the 2 messages : 'repserver_0' and 'Error when running report'.
    Rq: the report my_report is running very well in report builder.
    does someone see where is the problem so can help me??
    thanx.

    Hi,
    This usually happens when the report fails on the report server. To obtain details on why a particular report has failed, use the showjobs page :
    http://server.domain:PORT/reports/rwservlet/showjobs?server=repserver
    and check the detailed error occured.
    This is logged as Bug:3017948. It is marked to be fixed in version 9.0.4 (Reports 10g) and also has one-off patches for version 9.0.2.3 on Windows platforms. If you need further assistance about patches, please raise a Service Request (SR) with Support via Metalink (http://metalink.oracle.com).
    Regards,
    -Bulent

  • Error calling BLS from oracle database

    Hi Experts,
    We have a scenario in which we are calling BLS from oracle database using trigger. The call is made using the following URL:
    http://<Host name>:50000/XMII/Runner?Transaction=<TRX_Path>&Material=MATNR&Pallet_id=PALLET&Plant=PLANT&Proc_order=PROC&Prodline=PROD&Quantity=QTY&Start_Date=DAT&Start_Time=TIM&Status=STAT&UOM=UOM1&User_name=USER&OutputParameter=*
    This used to work fine in 11.5 but when we upgraded to 14.0 it is not working. We have maintained server details in \etc\host file.
    We were getting error in file 'Error 1 Text.txt'. "A possible Cross-Frame Scripting attack has been prevented. Please contact your system administrator or refer to" this was the last error message. We checked this on SCN and based on the search results we have implemented SAP note 1651004 wherein setting in netweaver is required to be changed. After note was implemented we are getting another error text ('Error 2 Text.txt') "This will happen if the browser running the page tha". We tried a few ways but could not capture the full message coming.
    Has anybody of faced similar problem? I would highly appreciate any hint which could help in solving this problem.
    System Information:
    NW 7.31 SP 10
    Oracle 11.2.0.4
    MII 14.0 SP5 patch 7
    Regards,
    Darshan

    Hi Christian/Anushree,
    I have now modified the URL by adding Illum login name and password:
    http://<Host name>:50000/XMII/Runner?Transaction=<TRX_Path>&Material=MATNR&Pallet_id=PALLET&Plant=PLANT&Proc_order=PROC&…
    When i run the url in browser it gives me the expected results but when i try to trigger it from Oracle i am still getting the error as below:
    "<script>
      var inPortalScript = false
      var webpath = "/logon_ui_resources/"
    </script>
    <html>
    <head>
    <BASE target="_self">
    <link rel=stylesheet href="/logon_ui_resources/css/ur/ur_ie5.css">
    <title>User Management, SAP AG</title>
    <script language="javascript">
    var originWindowName=window.name;
    window.name="logonAppPage";
    function restoreWindow() {
    try{
    window.name=originWindowName;
    } catch(ex){}
    </script>
    <script language="JavaScript">
    function putFocus(formInst, elementInst) {
      if (document.forms.length > 0) {
        document.forms[formInst].elements[elementInst].focus();
    function setValuesAutoCreation() {
    var form = document.getElementById('logonForm');
    form.j_username.value="";
    form.j_password.value="";
    form.automaticAccountCreation.value="true";
    function submitForm() {
    var form = document.getElementById('logonForm');
    form.submit();
    function clearEntries() {
      document.logonForm.longUid.value="";
      document.logonForm.password.value="";
    function setFocusToFirstField() {
    myform = document.logonForm;
    try{
       for (i=0; i<myform.length; i++) {
        elem = myform.elements[i];
        if (!elem.disabled) {
          elemType = elem.type;
          if (elemType=="text" || elemType=="password") {
           if (!elem.readOnly) {
              elem.focus();
              break;
          if (elemType=="select-one" || elemType=="select-multiple" || elemType=="checkbox" || elemType=="radio") {
            elem.focus();
            break;
    } catch(ex){
    function addTenantPrefix() {
      return true;
    </script>
    </head>
    <body class="urBdyStd" bgcolor="#F7F9FB" onLoad="setFocusToFirstField()" onUnload="restoreWindow()">
    Thanks,
    Darshan
    <script language="JavaScript">
    var blockPage = false;
    </script>
    <script language="JavaScript">
    try {
      if (top.document.domain != self.document.domain) {
      blockPage = true;
    } catch (error) {
      // This will happen if the browser running the page tha"

  • Call ITS from BSP Application

    i have created a ITS screen which in turn calls a Abap report
    I want to call this ITS screen from a BSP application .
    Could you please provide some sample code which is used to call ITS from BSP application..
    Useful answers will be rewarded
    Thanks

    Since it is related to both ITS and BSP i thought i can post it in both. and also i didnt get answers for the queries..... for a long time. Anyhow i will take your suggestion for my future query.
    i hv done using iframe to call my ITS application.
    I can able to call the Bsp application whichin turn calls its screen abap program.
    while executing ,  the selecting the directory from the file browse pop up doesnt work for downloading the file
    becos the client , they will not change the settings related to applet in the internet browser for security reasons.
    I hav to make it some how to make it work in the portal which calls this BSP application..
    at the moment i mapped this BSP application to the user role in the SUS Portal . but it appears in the SUS portal . but i m not able to click the application and also handsymbol is not seen while bringing the mouse to that area.
    Could you please tell me , how to use Action_id for that particular application, Authorisation profile settings.
    Kindly  give your suggestions asap.

Maybe you are looking for