Submitting Concurrent Programs

Hi,
I want to submit a concurrent program through SRS Window, which is invoked from a form function, not through VIEW REQUESTS -> Submit Single Request.
for example, let the concurrent program name be <TAX INVOICE>. I want to submit this program through the SRS Window invoked from the form function, say,
<PRINT INVOICES>. How to make this program available in the list of values in the submit request window?.
Thanks,
Rafeek.

Hi,
You can do this as follows
1. Create your new concurrent program, make sure the Use in SRS checkbox is ticked
2. Create a new request group that has just your concurrent program in it
3. Create a new form function that calls form "Run Reports" with parameters that include your request group from 2. Use function AR_FNDRSRUN_INVOICES_PRINT as an example.
4. Add you new form function to the menu you want it to appear on.
Regards,
Gareth
Blog: http://garethroberts.blogspot.com/
Added use in SRS comment.

Similar Messages

  • Error While Submitting Concurrent Program

    Hi all,
    While submitting Concurrent Program in HRMS to check the Seeded Output,I am getting the following Message
    app-fnd-00314 invalid printer ( not print ) and print style (ZA PS Portrait) combination.
    Could someone please tell me How could I figure it out.
    Thanks & Regards

    914618 wrote:
    Hi all,
    While submitting Concurrent Program in HRMS to check the Seeded Output,I am getting the following Message
    app-fnd-00314 invalid printer ( not print ) and print style (ZA PS Portrait) combination.
    Could someone please tell me How could I figure it out.
    Thanks & RegardsWhat is the type of the concurrent program?
    Are you printing to specific printer or to noprint?
    Please see the solution in these docs.
    Accrual Reconciliation Report Errors With APP-FND-00314 Invalid Printer And Print Style Combination [ID 564009.1]
    Cash/Bank Book Report Error APP-FND-00314: "invalid printer and print style inloc_bacs” [ID 551975.1]
    Quarterly Tax Return Worksheet (Form 941) Fails With APP-FND-00314 [ID 307701.1]
    Thanks,
    Hussein

  • Issue while submitting concurrent program from OAPage

    Hi Team,
    In OApage in One LOV field is der. From that LOV we need to select one concurrent program and click next button. while clicking on the next button i am getting error like  below
    The data that defines the flexfield on this field may be inconsistent.
    Inform your system administrator that the segment referred to by the flexfield bind variable
    :$FLEX$.PFCPA_JOB_NUMBER.ID:NULL could not be found.
    Make sure this variable references the segment or value set name of a prior segment
    in the flexfield structure. This flexfield bind variable is in either a WHERE clause in a table-validated value set,
    or in a default value for one of the segments of this flexfield.
    Please help me in this issue.
    Thanks,
    Rajashekar

    Hi Team,
    In OApage in One LOV field is der. From that LOV we need to select one concurrent program and click next button. while clicking on the next button i am getting error like  below
    The data that defines the flexfield on this field may be inconsistent.
    Inform your system administrator that the segment referred to by the flexfield bind variable
    :$FLEX$.PFCPA_JOB_NUMBER.ID:NULL could not be found.
    Make sure this variable references the segment or value set name of a prior segment
    in the flexfield structure. This flexfield bind variable is in either a WHERE clause in a table-validated value set,
    or in a default value for one of the segments of this flexfield.
    Please help me in this issue.
    Thanks,
    Rajashekar

  • Submitting concurrent program

    I created a table and procedure in Apps schema and created concurrent program executable, Concurrent program in Human Resources. Then I attached New concurrent program XX Hello World to Human Resources Reports and Processes Record Group.
    I navigated to Human Resources Responsibility -> View- > Request -> Name
    Here I am giving my Concurrent program name XX Hello World but I am getting error
    FRM-40212 Invalid Value for field USER_CONCURRENT_PROGRAM_NAME.
    The list doesn't have any values.
    Can you please suggest what's wrong?
    Thanks
    Hari

    Hi Vinod
    I added my concurrent program to 'HR Reports and Processes' Group. I am able to fetch and see the record
    Group : HR Reports and Processes
    Application : Human Resources
    Request Type : Program
    Name : XX Hello World
    Then I opened HRMS Responsibility that's on Human Resources. Navigated to Submit New Request page but here I am unable to fetch Concurrent program name.
    Thanks
    Hari

  • Date format when submitting concurrent program

    I am getting some odd behavior off of a new PC build when trying to submit a concurrent program. This occurs only on this PC. CPs using the PER_DATES_STANDARD value set will no longer accept the Oracle standard of '01-AUG-2011'. The following message displays:
    Please enter date value 01-AUG-2011 in correct format: MM/DD/RRRR
    I have looked at the 'Preferences' link in the Self Service area and also all of the 'DATE' profiles within Applications and I cannot find anything that would cause this. I even tried forcing a format for my user profile without success. Can anyone tell me where to change this format?
    We are using Apps version 11.5.10.2.

    scott_h wrote:
    Scott,
    Please see these docs.
    IE8 AND R12 SECURITY SETTING REQUIREMENT ON CROSS SITE SCRIPTING (XSS) [ID 1069497.1]
    Date Fields in Forms render like dd#mm#yyyy When Using Internet Explorer 8 [ID 1061707.1]
    Thanks,
    HusseinThanks to both of you for looking at this with me, here is what we found: the date format was dependent on how we logged into the Applications session. When logging in directly to the forms server bypassing the self-service page login, the date format within Applications was based on the OS format. When logging in through the self-service page, it was using the format specified in the Preferences link of the page. This is new behavior after our recent move to a secure https URL. Not sure why but we know the issue. I will look at those docs to see if they relate. Thanks again.This makes little sense - if this issue was linked to settings in Preferences, then the issue should be able to be replicated from any PC, not just a specific one.
    HTH
    Srini

  • Dynamically selecting template when submitting conc program in XML Reports

    Hi Experts,
    I am working on XML Publisher reports with EBS-R12 and database-10g.
    I have two RTFs,(one for USA country and another for Japan) for my report. I created one data defintion, and two templates for same data defintion in XML Publisher responsibility.
    When i submit the concurrent program, i can manually select the template from the available list. My requiremet is, based on input parameter(ORG ID), the template should be selected automatically.
    Is there anyway template can be automatically selected based on condition when submitting concurrent program?
    Waiting for your responses.
    Thanks.

    Look up FND_REQUEST package details.
    Here's some sample code to get you started.
    PROCEDURE submit_report (
                   errbuf out VARCHAR2,
    retcode out NUMBER ,
                   i_conc_prog in varchar2,
                   i_country in varchar2
              ) IS
    lv_req_id number := 0;
    xml_layout boolean;
    lv_template_code varchar2(30);
    lv_template_appl_code varchar2(30);
    lv_output_format varchar2(30);
    cursor c_output_format (p_conc_prog in varchar2, p_country)
    is
    .... Enter your select statement to get your template code and output type based on your criteria
    BEGIN
         open c_output_format(i_conc_prog, i_country) ;
         fetch c_output_format into lv_template_appl_code, lv_template_code, lv_output_format ;
         close c_output_format ;
    xml_layout := fnd_request.add_layout
         template_appl_name => lv_template_appl_code,
                        template_code => lv_template_cide,
                        template_language => lv_template_lang,
                        template_territory => lv_template_territory,
                        output_format => lv_output_format
    IF (NOT xml_layout) THEN
    fnd_file.put_line(fnd_file.log,'Unable to apply ' || lv_template_code || ' template');
    ELSE
    lv_req_id := fnd_request.submit_request
    application => <>,
                        program => i_conc_prog ,
    description => NULL,
              start_time => NULL,
              sub_request => FALSE,
                        argument1 => <>,
                        argument2 => <>,
                        argument3 => chr(0)
    END IF;
    IF lv_req_id <> 0 THEN
    fnd_file.put_line(fnd_file.log,'Submitted '|| lv_req_id );
    ELSE
    fnd_file.put_line(fnd_file.log,'Error submitting request ');
    END IF;
    commit ;

  • Data is not comeing in when concurrent program(report) runs

    Hi All,
    i am submiting concurrent program( which is a REPORT 6i) not geting ourput. it dsiplaying only columns.
    here i am expecting date problem. while i am passing the parameters, here i am sending two date parameters
    budget_date_from and budget_date_to. In where condition of report sql query i have writen like this
    TO_CHAR(pce1.effective_date_from,'DD/MON/YYYY')>= TO_DATE(:P_Date_from)
    can suggest me, which valueset i have to use? while registing with apps.
    can anyone help me to sortout this issue.

    Try following
    TO_date(pce1.effective_date_from,'DD/MON/YYYY')>= TO_DATE(:P_Date_from)
    or
    TO_CHAR(pce1.effective_date_from,'DD/MON/YYYY')>= TO_char(:P_Date_from)
    but result may different for both.

  • Error When Submitting WIP Mass load Concurrent Program (Work in Process)

    Hi,
    I am submitting WIP Mass Load concurrent program to get the data from WIP_JOB_SCHEDULE_INTERFACE table in to base tables.
    The concurrent program is completed with Warning status.
    My Package inserts the data into wip_job_schedule_interface table to create a WIP Job. After inserting the data in to wip_job_schedule_interface table, it submits a concurrent program (WIP Mass Load) (Standard concurrent program) to create a WIP job automatically from the data inserted into wip_job_schedule_interface table.
    This concurrent is errored out with the following warning message:
    ===========================================================
    Group ID: 7026 Report Date: 23-OCT-2007 12:26
    Job and Schedule Interface Report Page: 1 of 1
    Create Discrete Jobs
    Source Code: XXEXT019
    Organization: DVR
    Process Process
    Job Job Type Assembly Quantity Start Date Completion Date Kanban Card Phase Status
    6094-3 Non-standard DEV-GA-1 1.00 23-OCT-07 11:57 23-OCT-07 11:57 Validation Error
    Error: Invalid or insufficient Completion Subinventory/Locator information.
    Check that you have entered valid subinventory/locator information based on the organization and assembly
    that you have chosen.
    0 out of 1 jobs were successfully loaded
    =========================================================
    I populated locator information in to the interface, then too its saying the same.
    Can you please me know where exactly i am going wrong. Help Appreciated.
    Thanks

    Have a look to the Metalink note "Note:207646.1", which deals with the error "WIP_ML_ORA_ERROR (ERROR_CODE=-1653)".

  • Concurrent program to be submitted y only one user at a time

    Hi
    I have an issue with one of my reports. The report is using temporary tables, those will under go insertion and deletion while the report is running. So, to make sure that two or more concurrent requests submitted for same report, will not conflict, I want to make my concurrent request to be submitted by only one user at a time.
    How can I do that?
    Any help is appreciated.
    Thanks
    BalaKrishna

    The "run alone" box should not be checked. This indicates that this program can only run when no others are running. Pl see MOS Doc 1078462.6 (Custom SQL Concurrent Program Returns NO MANAGER Error). This option should typically not be used.
    To be able to achieve what you need, set the incompatibility (as you have done) and then bounce the concurrent managers for the setting to take effect. Pl see these MOS Docs
    436186.1 - Cannot Make Concurrent Programs Incompatible With Itself
    142944.1 - How to Make a Concurrent Program Incompatible with Itself
    HTH
    Srini

  • Error While submitting Import Standard Purchase Order Concurrent Program

    Hello All,
    When I am trying to submit Import Standard Purchase Order Concurrent Program from front end, it gets submitted properly.
    and from backend,I am getting Following error.
    To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
    AUDSID = 27810853
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
    User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
    When I looked in Parameters in both program(manually submitted and called from backend) I found a difference.
    difference is Parameter Operating Unit. It not get submitted while program calling from backend.
    Please anybody tell me solution for this. for setting this parameter.
    (Also I have applied for patch 13001705 as per Metalink suggested).
    Thanks in advance.
    Regards
    Ravi Raj.
    Edited by: Ravi Raj on Jan 23, 2013 10:50 PM

    Please paste the code here.. there may be some parameter issue while submission.

  • How to capture the parameter value of Concurrent Program submited

    Hi,
    I would like to capture the Parameter value of Concurrent Program submitted through Submit Request screen based on that i want to return value.
    When Conc prog "Payroll Run" along with parameter like "Pay Period" which has LOV attached to it, which has one coulumn named "End Date", this value selected needs to be captured. Can you please tell the Table name where the value is stored or Captured.
    I want this value to be used in Fast Formula which will return the desired value to Input Value.
    Actually in one of the Element I have Input Value as "Monthly Days" which should be populated with the "Number of days" in the period in which Payroll is being processed.
    Thanks in advance.
    Ram

    Hi,
    fnd_concurrent_requests.argument_text stores the argument values in comma separated form. But check the prior response from thierry first - fnd_concurrent _requests is not the place you want to be getting things from as it can be purged and so you source data is gone!
    Gareth
    http://garethroberts.blogspot.com

  • Need to hide a concurrent Program even if it submitted

    Hi All,
    I am submitting a custom program ABC (plsql exe type), which would submit an other program XYZ (here it is for email sending).
    when I submit that ABC program even if XYZ is submitted it should not show up in SRS window.
    Is there a way for this.
    Please let me know

    You have a couple of options
    1) Customize or personalize the SRS window and add a where clause to the find screen that says
    "and user_concurrent_program_name not in ('XYZ')
    2) In the ABC custom program, setup the context to a generic user (say sysadmin) by using fnd_client_info.setup_client_info(appl_id, resp_id, user_id).
    This way, the XYZ concurrent program will be submitted under SYSADMIN.
    This way, when the user queries the SRS window, he/she won't see SYSADMIN's requests.
    Hope this helps
    Sandeep Gandhi
    Independent Consultant

  • Multiple instances of Concurrent Program Being Submitted Diffrently

    h3. Hi Oracle Gurus,
    I am new here and was unable to find the correct category to post my thread into. So please if you know the right category please move it or let me know.
    I am having an issue with the order of submission of the same concurrent program with different responsibility.
    h4. Let me explain with an example:
    I have program CProg which is incompatible to itself in the present setting. There are multiple schedules running of the program with different responsibility. The problem arises when the schedules overlap.
    Now let's take 2 schedules:
    1. Runs daily at 2 PM. To identify name it as CProgSch1
    2. Runs the program every 3 hours. CProgSch2
    The priority of both requests is same.
    h4. Terms:
    Request_Date:+The time at which the parent program requested child program to be submitted.+
    Requested_Start_Date:+The time at which the program was meant to be run.+
    Actual_Start_Date:+Time when the program was actually run.+
    Actual_Completion_Date:+Time when the program finished execution.+
    h4. Now, the details are:
    Program________Request_Date_____________Requested_Start_Date________Actual_Start_Date________Actual_Completion_Date
    CProgSch1_________25 Dec 2012 2.20PM__________26 Dec 2012 2PM_____________26 Dec2012 2.02 PM________26 Dec 2012 2.22 PM
    CProgSch2_________ 26 Dec 2012 10.58AM________26 Dec 2012 1.55PM___________26 Dec 2012 2.23PM________26 Dec 2012 2.26 PM
    After I checked why not one but both programs missed to start at Requested_Start_Date( by 2 minutes and 23 minutes) I came to know that there was another program running which completed at 2.02PM.
    After its completion to my surprise CProgSch1 which was scheduled 5 Minutes later ran instead of CProgSch2.
    And as listed above, CProgSch2 which was scheduled to run at 1.55PM was actually run at 2.23 PM after completion of CProgSch1 at 2.22PM.
    It seems that Oracle prioritizes the programs based on Request_Date rather than Requested_Start_Date. Is this so? Can we do something so that oracle picks up programs based on Requested_Start_Date instead of Request_Date.

    ok, and can you please tell me how it doesn't follow those guidelines? If he where to make it shorter then it wouldn't be self contained. He showed us just the methods that where causing the problem. How would you present the problem "Hlpes prgrm no wrk!!!!!" and leave it at that? I'll just point this out before you say anything else:
    U nEd 2 b clearer bout wot d prob iz!_
    Fact is your not helping him at all.
    Now on to his question. I have run code similar to yours in my own sessions and everything turns works out fine.
    public class Monster{
         public int AC;
         public Monster(int a){
              AC = a;
    public class State{
         public State(){}
         public void h(Monster mon1, Monster mon2){
              System.out.println(mon1.AC+","+mon2.AC);
    public class Test{
         public static void main(String[] args){
              State h = new State();
              final Monster Goblin = new Monster(12);
              final Monster Pirate = new Monster(14);
              h.h(Goblin, Pirate);
    }That outputs "12,14". So the problem most be somewhere else in the code.

  • Concurrent Program re-submitted

    Hi,
    We are running on R12(12.0.4).
    While bringing down the applications for applying a patch we killed couple of concurrent programs (FNDLIBR). Patching went off well. Applications came up smoothly and health check completed successfully. But the programs that we killed were still running. They completed with errors. The most surprising part was the concurrent programs got re-submitted on their own. These were custom programs updating records, so we had duplicate entries. Now those are being deleted. But i would like know what exactly happens when you kill a FNDLIBR process. And any idea if the CP's get re-submitted again??
    Thanks in advance.
    Jayant

    What before killing prog id what you killed the process id of everu prticulad programe.
    i think you have to clear the process 1st.
    let me know your concern here though i am not so much clear about r12 i am working on 11i env.

  • Ora-0000 when submitting a concurrent program from DB trigger

    Hello,
    I am getting following error when submitting a concurrent program from a trigger.
    ORA-20002: ORA-20026: 10322991ORA-0000: normal, successful completion
    ORA-06512: at "APPS.NPX_RUN_PICKR", line 63
    ORA-04088: error during execution of trigger 'APPS.NPX_RUN_PICKR'Though, this indicates normal successful completion, it does not generate any request_id. Nor, it launches the concurrent request.
    Below is the trigger code. Any idea why this is happening? Thanks, R
    CREATE OR REPLACE TRIGGER APPS.NPX_RUN_PICKR
    AFTER INSERT
    ON APPS.NPX_PICK_RELEASE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
       p_printer        VARCHAR2 (240);
          p_print_flag     BOOLEAN;
          --concurrent_request variables
          l_request_id     NUMBER;
          --initializing variables
          l_app_id         NUMBER;
          l_resp_id        NUMBER;
          --pick_release variables
          v_out            VARCHAR2 (500);
          lorg number;
         errx varchar2(2000);
         p_message varchar2(2000); 
         result boolean;
       BEGIN
          p_printer := fnd_profile.VALUE ('PRINTER');
          p_print_flag :=
             fnd_request.set_print_options (p_printer,                  -- printer
                                            'LANDSCAPE',                  -- style
                                            0,                           -- copies
                                            TRUE,                   -- save output
                                            ''                   -- print together
                                           result:= FND_Request.Set_Mode(TRUE);
          l_request_id :=
             fnd_request.submit_request (application      => 'NPX',
                                         program          => 'NPXIBOXPICK',
                                         description      => NULL,
                                         start_time       => NULL,
                                         sub_request      => FALSE,
                                         argument1 => :New.order_number,
                                         argument2 => :New.org_id
          IF l_request_id = 0
          THEN                                   
             errx := sqlerrm;
             p_message :=:New.Order_Number ||errx;
                      raise_application_error
                       (-20026, p_message);
          end if;
    exception when others then
    errx := sqlerrm;
    raise_application_error(-20002,errx);
    end;

    Hello Hussein,
    It is 11.5.10.2.
    The line 63 represents following block
    IF l_request_id = 0
          THEN                                   
             errx := sqlerrm;
             p_message :=:New.Order_Number ||errx;
                      raise_application_error
                       (-20026, p_message);
          end if;Thanks,
    R

Maybe you are looking for

  • Error Message in ALV Report

    Hi All, I have developed a report. After start-of-selection, i have written a perform statement, in which the data is getting retrieved for printing the same in ALV layout. If there is no data available in the table, the code will raise an error mess

  • I keep getting the following error message---"We're sorry but the Safari browser version you are currently using does not support the community toolbar."

    When I log in I get this message I keep getting the following error message---"We're sorry but the Safari browser version you are currently using does not support the community toolbar." Also, I can seem to down load my Adobe Flash, I did download wh

  • Java app with web service and servlets

    Hi. I intend to make a java application which exposes some methods as a web service and as jsp/servlets. It's core functionality is not really web centric, but its more a java app with a web tier. I am not sure about how the architecture of such a sy

  • Control references and XY graph

    hi there, I was wondering if somebody can help me with passing data to a " XY graph " not waveform graph [ in a main VI ] from a sub vI using the concept of a control reference.. p.s: I dont intend to flatten data . It works fine with waveform graph

  • My signal bounces around too much

    Here is what I'm working with. UFO style Airport Extreme base station --> 2GHz Intel Core Duo Imac --> 1.8 GHZ POWER PC G5 IMAC Both run OS10.4.11 Currently I've got this system up and working just fine, so long as both systems are relatively close b