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

Tags: Oracle Applications

Similar Questions

  • Where can I find Hyper-V? It is not under the tab 'programs & appearance, turn Windows features on or off '.

    I use a HP Pavilion laptop computer g7, which came with Windows 8 and Microsoft Home & Student.

    Where can I find Hyper-V?  It is not under the tab 'programs & appearance, turn Windows features on or off '.  I looked where HELP says it should be, but I don't the have not found.  I am interested to explore the installation of Windows XP on this laptop so I can go back & before that can be done in Windows 7 using a virtual drive.  Thanx.

    Hyper-V is available in Windows 8 Pro.

    To the top of Windows 8 for Windows 8 Pro:

    http://Windows.Microsoft.com/en-us/Windows-8/feature-packs

    Once you have upgraded:

    Press Windows key + R

    Type: optionalfeatures.exe

    Press enter

    Select it in the list

  • Two quiz under the same program

    Hi guys...

    Is it possible to have 2 quizzes in captivate under the same program? For example, the user can select the beginners or advanced test, and of course, it would be necessary result two slides, one for each quiz.

    Concerning

    Very well, it will be less cumbersome to have to create your own Question slides.

    Please, in the interest of other readers, if we answer your question, could mark you "response"?

    Lilybiri

  • How do I know what sql query is taken on time for the concurrent program

    Hi Sir,

    I am running simultaneous program, which takes time to run, I want to know what sql query causing performance

    Thanaks,

    Anthony

    Hi Anthony,.

    Activate the traces on the simultaneous program and then run tkprof on trace file.

    Octavio

  • How can see calendar of the concurrent program to a user

    Hi all

    I need an application that can show me the concurrent programms that are scheduled with a user. I need also interval
    timing to execute programs of the programs for this user. I also want to see the names of calendar.

    Please I need urgent I will be very grateful for your kind support.


    Thank you

    Salvation;

    Please see:
    How to determine the regular of simultaneous requests [ID 170107.1]
    Re: At the request of simultaneous queries SQL query

    Respect of
    HELIOS

  • Delete a program in the "Program Files (x 86)" folder. Now cannot find the program under the folder "Program Data".

    Hello, I recently tried deletion of the infamous gorilla of my computer program. I went into Safe Mode to remove it properly. I removed the program under the "Program Files (x 86)" folder first, until I removed it from the "Program Data" folder. Now the program does not appear in the "Program Data" folder, and price of the gorilla is still installed on my computer. I really, REALLY want this formidable program removed from my computer. Any help would be much appreciated, thanks!

    GorillaPrice is an adware, so these tools should do the trick. You may not need to HitmanPro.
     
    Delete Adware & puppies with these tools. Check the updates first and then analyze with each of them at a time until your machine is clean.
     
     
     
     
    Malwarebytes (download the free version)
    https://www.Malwarebytes.org/free/
     

    When offered, uncheck the box: activate the free trial version of Malwarebytes Anti-Malware bonus.
     
     
     
     
     
    HitmanPro (30 days free trial)
    http://www.SurfRight.nl/en/hitmanpro
     
     
     
     

    Some reading:
     
     

     
  • single instance of the concurrent program

    How limiting it is only 1 instance of simultaneous application of a simultaneous to run at a time program already?

    for example, if the simultaneous program need exclusive access to a table, how can limit us only 1 instance of the simultaneous program is running?

    Currently, we are trying several bank statement loader (cash management module) and we suspect this program 2 charger fights for single temporary table: ce_stmt_int_tmp

    Do the incompatible competitor with itself

    Cannot make Incompatible concurrent programs with himself (Doc ID 436186.1)

    HTH
    Srini

  • How can I control the concurrent programs?

    Hello
    When simultaneous GL & OPM ruinning programs, off-server peformance classes. How can I control it? I want to restrict the user not to submit or don't work not during office hours. How is it possible?

    Concerning
    Ariz

    Ariz,

    Please mention the version of the application, the database version and the operating system.

    The performance was accepted before? If so, what changes have been made recently?

    Is the problem with concurrent programs standard or custom? In addition, please mention the names of simultaneous (if possible) program.

    Do you run simultaneous program "Gathering statistics for schema" regularly?

    To find out why these simultaneous program affects performance, enable trace as shown (Note: 296559,1 - FAQ: Techniques of common tracing in the Oracle Applications 11i/R12) and generate the file TKPROF.

    You could schedule the program to run at certain times - see "Oracle Applications Documentation Set Guide system administrator" for more details.

    Oracle Applications documentation
    http://www.Oracle.com/technology/documentation/applications.html

    Kind regards
    Hussein

  • PL/SQL under the heading "view only"?

    Hello

    I use ApEx 4.0 on the 10g database.

    I need to display the result of a procedure from PL/SQL who write HTML (htp.p).

    So I created a "Display Only" type element.

    It seems that there are two ways to call the procedure:

    *1 :*
    set the Source Type of "body of the PL/SQL function.
    In the field 'Source of value or the Expression' call the procedure: show_cart (...);

    *2 :*
    adjust setting based on output of PL/SQL code «»
    In the "Code PL/SQL which emits HTML" on the ground, call the procedure: show_cart (...);


    The problem is that it break the whole page when you use the 1st solution (only if the procedure write a table), for example if my procedure:
    htp.p('<div>hello</div>');
    It works, but if it does:
    htp.p('<table><tr><td>hello</td></tr></table>');
    It breaks all the page as if a table was not locked, or something like that...

    With the help of the 2nd solution works, but seems to add extra tables, or etc. and it make my margin/margin falls down, I can't implement it properly.


    All I want is to display the result of my procedure, without additional HTML code... and if possible do a javascript function that make an ajax call to a request of the process that calls the procedure...

    Thanks for your help.

    Yann.

    In this case, you could create a region of PL/SQL in your page 0 and make conditional on the current page in a list the pages that you want to use.

    Or you can create an HTML region and do the same thing (probably easier).

    Or you can create an application process and that subordinate to the current page in the specified list.

    Page zero will give you more control over the display position and attributes.

    Without seeing the application, it is difficult to determine the best approach but, in any case, an element display only is not the way to go.

    See you soon

    Ben

  • Generate output XML for a PL/SQL stored procedure concurrent program (EBS).

    Hello

    I trying to generate XML output for a simultaneous PL/SQL program and then use it as a model for BEEP.
    Program PL/SQL for a report consist of sliders/queries and other calculations of output data.
    Program (report) made up of topics, couple of col. values of one or more tables DB and rest of the columns are values read from DB colonel and calculated. The length of the neck extends up to 280 characters.

    All out - put is shown using fnd_file.put_line (fnd_file.ouput,...);
    before first fnd_file statement, included the following stmt.
    fnd_file.put_line (fnd_file.output,' <? xml version = "1.0" encoding = "UTF - 8"? > ');

    Using demand conc., notice ouptut poster error...
    The XML page cannot be displayed
    Invalid at the top level of the document. Error during processing of the resources ' http://ohcol0ws023.amp-ohio.org:8004/OA_CGI/FNDWRR.exe...
    <? XML version = "1.0" encoding = "UTF-8"? >

    I tried to add tags in the rest of the fnd_file.put_line stmts. as
    fnd_file.put_line (fnd_file.output, '< Heading1 >' |) 'Report name ' | (/ head2 > '); etc.

    View output shows the same error message.

    PL. advise how go further or tell me the link, if it's already been answered earlier.

    Thank you
    Prak

    Copy the file from $APPLCSF / $APPLOUT to your customer and try to open it. Find out what's wrong with the code XML, for example, you may need to top level element:

    Write to me if you can't get by - see my profile.

    Kind regards
    Gareth

  • This is the software under the C:\Program Files\Bench. Are they safe?

    Original title:

    bench software

    There are software under C:\Program Files\Bench. Are they safe, or should I uninstall them. I suspect that they are causing problems for my computer.

    No idea who wrote it.

    Search for malicious software.

    See you soon.

  • Can not find the concurrent program

    Hi all

    EBS 12.1.3 on RHEL 5.7, 64-bit

    Database 11.1.0.7 Std Ed

    What is the program to purge the XLA_DIAG_SOURCES table?

    Concerning

    Hello

    Take a look at this document:

    How to purge the populated tables allowing the diagnosis of ALS? (Doc ID 1516562.1)

    Kind regards

    Bashar

  • Enabling\Displaying more than one parameter in the concurrent program.

    I need to create four simultaneous program settings where the 2nd, 3rd and 4th are active and disabled depending on the value selected in the first parameter.

    If the first value of the parameter is 'X', then I need to allow the 2nd and 3rd and 4th parameter to disable.

    If the first value of the parameter is 'Y', then I need activate 4th and disable parameters 2 and 3.

    Please help me on this

    Thanks in advance

    Kiran

    Hi Kiran,

    See if the solution in link below helps to:

    Toggle settings for simultaneous program dynamically - Oracle CRM Blog

    Thank you

    Arun

  • RETCODE = 2 does not complete the concurrent program with the error.

    Hi all

    I have a custom Package and a procedure with a parameter that accepts the item number.

    Here is my Code:

    CREATE OR REPLACE PACKAGE BODY CUSTOM_TEST_PKG
    PROCEDURE MAIN (P_INVENTORY_NAME IN VARCHAR2, ERRBUFF OUT VARCHAR2, OUT VARCHAR2 RETCODE)
    IS
    V_ITEM_ID NUMBER;
    BEGIN
    FND_FILE. PUT_LINE (FND_FILE. EXIT 'before the subprogram");

    / * Start of subprogramme * /.
    BEGIN
    FND_FILE. PUT_LINE (FND_FILE. EXIT 'before the Select query");
    SELECT INVENTORY_ITEM_ID IN THE V_ITEM_ID MTL_SYSTEM_ITEMS_B WHERE SEGMENT1 = P_INVENTORY_NAME
    AND ORGANIZATION_ID = 204;
    FND_FILE. PUT_LINE (FND_FILE. EXIT "after the Select query");
    FND_FILE. PUT_LINE (FND_FILE. OUT,' the name of the element passed as parameter IN :'|| p_inventory_name);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    RETCODE: = 2;
    ERRBUFF: = 'no items exist. "
    FND_FILE. PUT_LINE (FND_FILE. JOURNAL, ERRBUFF);
    END;
    / * End of subprogramme * /.

    FND_FILE. PUT_LINE (FND_FILE. EXIT "after the subprogram");

    END MAIN;
    END CUSTOM_TEST_PKG;
    /


    Could someone help me on this.

    errbuf and retcode must be parameters of 1st and 2nd respectively. 3rd onward are the order of simultaneous program settings. Change your code.

    Kind regards
    Gareth

  • Migration of workbook using the concurrent program

    Hi all

    I developed a simultaneous program to migrate the workbooks of development to the production instance. This simultaneous program saved in the production instance and it will show all workbooks in development instance (it could possible using the DB link) and if I can select the report and submit the request, it checks if reports closes in production using the identifier. If there is, it will update the BLOB (workbook), otherwise it will insert BLOBs (workbook) in the production instance.

    Please share if you have any concerns about this approach and let us know if you need more information.

    Thank you
    Ramakrishna

    Hello Rico
    I agree with rod of feelings as export aid. Import, method of migration of files between environments. Most large and medium size is to think of it, the companies would cringe at the thought of having an automatic work that installs anything in the Production of Test or Test development. The right approach would be to include discoverer in standard migration methodology to move code between environments.

    Developers should not be responsible for the migration of the Production code, and should not have the means to do so. Even if we all think that we know what we're doing essentially is that it should be up to the person to team or support of migration to migrate the code. It should also be a document of migration that explains what that is moved and why.

    So, while we can do technical things astute enough like what you describe, and I admire your outside of the box thinking, in the real world strategy I think it would be most businesses in more trouble they would like to enter.

    Well, now just the SOX compliance justification not to do let me also agree with rod on technical reasons.

    Best wishes
    Michael

Maybe you are looking for

  • Turn off every macOS as public beta Sierra updates

    How can I disable macOS 10.12.1 Public Beta 1 update notice?  I currently installed (and running) MacOS Sierra "free version". The APP Store software update wants to update my Public Beta 1.  I am not now under 'Public Beta' and I don't want to conti

  • Print airport extreme, printer laser HP P1005 and iMac snow leopard computer wireless

    HP P1005 print when connected to the iMac.  When the printer is connected to the Airport extreme, and a print job is sent to the printer, the printer is recognized by the network, but the printer starts to work on hold.  It will not be printed.  I sp

  • How to speed up the handling of the table

    I need to generate two arrays of samples up to 20 million to simulate a quadrature encoder signals. I start with a table of examples of position and for each sample, I create a table with the representation of a single pulse and insert it in the tabl

  • Store the object in a persistent storage

    Hello I want to store the cusom object in the persistent store.here is my custom class: public class {UserData OrgName string;Time to string;String authTocken;Public UserData (orgName, String authTocken, String time, String){this.orgName = orgName;Th

  • CUCM 8.6 to 9.1 CUCM upgrade (in place) "Partitions Unaligned placed just before.

    Hello We have a CUCM on a UCS-C210 8.6 using the 7500 OVA (2x80GB, vm7) user. I improved CUCM 8.6 Editor (on UCS-C210) CUCM 9.1.2 but after the passage of the version on the Publisher, I had the fearsome "unaligned partitions' on the CLI. Any ideas?