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

Similar Messages

  • How to validate concurrent program parameter and display a custom message?

    Hi Friends,
    I have a concurrent program which has two non-mandatory parameters.
    The requirement is that user should provide value for any one of the parameters.
    If user does not enter value for both the parameters, i need to display a custom error message.
    Parameter1 has an independent value set.
    Parameter2 has character value set with validation type as special.
    Process i tried so far:
    In the value set for the second parameter, under the Validate event, i have written the following code:
    FND PLSQL "declare
    l_paramb VARCHAR2(20) := :!VALUE;
    l_parama VARCHAR2(20) := :$FLEX$.MOT_CUSTMSGTST_A;
    BEGIN
    IF 1 = 1  THEN
    fnd_message.set_name('FND','FND_GENERIC_MESSAGE');
    fnd_message.set_token('MESSAGE','Please enter any of the ip1 or ip2');
    fnd_message.raise_error;
    END IF;
    END;" I am not using those variables that are defined for the time being.
    Now since the condition 1=1 is always satisfied, i should always receive the error message.
    I am not receving any error message and i can go ahead and submit the program..
    Please advise on where am i going wrong.
    Reports Version - 6i
    Oracle Apps Version - 11.5.10.2
    Regards,
    Sreekanth Munagala

    Hi srrekanth,,
    I've similar issue , I need to display custom message for concurrent program parameter.Need to validate the parameter & display custom message .
    Can you pl provide solution.

  • Receipt Register concurrent program (Spawned program)

    Hi Experts,
    APPS Version : 11.5.10, OS: Linux
    I have to add one column (Sales Rep Name) in Receipt Register concurrent program which is a Spawned program. Below packages are called by this report, could you please let me know in which package/rdf i can able to add the column.
    ARRX_C_RC.RECEIPT_REGISTER
    arrx_rc.arrc_rep
    fa_rx_util_pkg.run_report
    Thanks,
    JP

    Hi Pedro,
    Unfortunately, to the best of my knowledge, you can't add fields to the available field list in RX reports without trying to meddle with the supplied packages. Believe me when I say that I wish you could! If the field you want is not available, a custom report is your best option. I've done that with the Receipt register and one of the aging reports.
    Are you using Oracle Sales? There might be a compatible report available there that you could look at. I don't know anything about Sales so can't help there.
    Good luck,
    - James

  • Using concurrent program parameter in bursting

    Hi there,
    I am passing a concurrent program parameter into my rtf using the ?param@begin method & displaying it on the XMLP PDF output.
    However when I am sending that PDF via bursting the param data does not show, even though it's present when viewing the PDF output via the concurrent request.
    Does that mean I cannot do that and need to define the parameter as part of the Oracle report first?
    cheers.

    please check xml user guide

  • Help needed in setting Default Value of Concurrent program parameter

    Hi All,
    I have 3 parameters in a concurrent program
    Org ID From
    Org ID To
    Currency Code
    In the Currency Code parameter I want to use the following query in the Default Value
    SELECT currency_code
    FROM gl_sets_of_books sob, org_organization_definitions ood
    WHERE ood.organization_id = :p_org_id_from
    AND sob.set_of_books_id = ood.set_of_books_id
    Now, at runtime this gives me an error of p_org_id.
    Can anyone please advice me how can I use this parameter(p_org_id_from) in the above query.
    Any help will be really appreciated.
    Regards,
    Shruti

    Hi Helios,
    Thaks a lot for the help.
    I modified the query as follows:
    SELECT currency_code
    FROM gl_sets_of_books sob, org_organization_definitions ood
    WHERE ood.organization_id = :$FLEX$.ORG_INTRANSIT
    AND sob.set_of_books_id = ood.set_of_books_id
    Here ORG_INTRANSIT is the valueset I am using in From Org ID and To Org ID.
    Now the problem which I face is that when I use ORG_INTRANSIT valueset in both From Org as well as TO Org then the Currency is not defaulted, but if I use it in either From Org or To Org then the Currency is defaulted.
    How can I resolve this. Please help.
    Regards,
    Shruti

  • Date lov in the concurrent program parameter field

    Hi,
    I have a date parameter in the concurrent program. I need to have a date calendar for the parameter, can I have the data calendar? I am not sure if we can do that.
    Can anybody throw some light on this.
    Thanks a million
    Regards
    Ruma

    Hi swati
    u cannt create a multi select LOV for Apps concurrent program.
    Some of the options:
    -> Create different parameters. Also u cannt create parameters dynamically depending upon the number of options u want to give for that parameter, better fix the maximum no. of options say 5 .. ORG1, ORG2, ORG3, ORG4, ORG5
    -> If multi select LOV are of high priority, go for Discoverer if it is a Report.
    cheers
    chakoo

  • Issue in concurrent program parameter.

    Hello
    I have one request set which has 2 concurrent programs. All the parameters of first programs are shared by 2nd program.
    In first program there is one parameter p_load_seq where I am using default type=
    "SQL Statement" and default value "select per_hr_br_outbound_seq.nextval from dual' .
    If we submit this program/req set manually then it is taking the nextvalue correctly but If we schedule this job or copy this job/program it is not taking next value of the sequence.
    Please let us know what is to be done to get the next value even if we schedule or copy this job.
    Thanks
    Ganesh Mane

    This seem to be due to the fact that when You copy, previous execution parameter values are inherited, not defaulted again, and for scheduling, the values are derived when You secify parameter values and then they are carried to the next scheduled execution.
    The only ways to circunvent this may be to obtain the sequence in concurrent program itself, and if that is not possible because of a standard program, You may code a launcher that calls the request set, so everytime it fetches the new sequence value.

  • Fnd_Standard_Date in concurrent program parameter

    Hi All,
    I hv a Pl/Sql concurrent program which has to accept date parameter in format 'DD-MON-YYYY'. I am using the value set, FND_STANDARD_DATE. But after passing parameter, it gets converted to 'dd/mon/yyyy hh:mi:ss', due to this the program is erroring out with the msg "ORA-01861: literal does not match format string".
    Pls suggest a workaround.
    regards
    Suresh

    Hi ,
    in the PL/SQL do format mask for variable of date type to the exsting format of
    FND_Standard_Date value set.
    try with this.
    --Basava.S                                                                                                                                                                                                                                                                                                       

  • Registering Concurrent program

    i wud like to regiter a concurrent program with an API.Can anyone tel me the steps and procedure to do that

    You can use the FND_PROGRAM PL/SQL package to create Concurrent Executables, Programs, Parameters etc. Using this, you can write an SQL script to register your concurrent program. This works well for the initial creation of concurrent programs, but not for maintenance of existing ones. Also, it is up to you to manage the dependencies - ie make sure that you also create the required value sets, etc. As an alternative, I would suggest using the FNDLOAD utility, which does a lot of this dependency checking for you and puts all of the required setup in the one file. See the other recent threads, such as transfering a concurrent program from one DB to another DB

  • Making Concurrent Program Parameter manadatory during runtime

    Hi
    For AR Invoice Print Reprot we want to make Customer number parameter mandatory based onsome responsiibilities used to submit this report
    for other responsibilities mandatory option is not required. Would like to know if there is possible solution for this
    Thanks
    Kamalakar

    You can try the following.
    Add a new hidden parameter. The default for the parameter should be set to the responsibility_id.
    And then in the customer number parameter's value set, you should say use the hidden parameter.
    See How to make 2nd Param requried , when First Param is set to Y? for a similar example.
    Hope this helps
    Sandeep Gandhi
    Independent Techno-functional Consultant

  • How to make Concurrent program parameter should not dependent on previous parameter if it is blank else it should be dependent.

    Hi,
    Lets say, we have three parameters A, B and C. B is dependent on A, C is dependent on A and B. If A value is entered, then we can list only the values of B which are related to A. If User is not entered A value then how can we list all values available in B? In the sameway for C also ( If A and B values not entered then it should allow to select a value from all available values in C)?
    I don't want to put default "ALL" value and then use this in other value sets to get all values. Is there any other way using some dummy parameters? I searched in threads but couldn't find relevant.
    Thanks,
    Venkat.

    Hi,
    Lets say, we have three parameters A, B and C. B is dependent on A, C is dependent on A and B. If A value is entered, then we can list only the values of B which are related to A. If User is not entered A value then how can we list all values available in B? In the sameway for C also ( If A and B values not entered then it should allow to select a value from all available values in C)?
    I don't want to put default "ALL" value and then use this in other value sets to get all values. Is there any other way using some dummy parameters? I searched in threads but couldn't find relevant.
    Thanks,
    Venkat.

  • In R12 Invoice Register Concurrent Request running long time

    Hi
    In R12, Invoice Register Concurrent Program Running more than 30 mins , before its use to finish with in 10 mins, any suggestions.
    Thanks

    I don't wanna hear sorry from gurus,Thanks. By the way, I do not consider myself a guru, just a simple guy who is still learning new things everyday and at the same time like to share what he knows :)
    Sawwan, I checekd locks there iare no locksWell, in this case I would suggest you wait for the request to complete. Once it is done, bounce the application as well as the database and run the request again (if possible) after enabling trace and see if takes that long to complete.
    If the request keeps running (i.e. does not seem to complete), then cancel the request, kill all associated process from the backend, and follow the action plan above (bounce, and enable trace).

  • Generation .class file  for Java Concurrent Program

    Hi
    Below if my sample java concurrent program code and registered concurrent program
    package oracle.apps.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, "");
    Created a sample directory under $JAVA_TOP: $ mkdir $JAVA_TOPoracle/apps/fnd/cp/sample
    Copied Hello.java into $JAVA_TOP/oracle/apps/fnd/cp/sample and ran below command to compile
    $ cp $HOME/Hello.java $JAVA_TOP/oracle/apps/fnd/cp/sample
    But getting error
    javac: file not found: /oracle/apps/fnd/cp/sample
    Usage: javac <options> <source files>
    use -help for a list of possible options
    Please suggest what was issue and is there any option to generate class file in J developer in local (Windows) instead of doing on application server if yes what are steps to be followed to generate class in windows
    Thanks
    Arjun

    Please post the details of the application release, database version and OS.
    But getting error
    javac: file not found: /oracle/apps/fnd/cp/sample
    Usage: javac <options> <source files>
    use -help for a list of possible optionsHow do you get this error?
    Thanks,
    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

  • How to implement node affinity for java type concurrent programs.

    How to run a concurrent program against a specific RAC instance with PCP/RAC setup? (Doc ID 1129203.1)
    This works for non java registered concurrent programs but not java registered with use the DBC file
    EBS RAC environment with two RAC nodes. We would like to implement node affinity to allow concurrent programs to be directed to a single RAC instance. Oracle have provided the NODE AFFINITY ability via the concurrent program definition in Session Control. This then uses the entry in the 10.1.2 tnsnames.ora to pass the request directly through to the instance as defined by Node Affinity.
    However, concurrent programs defined as type java do not access the database by the 10.1.2 tnsnames.ora but use the dbc file under $FND_SECURE. This file is configured for both self service and concurrent processing so any change to the dbc file entry will affect both self service and concurrent processing.
    How to we implement a node affinity solution for concurrent programs without affecting Self Service conncetions? We'd like the dbc file to directly connect java concurrernt programs through to one instance but the self service connections to use the SERVICE name only.
    Regards.
    philippe.

    Did you think about Online/Batch node concept ? By that way you can seggrecate application connection.

Maybe you are looking for

  • Reading Data into a PDF form with cfpdfform and cfpdfformparam

    I have been trying to read data from a query into a PDF form. I have the application setup to generate a new pdf file for every record in the database table which is working perfectly, but when I try to have the application pre-populate the form fiel

  • Leave Request SENT but does not show in Worklist (duplicate PTREQ_ACTOR)

    I have a wierd issue in our ESS Leave System.  We are on ECC 6.0 with EP 7.0.  We are using the iView for leave approval and not workflow/UWL. The leave system is working great for all users except for one.  The situation is there is one employee in

  • Ipod white screen & won't work

    My iPod doesn't work. it used to have a black screen with a white light on the screen but now it is just all white. I can't play music or anything. I already resorted but it didn't work. Please help I barely bought it on Christmas.

  • Restoring time machine on a different mac

    I'm trying to help a friend. Hi macbookpro died. He can't afford a new one right now, but has an old g4 cube. So now he wants to move the data from the dead laptop to the old g4. Fortunately he ran Time Machine backups to an external firewire drive.

  • How to load objects in web application context during oc4j startup?

    Hi How I can put some objects in application context during oc4j application startup? I'm using oracle as10g j2ee and web cache edition. Thanks