Passing concurrent program parameters thru OA.jsp?akRegion

Hi, I'm trying to create a submit button thru a personalization in order to print a custom expense report (rdf).
Thru a personlization, I've been able to create a button and set the "Destination URL" to use OA.jsp?akRegionCode=FNDCPPROGRAMPAGE......
I'm almost there, but the only thing left is that I'm trying to figure out how to pass parameter the the concurrent program in the destination URL.
For example, I've created an item thru a personalization
ID : XX_SUBMIT
Destination URL : OA.jsp?akRegionCode=FNDCPPROGRAMPAGE&akRegionApplicationId=0&programApplName=XX&programRegion=Hide&scheduleRegion=Hide&notifyRegion=Hide&printRegion=Hide&&programName=XX_EXPENSE_REPORT&P_ACCOUNT_NO={$ReportNumber}
Prompt : Print Report
Target: _blank
When on my expense report page, on each line there is a button to print the report itself. Basically, I'm calling FNDCPPROGRAMPAGE and hide a couple of sub-pages and then I want to be able to pass the report number the the concurrent program 'XX_EXPENSE_REPORT'.
My problem is that if in the concurrent program definition I uncheck "Display" parameter, the report_number shows in the URL but doesn't get transferred to the report so my output is blank. The report didn't receive the report number value but I saw the value in the URL.
If I check the 'Display' parameter, after clicking on the "Print Report button", system ask me for the Report number input which I don't want to do.
I'd like to pass it automatically to the concurrent program based and not input it.
Does anybody knows how to solve or is it possible witout extending controller and other stuffs..
I'm am missing something ?
Thanks for your help.

Wee too face similar issue.
Are you populating default falue for Report Number from Database sequence?
if yes you can handle this in 'XX_EXPENSE_REPORT' (in PLSQL or RDF based on your execution metohd).
another oprion is dont hide the parameter page, instead make the parameters read only using controller extension.
Regards,
Ram

