FNDLOAD fail update parameter's value set in concurrent program

I am try to update 1 parameter's value set from one enviorment to other using the following script but that parameter is still using old value set:
FNDLOAD apps1/xxx 0 Y DOWNLOAD $FND_TOP/patch/115/import/xx_afcpprog.lct XXPN_PTLAIO.ldt PROGRAM APPLICATION_SHORT_NAME="XXPN" CONCURRENT_PROGRAM_NAME="XXPN_PTLAIO"
FNDLOAD apps2/xxx 0 Y UPLOAD $FND_TOP/patch/115/import/xx_afcpprog.lct XXPN_PTOLAO.ldt
Is there a situation parameter cannot be updated?
Or should i use afffload.lct to load?
My machine version:
RDBMS : 11.1.0.7.0
Oracle Applications : 12.1.3
Edited by: 901005 on Apr 19, 2012 3:37 AM
Edited by: 901005 on Apr 19, 2012 3:43 AM

compare date and author of paramaters and value sets
if date of parameter (or valueset) in ldt earlier than date of parameter (or valueset) in system than no update
you can try to use CUSTOM_MODE=FORCE

Similar Messages

  • How to create a value sets for concurrent program?

    Hi Friends,
    I am creating a concurrent program with a parameter period...
    In the value set for the parameter period, I am using the following query :
    ---where application_id = 101
    and set_of_books_id = :$PROFILES$.gl_set_of_bks_id
    and closing_status IN ( 'O', 'F', 'C')
    order by period_year, period_num' ----
    In my cursor, i have a condition 'where set_of_books_id = ' ---
    How can I pass the above set of books id into the cursor ?? it is not working when I am defining another parameter as Book and passing that value to the cursor....
    I need that period parameter to return all the periods for the set of books where we are running the concurrent request from...I also need to get the set of books id for my cursor...
    Hope I am making sense...All that I am trying is to have period parameter and also a SOB id in cursor condition...
    Rgds,

    Hi Vamsi /Nitin,
    Let me explain the whole thing now.....
    My plsql procedure is ......
    CREATE OR REPLACE procedure GL_INT(
         perrbuff     out varchar2,
         pretcode     out varchar2,
    pbook          in varchar2,
    pperiod          in varchar2
         ) is
    cursor cur1 (p_sdate in date, p_edate in date )is
    select distinct group_id groupid,
    user_je_source_name source
    from gl_interface
         where accounting_date >= p_sdate
    and accounting_date <= p_edate
    and set_of_books_id = pbook;
    cursor cur2 is
    select distinct start_date sdate,
         end_date edate, period_name period
    from gl_period_statuses
    where      period_name = pperiod
         and set_of_books_id = pbook
         and application_id = 101;
    i               cur1%rowtype;
    j               cur2%rowtype;
    begin
    open cur2;
                   fnd_file.put_line(fnd_file.output,'PERIOD'||'----'||'GROUPID'||
                                       '----'|| 'SOURCE');
              loop
                   fetch cur2 into J;
    exit when cur2%notfound;
                   open cur1(J.sdate,J.edate);
                   loop
              fetch cur1 into I;
                        exit when cur1%notfound;
              fnd_file.put_line(fnd_file.output, J.period||'----'||I.groupid||'----'||
                                  I.source);
                   end loop;
              end loop;
         Close cur1;
    close cur2;
    Exception when others then dbms_output.put_line(SQLERRM);     
    end;
    ==================================================================================================
    For SOB value set, I have passed the default value as vamsi suggested ($profiles$.gl_set_of_bks_id)....
    For period value set, I have entered query as ..where application_id = 101
    and set_of_books_id = :$PROFILES$.gl_set_of_bks_id
    and closing_status IN ( 'O', 'F', 'C')
    order by period_year, period_num...................
    It still doesn't work....I don't know how to derive those Periods based on the SOBs and at the same time pass SOB id into the cursors...
    Please help...
    Rgds,
    Murali

  • Setting profile option values using Java Concurrent Program

    Hi,
    I have a java concurrent program in which i am trying to update a profile option which is enabled only at site level, but the values are not getting committed once the CP completes.
    1. I am using CpContext.getProfileStore().SetProfile(<name>,<value>) to set the value.
    2. I am printing CpContext.getProfileStore().getProfile(<name>) in the same run and this works.
    3. BUt once the CP completes, the values are gone. Seems we have to issue a commit.
    3. So i used CpContext.getJDBCConnection().commit; Even this doesn't commit.
    Pls. suggest. Has anyone used these APIs to update profile options?
    Thanks,
    Suresh.

    I am not not a java expert, but pl see if MOS Docs 305710.1 (A SAMPLE JAVA CONCURRENT PROGRAM) and 827563.1 (How To Create a Java Concurrent Program?) can help
    HTH
    Srini

  • 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

  • Update Supplier / Vendor name using InterfaceTables / Concurrent programs

    Hi there,
    Is there a way to update the suppliers or vendor Name?
    I am using interface tables with concurrent programs to import data in EBS.
    Can I update data using the same procedure? i.e by using Interface Tables and Concurrent program? what happens if one of the supplier changed it's name? What do I need to call for the update?
    Thanks for any help
    Regards,
    Stefan

    Duplicate thread? -- Re: Interface tables and cocurrent programes : updating vendor

  • Table Value Set.

    Hi All,
    1)
    I created a Table type value set for concurrent program.
    and i want a add one more value to value set, for that im using union clause in Where/order by Field..
    ex code:
    Where/order by:
    where 1=1
    union
    select 'ALL' name from per_all_positions;
    here name is alias. In lov it is not showing any value.
    2) For this i created a custom view .
    ex code:
    create or replace view XXCS_POPUP_VAL_V as
    (select 'ALL' fsm from per_all_positions
    union
    select name fsm from per_all_positions)
    order by fsm
    I created value set based on custom view , but it is not showing 'ALL' in LOV.
    I want include 'ALL' value in LOV.
    How can i achieve this..
    Thanx in advance..

    I'm not sure how come first one with union in where clause is working for you.
    Check the link ORA-00907 Missing Right Parenthesis in Value Set
    Also I'm not sure why you want to select entire table just to add 'ALL'.
    Try the followingCREATE OR REPLACE VIEW xxcs_popup_val_v AS
    SELECT 'ALL' fsm FROM dual
    UNION
    SELECT name fsm FROM per_all_positions;No need of order by when you are using union, as you want to order on first column.
    What is the ID and value column you have selected in the Value Set?
    By
    Vamsi

  • How can i update the registry values...????

    Dear Sir,
    Can any JGuru tell me how can I update registry key value using my Java program?

    You may try to use Runtime.getRuntime().exec( ...) to execute Window API.

  • 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 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.

  • 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

  • FndLoad updates wrong value set values

    Hello.
    When uploading value set values, fndload updates both US and N language value descriptions. Supposed is to update only N language values.
    Step by step what I have done.
    *1. Set NLS_LANG environment variable*
    export NLS_LANG=NORWEGIAN_NORWAY.WE8MSWIN1252
    *2. Downloaded value set*
    $ FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct KONTO.ldt VALUE_SET FLEX_VALUE_SET_NAME="KONTO"
    *3. Change environment*
    *4. Set NLS_LANG environment variable*
    export NLS_LANG=NORWEGIAN_NORWAY.WE8MSWIN1252
    *5. Uploaded value set*
    $ FNDLOAD apps/apps O Y UPLOAD $FND_TOP/patch/115/import/afffload.lct KONTO.ldt
    I have investigated that its happening because of the update statement which is called by the fndload control file. Procedure fnd_flex_values_pkg.load_row line 708:
    update FND_FLEX_VALUES_TL set
    FLEX_VALUE_MEANING = X_FLEX_VALUE_MEANING,
    DESCRIPTION = X_DESCRIPTION,
    LAST_UPDATE_DATE = X_LAST_UPDATE_DATE,
    LAST_UPDATED_BY = X_LAST_UPDATED_BY,
    LAST_UPDATE_LOGIN = X_LAST_UPDATE_LOGIN,
    SOURCE_LANG = userenv('LANG')
    where FLEX_VALUE_ID = X_FLEX_VALUE_ID
    and userenv('LANG') in (LANGUAGE, SOURCE_LANG);
    Problem is with this statement and userenv('LANG') in (LANGUAGE, SOURCE_LANG);, because there is included SOURCE_LANG which not always is the same as LANGUAGE. Therefore the update statement updates also US language values which source language is N
    Any suggestions how to override this problem?
    Thanks in advance!
    Aldis

    Hi Hussein,
    Thanks for the tip, but it is the same if I set the NLS_LANG environment variable *"export NLS_LANG=NORWEGIAN_NORWAY.WE8MSWIN1252"* before upload.
    I will try a workaround. Update the source_lang so it is the same as language and then upload with fndload.
    Aldis
    Edited by: user1579859 on 2010.8.3 00:49

  • Update fails when select list value isn't changed

    Hi Folks,
    I am using htmldb_item to create a report form that is updateable. There is a checkbox in the first column and I am using a technique discussed in the forum to make sure I am getting the values from the checked rows in order to perform the updates.
    However, I have noticed that if I do not change the selection in the select list, and check the "update row" checkbox, I get a "ORA-01722: invalid number" error.
    I'll provide both the select and update statements and would appreciate it if someone could help me discern a solution.
    == SELECT STATEMENT ==
    select
    htmldb_item.checkbox(1,rownum),
    htmldb_item.hidden (2, p.id) ||
    htmldb_item.text(3,p.project_name, 40) as project_name,
    htmldb_item.select_list(4, p.gts_dependant, 'Y;Y,N;N', null, 'NO')as GTS_Dependant,
    htmldb_item.select_list(5, p.gxp_relevant, 'Y;Y,N;N', null, 'NO') as GxP_Relevant,
    htmldb_item.select_list_from_lov(6, u.user_first_name||' '||u.user_last_name,
    'PROJECT_MANAGERS', NULL, 'NO') as project_manager
    from
    eprs_project p, eprs_project_monthly pm, eprs_user u
    where
    p.id = pm.project_id and
    pm.project_manager = u.id and
    to_char(record_date, 'MON YYYY') = to_char(sysdate, 'MON YYYY') and
    p.program_id = :P8_SELECT_PROGRAM== SUBMIT STATEMENT ==
    for i in 1..HTMLDB_APPLICATION.G_F01.COUNT
    loop
    update eprs_project set
    project_name = HTMLDB_APPLICATION.G_F03(HTMLDB_APPLICATION.G_F01(i)),
    gts_dependant = HTMLDB_APPLICATION.G_F04(HTMLDB_APPLICATION.G_F01(i)),
    gxp_relevant = HTMLDB_APPLICATION.G_F05(HTMLDB_APPLICATION.G_F01(i))
    where id = HTMLDB_APPLICATION.G_F02(HTMLDB_APPLICATION.G_F01(i));
    update eprs_project_monthly set
    project_manager = HTMLDB_APPLICATION.G_F06(HTMLDB_APPLICATION.G_F01(i))
    where project_id = HTMLDB_APPLICATION.G_F02(HTMLDB_APPLICATION.G_F01(i)) and
    to_char(record_date, 'MON YYYY') = to_char(SYSDATE, 'MON YYYY');
    end loop;
    Analysis
    I've narrowed the behavior down to the Select List. The "u.user_first_name||' '||u.user_last_name" assembles the first name and last name from the user table, but must not have a value associated with it, as the rest of the names do (because they come from the application LOV "PROJECT_MANAGERS." Therefore, when the user checks the "Update Row" checkbox (rownum), there is no value associated with the selection. This would explain the invalid number error message.
    If this is correct, then I am not understanding the SELECT_LIST_FROM_LOV function sufficiently. The documentation says about the p_value parameter: "This value should be a value in the p_list_values parameter." This is a small cut and paste typo because there is no p_list_values parameter, but rather a p_lov parameter. Anyway, the p_value is the default displayed value, which ideally would be one of the items from the p_lov list. It is, but not really. By that I mean, the current value is a valid name but isn't from the application LOV, per se. Therefore, I had proceeded merrily on my way believing I had fulfilled the API requirements because I had provided a "current value" and an application LOV.
    The example in the user guide provides only a column name for the p_value parameter, so I don't understand how I would associate a value with the display item (from the p_value parameter) to prevent the error message from being generated. Is there a best practice for this?
    Any guidance would be most gratefully appreciated.
    Yours,
    Petie

    Hi. I've tried a few things to get a value into the p_value parameter.
    Attempt 1:
    u.user_first_name||' '||u.user_last_name;u.idAttempt 2:
    'u.user_first_name||'' ''||u.user_last_name;u.id'Unfortunately, neither of these was successful. The first one wasn't valid syntax and the second was reproduced as a string literal.
    Have I stumped everyone? Or am I just missing something really obvious? Any thoughts? Any workarounds? Should I create an intermediate view with the first and last names already concatanated? That wouldn't put the ID into the p_value parameter. The examples in the Users Guide don't address the value part of the "Display/Value" pairing in the Select List. They provide either a static display or a single column.
    Right now, I have to put something like the following into the users manual:
    "When updating core project data, you must re-select the first occurance of the project managers name from the select list. If you do not re-select the project manager name, you will receive an error when you Submit the data for update."
    IMHO, this is pretty lame. Don't you agree?
    Thanks for reading and any thought you can offer.
    Petie

  • How to Change Value set Dynamically for a Parameter in Apps?

    Hi All,
    I have a requirement where i need to change the value set dynamically for a given Parameter. This goes as, I have a Concurrent Program with 4 parameters. First Parameter is mandatory Business group.Second Parameter is Warehouse. Based up on the First parameter the second parameters LoV's are displayed, the third and fourth parameters value sets are dependent up on the Second parameter value. Parameter 2,3,4 Value sets are Table type. So i Used .$FLEX$.Value_setname to retrive the LOV's
    The Requirment now is that if the User doesn't enter the Parameter 2 than the Third Parameter field must be Open and he must be able to enter the Free text. In my case it is an Order Number. If the User enters the paramter 2 value than LOV's for ORder number pertaining to that Warehouse must get displayed. I've figured that this can be possible only if i change the Valuesets Dyanamically. I'm not sure if that is possible or not.
    I have tried :
    Using a Dummy Parameter with a new valueset(Transactable Independent) and giving Y and N based up on Warehouse parameter input.
    SELECT (DECODE ( :$FLEX$.WAREHOUSE_NAMES,NULL,'Y','N')) from dual;
    The default type was SQL.
    Then in the 3rd Parameter i have used Case function to differentiate Y or N. The third parameter being ORder number, is a table type and derived from Oe_order_headers_all.
    In the Query section i tried using dummy parameter value set to retreive the values. I was terribly Unsuccessful in doing so.
    Does the above Case exists or is Doable? Please, Help me out if somone had worked on Similar thing or have any idea of standard report/program using it in Oracle.
    Thanks alot for the Help!

    You will probably have better luck on the eBusinesSuite forum. This is more of a setup issue when defining your LOV and program parameters than it is a SQL or PL/SQL issue.
    http://forums.oracle.com/forums/category.jspa?categoryID=3
    Good luck - this is an aggravating issue to work with and I wish I did have the answer for you!

  • Update values set values

    Dear Users,
    I am facing one issue in HRMS:
    i have a list of jobs defined in a translated value set.
    whenever i am updating one value in the value set  the changes are not affecting the job list.
    Please advice.
    Thanks

    Hi Wmaarbani,
    What is the validation type on your value_set. Is it translatable Dependent ?
    You can search for the values from -
    Navigate to Application Developer --> Flexfield --> Key --> Values
    On this form, you will see a small Globe on the menu bar.. make sure all the translatable values are updated.
    Cheers,
    Vignesh

  • I just updated my iphone to ios7 and I keep getting stuck at the 'Set up your iPhone' screen. I click 'Restore from Itunes Backup', but it only ends up restarting after restoring and fails to get past the 'Set up your iPhone' screen. Any ideas?

    I just updated my iphone to ios7 and I keep getting stuck at the 'Set up your iPhone' screen. I click 'Restore from Itunes Backup', but it only ends up restarting after restoring and fails to get past the 'Set up your iPhone' screen. Any ideas?

    Normally, I would suggest restoring the iPad and uninstall and reinstall iTunes but you have done both of those things - more times than you ever imagined!
    Have you thought about turning auto syncing off?
    Without connecting your iPad to your laptop, start iTunes. Click on Edit. Click on Preferences. Click on Devices. Check the box next to "Prevent your iPod etc. from automatically syncing." Click OK.
    If you do this you can backup the iPad right away before it syncs. You may want to go into all of the iTunes tabs and just make sure that all of the current content on the iPad is selected to sync before you actually do sync.
    This doesn't solve the problem, but it would prevent the automatic sync and erasing content. Hopefully, in the next few days- when iOS 5 is released - you will also be relieved of this weird iPad behavior - since the iOS devices are supposed to become PC free.
    BTW - and this is no excuse for what you are experiencing, but I have found that some of the game apps that I had on my iPad turned out to be quite troublesome and after I removed them, my problems went away. I know that is almost sacrilege with regard to the Angry Birds addiction .... But I'm just saying ...

Maybe you are looking for