API to view the output/log of the concurrent requests

Hi all:

I use EBS 11.5.10 (DB: 10r2)

Is there an API I can call to view the output/log of a concurrent request?

We have the APEX Oracle installed in the same database as our EBS and I am developing a report of the APEX, where user provide a competing request id and then click a button; then APEX calls some Oracle EBS API to extract the output/log for this id of the request file and open it in the browser automatically (assuming that / natural log of output is the text).

Thank you!

Kevin

Hey Kevin,

Here is an example of a sqlplus session:

Set serveroutput on 10000;

SQL > declare
number of v_request_id;
v_two_task varchar2 (256);
v_gwyuid varchar2 (256);
v_url varchar2 (1024);
Start
v_request_id: = 123456; (request identification number)
Select profile_option_value
in v_gwyuid
of fnd_profile_options o, fnd_profile_option_values ov
where profile_option_name = 'GWYUID. '
and o.application_id = ov.application_id
and o.profile_option_id = ov.profile_option_id;
Select profile_option_value
in v_two_task
of fnd_profile_options o, fnd_profile_option_values ov
where profile_option_name = 'TWO_TASK.
and o.application_id = ov.application_id
and o.profile_option_id = ov.profile_option_id;
v_url: = fnd_webfile.get_url (file_type-online fnd_webfile.request_log, id-online v_request_id, gwyuid => v_gwyuid, two_task-online v_two_task, expire_time => 100);
dbms_output.put_line (v_url);
end;
/

http://appstierservername.yourcompany.com:8000/OA_CGI/FNDWRR.exe?temp_ID=12788080980 (number will appear here)

PL/SQL procedure successfully completed.

SQL >

I hope this helps.

Published by: DBA115102 on June 10, 2011 17:27

Tags: Oracle Applications