Similar Messages

  • Tables and views relevant to concurrent program parameters

    I'd like to know all the tables and views relevant to concurrent program parameters.
    As far as I know, fnd_descr_flex_col_usage_vl, fnd_flex_value_sets, and fnd_parameters are such kind of tables or views. They can not provide enough information I want. As I guess that for some parameters, their values are queried from tables. Where can I find the information about how such parameters are queried?
    Thanks in advance!

    Hi,
    I'd like to know all the tables and views relevant to concurrent program parameters. See these tables:
    FND_CONCURRENT_QUEUE_PARAMS
    FND_RUN_REQUESTS
    FND_CONC_REQUEST_ARGUMENTS
    FND_CONCURRENT_REQUESTS
    FND_CONCURRENT_PROGRAMS
    More details about these tables can be found in eTRM website.
    eTRM
    https://etrm.oracle.com
    > They can not provide enough information I want. As I guess that for some parameters, their values are queried from tables. Where can I find the information about how such parameters are queried?
    What information you are looking for?
    You could get the query executed from the application by following the steps in (Note: 259722.1 - HOWTO Determine Table and Column Name from a field in a form in 11i) -- Query the concurrent program, then check the value of "SYSTEM.LAST_QUERY".
    Regards,
    Hussein

  • How to control range of dates in concurrent program parameters

    Hi,
    I have a requirement to show date fields in the concurrent program parameters and I also need a validation as follows:
    TO_date between from_Date and from_Date+30
    Can we achieve this ?
    Any pointers/he is highly helpful as this is quite urgent for us.
    Thanks in Advance.
    regards,
    Mukthi

    Please see if these links help.
    Enabling/disabling DATE parameters of a concurrent program
    http://chandramatta.blogspot.com/2009/11/enablingdisabling-date-parameters-of.html
    Enable/Disable Concurrent program parameter based on Other Parameter
    http://sureshvaishya.blogspot.com/2008/05/disable-concurrent-program-parameter.html
    Thanks,
    Hussein

  • Help required for Concurrent program parameters

    Hi All,
    I have a Concurrent program which has the following set of parameters.
    From Project Number
    To Project Number
    From Org
    To Org
    We dont want to make any of these mandatory, but we have a condition that either of the two sets must be entered i.e. before submitting we have to validate that either From Project Number/To Project Number parameter set is populated or From Org/To Org parameter set is populated.
    If someone could help me with this it would be a great help.
    Regards,
    Shruti

    Hi Shruti;
    What is your OS and EBS level?
    Please check below:
    Setup for Defined Concurrent Program with Parameters - SQL Script
    How to enable/disable parameters in concurrent program dependent prev. para
    Concurrent Program with conditionally required parameters
    Need to do validation while entering concurrent program parameters
    If those are not help,please try to look [this search|http://forums.oracle.com/forums/search.jspa?threadID=&q=Concurrent+program+parameters+&objID=f475&dateRange=all&userID=&numResults=15]
    Also check http://download-uk.oracle.com/docs/cd/A60725_05/html/comnls/us/fnd/progde04.htm and this
    Hope it helps
    Regard
    Helios

  • Concurrent programe parameters define ?

    Hello All
    i have created concurrent program parameters as below :
    Report to be automated from Oracle ERP system by a concurrent job on a 1st of each calendar month with date parameters of 15th to 31st of previous calendar month .
    concurrent job on a 15th of each calendar month with date parameters of 1st to 14th of current calendar month .
    i need to define like below :
    Parameter1 : 1-JAN-2013
    Parameter2: 15-JAN-2013
    FUNCTION from_date (from_start_date DATE)
    RETURN DATE IS
    day CHAR(2);
    date_suffix CHAR(18);
    BEGIN
    IF eff_start_date is null
    THEN
    RETURN(NULL);
    END IF;
    day := to_char(eff_start_date,'DD');
    date_suffix:= to_char(from_start_date,'-MON-YYYY');
    IF to_number(day) > 15
    THEN
    day := '16';
    ELSE
    day := '01';
    END IF;
    RETURN to_date(day||date_suffix,'DD-MON-YYYY');
    END get_from_date;
    By default i need to define like above parameters in concurrent program oracle apps.
    please help me on this and pls tell above function is correct  r not .
    thanks
    Edited by: 981527 on Feb 7, 2013 10:43 PM
    Edited by: 981527 on Feb 7, 2013 11:13 PM
    Edited by: 981527 on Feb 7, 2013 11:17 PM

    Hi,
    Please amke the second Value set as Table Validated value set, and use :$FLEX$.<Prior_Value_Set_Name>.OUTPUT = 'A', where :$FLEX$.<Prior_Value_Set_Name>.OUTPUT returns the value returned by the previous value set.
    Regards,
    Kiran

  • How to call a concurrent program from a Custom JSP page.

    Hi,
    I have a custom JSP page which i have deployed by creating a form function with the path of the JSP Page
    and added the JSP Page to the OA_HTML top.
    Now, i need to call a concurrent program from the JSP Page, i have all the parameters in my page and i am using the standard class as below:
    ConcurrentRequest cr= new ConcurrentRequest(con);
    int requestId= cr.submitRequest("XXINV",programName,null,null,false,vec);
    I have verified my connection object and it is OK but i am getting the exception that user is not set to run the program.
    I tried the below code in my JSP page and getting -1 for all test variables :-
    int userId = wctx.getUserId();
    int respApplId = wctx.getRespApplId();
    int respId = wctx.getRespId();
    I think i need to set the context in JSP page to run the program..
    Pls help ....
    Regards
    Saurabh Jaiswal

    Hi,
    Thanks for the reply,,,
    This is a possible solution but this will allow to run the program anyhow.
    But the procedure which i call thru callable statement will start with
    fnd_global.apps_initialize (3825, 50603, 704);
    fnd_request.submit_request API call.
    Now, the values of user and Responsibilty is required in the program and it changes.
    With this approach we have to hardcode the user and resp.
    The same JSP page is attached to other responsibilities and there the concurrent program would get fired as if fired from the resp Id hardcoded as above.
    Need to capture user Id and RespId.
    How can i set the apps Context in JSP page???
    Regards
    Saurabh Jaiswal

  • How Can I get Concurrent program parameters in the bursting output file????

    I have rtf template. I am passing parameter PC_REPORT_TYPE,pd_week_ending_date in my concurrent program. In rtf header I am passing this parameters as <?PC_REPORT_TYPE?> and <?param@begin:pd_week_ending_date?><?xdofx:to_char(to_date(replace(substr($pd_week_ending_date,1,10),’/’,’-‘),’YYYY-MM-DD’),’MM/DD/YY’)?> .
    I am getting the values in my report which is generated from this concurrent program. But I am not getting these values in my bursting output file which is generated from that previous concurrent program.
    Thanks in advance....

    The same exact video played back perfecly fine 2 weeks ago.  The same project too, with no changes at all.  I have a Nvida card too and have made no changes to that either.  Not sure everything worked a couple weeks ago.  Then every once in a while I started having issues, but I could just close and reopen the project and it would be OK.  Now, I can't get any vieo at all.  If I double click in the monitor box the frame I am on pops up but nothing plays, I just get one frame while audio plays with no issue.

  • How to submit a concurrent program from a custom form.

    I'm use Forms [32 Bit] Version 6.0.8.26.0 (Production) and Oracle Applications : 11.5.10.2.
    I need execute a concurrent program from a custom form.
    In the custom form I have a button and when that button is clicked I want to submit this cocurrent program. I am using the below code.
    fnd_profile.get('USER_ID', v_user_id);
    fnd_profile.get('RESP_ID', v_resp_id);
    fnd_profile.get('RESP_APPL_ID', v_resp_appl_id);
    fnd_global.apps_initialize(v_user_id,v_resp_id,v_resp_appl_id);
    vn_request_id := apps.fnd_request.submit_request (
    'XBOL',
    'CSUV_GL_STATEMENT_EXPORT'                                                            
    ,NULL
    ,NULL
    ,FALSE
    commit;
    But the concurrent program finished in error:
    "ORACLE error 6550 in FDPSTP
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    The SQL statement being execute"
    The executable of the concurrent program is the next:
    PACKAGE CSUV_GL_STATEMENT_EXPORT_PK
    IS
    PROCEDURE Main (
    pouc_errbuf OUT VARCHAR2,
    poun_retcode OUT NUMBER,
    pinc_OWNER in varchar2,
    pinc_VESSEL in varchar2,
    pind_GL_DATE in varchar2,
    pinc_STATE_NUM in varchar2,
    pind_STATE_DATE in varchar2,
    pinc_EXCEL_LAYOUT in varchar2
    END CSUV_GL_STATEMENT_EXPORT_PK;
    And de value set of the all my concurrent program parameters is "240 Characters".
    I dont't understand why the concurrent program finished wrong.

    Hi,
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignoredPlease refer to "Oracle Applications Developer's Guide" manual for the correct syntax and the number of arguments you need to pass to this API.
    Oracle Applications Developer's Guide
    http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115devg.pdf
    Thanks,
    Hussein

  • Restrict concurrent program w.r.t responsibility

    Hi,
    We have a concurrent program that is shown in 5 responsibilities with the same request group. Can we restrict that to be shown in ony one particular responsibility.
    Best Regards
    Arun Kumar S.R

    Arun
    You can explore the security rules. Concurrent program parameters can be secured by responsibility (like any other key or descriptive FF). So if you secure one parameter value (hope there are mandatory parameters) for the required resp, then the other resps cannot submit the program.
    Thanks
    Nagamohan

  • Register concurrent programs parameter customization.

    Is there a way to register customization of concurrent programs parameters (I need to make one of the parameters mandatory) like it is done with customized files in applcust.txt?

    Sorry about the late reply, but the issue with applcust.txt is that it only checks files updated by the patch. To provide an update to a concurrent program definition, Oracle includes an LDT file in the patch, but the name of the file doesn't have to relate to the concurrent program being updated. For example, the Purchasing concurrent program POXACREC is defined in the following files (look for the BEGIN PROGRAM "POXACREC" "PO" line in the ldt files in $PO_TOP/patch/115/import/US), shown in their applcust.txt format:
    po patch/115/import/US cst4946920_1.ldt
    po patch/115/import/US poprg.ldt
    po patch/115/import/US poxacrec.ldt
    Based on the name of the file and the concurrent program name, you would assume the last of these is the "correct" one, but all three could provide an update to the concurrent program definition. If you have multiple files defining your customised concurrent program, I would suggest you list all three in your applcust.txt. However, even if you list all three, there is nothing stopping Oracle from updating the POXACREC concurrent program with a file called abc123.ldt.
    To help with this, I would suggest for your concurrent program you also include the concurrent program executable itself in the applcust.txt file (po reports/US POXACREC.rdf in my example) as a change to parameters in an unexpected ldt file would require a change in the program as well.
    This basic problem can occur with any of data provided by LDT files or objects where the object name is not dependent on the file name - even views can be updated by odf files or sql files.
    theFurryOne

  • Pass input value to a concurrent program of type PL/SQL procedure

    Hi,
    I have created an executable program which is based on "PL/SQL Stored Procedure" method and created a concurrent program which calls this executable. It is available from SRS.
    The relevant stored procedure requires an input variable as parameter.
    How can I pass this parameter when calling the concurrent program from SRS? I tried to follow the same logic as when passing parameters while calling SRS based on "Oracle reports", so create a new parameter, but "token" field is disabled.
    Please help me which is the trick here.
    Thank you.

    Pl see these MOS Docs
    73492.1 - Creating a PL/SQL Concurrent Program in Oracle Applications
    1016543.102 - Custom Stored Procedure Run as Concurrent Request Fails w/ PLS-306 AND ORA-6550
    HTH
    Srini

  • How to pass IN parameter as BOOLEAN for concurrent program in Apps(Environ)

    hi all
    i am using a standard package procedure,where in which i need to pass some parameters to a procedure,
    some of the parameters there are BOOLEAN type ,can anybody help me to know , How to pass IN parameter as BOOLEAN for concurrent program in Apps(Environ)

    Already answered this on the SQL forum (How to give IN parameter as BOOLEAN in a concurrent program.

  • Parameter Passing from Concurrent Program to XML Data Template

    Hi All,
    I have a xml data template which is attached to a data definition. The data template contains a SQL query and some parameter definitions. One of the parameters is p_emp_id. The data type of the parameter is "number" and the where clause that uses the parameter is as follows:
    AND employee_id in (:p_emp_id,DECODE(:p_emp_id,126,130,-99).
    The data definition is attached to a concurrent program which has a parameter based on a valueset. Format type of valueset is char. Validation type is table. Inside the table definition, the table is employees. value column is emp_name type is char. meaning column is emp_name type is char. ID column is emp_id type is number.
    The above where clause condition fails when the conc program is run. In the log file I can see that the value passed is 126 from the valueset. If the query is run independently in TOAD and value passed is 126, the where clause returns rows.
    Kindly let me know what could be the possible issue. Let me know if the question is not clear enough.
    Thanks,
    Amit

    Hi Ashish,
    Thanks for replying.
    I mentioned that the Id column of the VSet is emp_id right ? Isn't the Id column value passed ?
    Moreover I also mentioned that I could see in the log file that the emp_id value is being passed and not the name. I could see in the log file p_emp_id=126. There seems to be some problem with the data types and all.
    Thanks,
    Amit

  • How to select multiple values from the Parameters in the concurrent program

    How to select multiple values from the Parameters defined in the concurrent program...and i believe multiple selection is not a direct feature of EBS, but is there any workaround solution to acheive mulitple selection?

    I think there's no way to do that using standard feature.
    Some workaround I use :
    1. If the number of selections are fixed, you could use multiple parameters for the same valueset. For example :
    Selection1 : <choose first selection>
    Selection2: <choose 2nd selection>
    ..etc.
    If you don't use it then leave it empty.
    2. Use text varchar valueset and enter it manually and separate by comma (or other value) , eg : selection1,selection2,selection3....etc.

  • Issue in passing inputs to concurrent program

    Hi all,
    I am using ECEPOO(out:purchase order ) to extract approved PO data.The concurrent program asks for output file path as one of its inputs.
    When I pass the file path to it ,the concurrent program fails saying *'INVALID_DIRECTORY_PATH'*.
    I dont know what is the right file path format to be passed.I need to know what is the format for the file path.
    Help me with your suggestions and example formats.
    Thanks n regards,
    Goutham R

    you can find the path by looking for any previous concurrent program which ran successfully.
    one way of doing that is from the Submit Request window , set the days to 500 say and serach for all request with same request name.
    Now select any of the request whhich has completed successfuly and from details get the parameter passed to that query.
    Other way is
    select fcpt.concurrent_program_id conc_prog_id
    from apps.fnd_concurrent_programs_tl fcpt
    where user_concurrent_program_name = <Conc prog Name>;
    Now from above query use the concurrent_program_id in below query :
    select fcr.*
    from apps.fnd_common_requests fcr
    where fcr.concurren_program_id = conc_prog_id

Maybe you are looking for

  • Restrict PO goods receipt based on PO due date

    Folks, Is there a way to restrict the processing of a PO goods receipt with tnx MIGO if the PO due date is too far in the future. Basically,I want to stop goods receipts when the physical delivery much earlier than the PO due date. Thanks, Greg Russe

  • How can I set up a separate Apple account from my husband

    MMy husband and I set up a joint Apple account years ago. Can he keep that account in tact and can I create a separate one? If so how do I do that?

  • Brown tint to B&W photos with HP printer

    I have Aperture 3.1 and have the printer proofing set up with my HP C6180 printer. The problem is that I scan a B&W photo and it shows up in the preview with a brown tint and prints that way (colors match ok), but the thumbnail in the bottom has a tr

  • ITEM TEXT

    Dear All I did configuration of Item text for mantaining packaging information at contract for line item wise. and at VOTXN-  Text is obligatory and is displayed when transfering. I m copying from Contract to Scheduling Agreement OR Sales Order. This

  • Price control

    Hi All, I am new to SAP MM, What is the main difference between standard price and moving average price, And While I am creating the Material  (Material Type is Drinks) it will take Moving Average Price(V) Only, We cant able to change this, Why? Than