Similar Questions

  • Purge the concurrent request and/or Manager Data - take long & end with error completed

    Purge the concurrent request and/or Manager Data - take long & end with error completed.

    What ever the age values 30,70,1000

    ****

    Select count (*) in the FND_CONCURRENT_PROCESSES;

    COUNT (*)

    -----

    32149

    ****

    Select count (*) from the FND_CONCURRENT_REQUESTS;

    COUNT (*)

    -----

    585499

    ****

    Request of min | Application of Max date | Date

    -------------------- --------------------

    SEPT. 13.-10 10 OCTOBER 13

    My problem is now solved

    the cause of the problem was:

    After the clone for the new Production Server FND_CONCURRENT_PROCESSES & FND_CONCURRENT_REQUESTS table 'old' lines were still talking to the node that is no longer available in the new production to LOGFILE_NAME and OUTFILE_NAME columns.

    And after the removal of these lines, executes the request was very quick and works as it should work now.

    Thanks for all the help I get here and with the SR team too

  • Remove the concurrent requests on simultaneous node

    After cloning
    is it possible to delete all competitor simultaneous queries on node?

    Thanks in advance

    You can run simultaneous program "Simultaneous request Purge" and/or Manager Data on the instance cloned to clean all competitor request and concurrent Manager files of newspapers, the output files and application concurrent Manager of database related records (count = 1 parameter).

  • How to get the the concurrent request id in the data model?

    Hi all

    I want to know how to acquire the simultaneous application of my model of report data. I created a placeholder for my setting + < parameter name = "p_conc_request_id" dataType = "number" defaultValue = '0' > < / parameter > + and for nothing... I have the value 0.

    I need the simultaneous request id in order to identify the user who launched the report. Is there other way on getting the user?


    Thank you!
    All the best,
    Laurentiu

    Published by: laurentiu on July 8, 2009 17:29

    I guess, you have this p_conc_request_id in the concurrent program

    then just add the


    at the beginning of the RTF

    and display it as

  • How to get the the concurrent request id in CONCSUB

    Hello

    We execute simultaneous program in shell script with the CONCSUB command, and it ends normally.

    My requirement is to know how to get the ID of the request, I want to use this id to request for other operations.

    CONCSUB.jpg

    Thank you

    Riadh

    If CONCSUB is submitted successfully, it returns the value of the id of the request. See the example in this post - CONCSUB Shell Script Utility completion status

  • How to permanently remove the concurrent requests, put on hold?

    Hi Hussein:

    My Business division is implementing two or three tables interface 11i. The testing process has created some 6000 concurrent jobs over a period of time that are in status 'pending '. Is it possible that we can safely remove it without affecting the normal functionality?
    Have you Eve met this scenario?

    Kind regards

    Bala

    Hi Bala,

    You can change the status of these simultaneous queries to Completed and error. You will need to update the table FND_CONCURRENT_REQUESTS (STATUS_CODE and PHASE_CODE columns). Once the status is changed, you can serve these applications using 'Serve concurrent demand and/or Manager Data' simultaneous program.

    Note: 152209.1 - What are the meanings of the Codes in the STATUS_CODE and the PHASE_CODE FND_CONCURRENT_REQUESTS Table columns?
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=152209.1

    Kind regards
    Hussein

  • Register proc of pl/sql under the concurrent program

    I'm looking to which a pl/sql package.procedure as a concurrent program.

    I would like to run the concurrent request of user FX_RATES, i.e.
    SQL> l
      1  select fnd.User_id
      2        ,fresp.Responsibility_ID
      3        ,fresp.Application_ID
      4  from   FND_User fnd
      5        ,FND_Responsibility_tl fresp
      6  where  upper(fnd.User_Name)              = 'FX_RATES'
      7* and    upper(fresp.Responsibility_Name)  = 'GL SUPERUSER'
    SQL> /
    
       USER_ID RESPONSIBILITY_ID APPLICATION_ID
    ---------- ----------------- --------------
          1067             50254            101
    So I used the following script to record the simultaneous program:
    declare
      b_OK boolean;
    begin
    
      fnd_global.apps_initialize(1067, 50254, 101);
    
      b_OK := fnd_submit.set_nls_options('AMERICAN');
    
      fnd_program.executable( 'GL_MNH_FX_LOAD'                  -- executable name
                            , 'SQLGL'                           -- application name
                            , 'GL_MNH_FX_LOAD'                  -- short_name
                            , 'GL Mnh Rate Load'                -- description
                            , 'PL/SQL Stored Procedure'         -- execution_method
                            , 'GL_RATE_LOAD.LOAD_FX_MNH_RATES'  -- execution_file_name
                            , null
                            , null
                            , 'US'            -- language code
                            , null);
      commit;
    
      fnd_program.register ( program                => 'GL Mnh Rate Load' -- Name seen on concurrent request screen
                            ,application            => 'SQLGL'
                            ,enabled                => 'Y'
                            ,short_name             => 'GL_MNH_FX_LOAD'
                            ,description            => 'Loads FX Rate file'
                            ,executable_short_name  => 'GL_MNH_FX_LOAD'
                            ,executable_application => 'SQLGL'
    
      commit;
        
      fnd_program.add_to_group('GL_MNH_FX_LOAD'
                               ,'SQLGL'
                               ,'GL Concurrent Program Group' -- Request Group Name
                               ,'SQLGL');
      
      commit;
    end;
    /
    But when I login as FX_RATES I can't view the competitor ask "GL Mnh charge rate.
    When I login with administrator user, I can see the program is defined, i.e. simultaneous-> program-> define.

    So why is the simultaneous program not available in the screen after you select SUBMIT new request when logged in as FX_RATES?

    Hints would be much appreciated!

    After you connect as user FX_RATES, what responsibility you choose? The new concurrent program should be added to the application group that belongs to this responsibility.

    For research through forms, you access the form, press F11, enter the search criteria, and then press Ctrl + F11 to retrieve results.

    PL note this change of basic objects (such as responsibilities and application groups etc.) is not recommended. These changes will not survive an upgrade, as the upgrade process will be back on all these custom changes. It is best to create custom query groups / menus / responsibilities etc. to all custom objects.

    HTH
    Srini

  • check whether or not a concurrent request is complete the backend

    Hi all
    I want to check whether or not the competing applications is complete the backend using the API. I discovered that FND_CONCURRENT.wait_for_request can be used, but inside this procedure they use dbms_lock.sleep command to delay treatment. I used the same dbms_lock.sleep in my code, but does not correct results.
    Please you siggest me on solutions workaround that needs to be done to get the exact time of the concurrent request will have to fill.


    Thank you and best regards,
    Mahesh

    Hello

    You can get the same information in table FND_CONCURRENT_REQUESTS (API of FND_CONCURRENT of the readings of the same table).

    If you want to continue to use an API, see if you can use FND_CONCURRENT. GET_REQUEST_STATUS (Please check if it is a public API).

    Kind regards
    Hussein

  • The ID of the simultaneous request using

    Hi all

    I want to use the concurrent request ID, the competing application submit my report.

    I'll call a PL/SQL trigger dform procedure after in my report that inserts data into a custom table. I need to insert the id of the request as well. I tried using the p_conc_request_id parameter, but failed.

    To use this setting I just set this parameter in the USER SETTINGS and tried to pass the value to the PL/SQL procedure.

    Help, please!

    I don't think that you are on the correct forum.

    Many people want to call an Oracle procedure, but it is not the purpose of this
    software.

    You are in the Oracle Business Intelligence Enterprise Edition forum.
    http://www.Oracle.com/AppServer/business-intelligence/Enterprise-Edition.html

    See you soon
    Nico

  • How to view the log with the identifier of Eloqua UI/API?

    I am trying to import customer contact Eloqua system using a restful api in Java.

    He got 500 Internal Server Error when call POST Api/rest/1.0/data/contact.

    In fiddler, we know that answer pleased as below:

    Internal server error

    There was an internal server error.

    The error was logged with log identifier 551654381.

    Please provide this identifier to log technical support.

    I want to know how to view the log of 551654381 ?

    Anyone who has the experience to import contacts using the Restful API or API bulk?

    Screenshot of Fiddler:

    eloqua.gif

    Hi Tim,.

    The API error log is not available through the UI Eloqua, is accessible by Eloqua support only.  If you supply the ID error when you connect to a service request with the support of Eloqua, it will make it easier for them to diagnose your problem.

  • How to view the error logs in awm

    I just finished my cube of construction and it failed. How to view the error log itself for me to be able to know exactly what size are the original questions.  When using

    Select * from cube_build_log

    It does not give me the real dimensions causing problems?

    Please help

    Thank you

    There are several levels of logging, so I would need to know more before I can tell you that one to watch.

    • Have you built using MN or through DBMS_CUBE. BUILD?
    • What is the exact error you received?
    • What do you learn the following query?

    SELECT OUTPUT, BUILD_OBJECT_TYPE, BUILD_OBJECT, BUILD_ID

    OF CUBE_BUILD_LOG

    WHEN STATUS = 'IMPOSSIBLE '.

    ORDER BY TIMES DESC

  • PowerEdge 2950 Server error message: I1912 SALT full - how do I VIEW the log

    I have the error message scroll on the LCD screen. I know that I can go to the OpenManage Server Administrator and clear the log, but how do I SEE what is in the famous log before clearing it? And if I clean it without viewing that is in it, how can I check in a day or two to see if something happens? I can't find and answer to this anywhere on the web...

    Thank you!

    Hello

    You can use the DSET utility to create a report and it will be the newspaper. http://www.Dell.com/support/contents/us/en/19/article/product-support/self-support-knowledgebase/Enterprise-Resource-Center/Enterprise-Tools/Dell-system-e-support-tool

    You can also go to ctrl + E for the post to view the log.

  • View the log files in the configuration of the cluster (HTTPS UI)

    Hi all

    In my stand-alone configuration, I can view and download log files from HTTPS-Webgui under "Journal subscriptions"-> "log files".

    But in a cluster configuration, I can't see the column "Log Files" under "journal subscriptions. How can I access the files?

    Thank you!

    Christoph

    Hi Christoph,

    try to change the mode of the machine to access the files.

    Best regards

    Enrico

  • Failed to connect to the JMX service (209,1046) when you try to view the logs in PeopleTools 8.55

    I am trying to use the new functionality of Log Viewer PeopleTools 8.55.

    It is a great improvement that allows developers/testers/support team members to display the application server logs, process scheduler logs and newspapers PIA; with a regular account of the PeopleSoft Application.

    You have no need to create a system account on the server (Linux or Windows) for users to view the logs.

    I managed to configure the Web server log viewer, but when I try to Application I can see message failed to connect to the JMX service (209,1046).


    When I configure the JMX for APPDOM user, I tried PTADMIN with no success.


    Could someone describe the process to change the JMX user for Tuxedo domain?


    Thank you

    Stéphane.

    the default installation of DPK password is password.

    Kind regards

    / Stéphane.

  • VMware View customers logout - log for debugging PCoIP shows "sessionDisconnectTimer: set the timer to 2147480 seconds.

    I have operators who are still on my desktop 24/7/365.  Assuming that there are no other problems, they get kicked out of their sessions from view after about 24 days.  We use Thin Clients HP running ThinOS and VMware View Client.  When I check the log for debugging on the Windows 7 VM, I see that when the connection is established, he wrote the following line:

    2014-09-09 08:44:30, 807 DEBUG < MessageFrameWorkDispatch > [wsnm_desktop] sessionDisconnectTimer: set the timer to 2147480 seconds

    After the expiration of the time limit, I get the following messages in the same newspaper and the client disconnects:

    2014-09-09 08:30:08, 571 DEBUG < TimerService > [wsnm_desktop] sessionDisconnectTimer: triggered timer, session is disconnected.

    2014-09-09 08:30:08, 571 DEBUG < TimerService > [wsnm_desktop] session::SessionDisconnectTimedOut: Disconnect message posted on the desktop

    Where it becomes this timer of?  The global setting on the display server is maxed at 9 999 999 minutes.

    The host is EXSi 5.0.0

    VMware View Server is 5.0.0 - 481677

    See Agent 5.0.1

    Operating system is Windows 7 Pro running on the virtual version 7 machine

    It is a known problem that has been fixed in 5.3.2 view - the global time-out in minutes is converted to a time in milliseconds, which then overflows a 32-bit counter. See Overview of VMware View Release Notes

    A desktop session is timeout and be disconnected after about 24 days, 20 hours and 31 minutes, even if the Session time-out setting has been set to a higher value.

    Mike

Maybe you are looking for