API for inserting/updating system profile option values
Hi,
Is there any API that I can use to insert/update system profile option values via PL/SQL?
Regards,
Santhosh Jose
Hi Santosh,
You can think of using the FNDLOAD utility to download the values from one instance and upload to other instance.
## Now lets have a look at the profile option using oracle's FNDLOAD
FNDLOAD apps/$CLIENT_APPS_PWD O Y DOWNLOAD $FND_TOP/patch/115/import/afscprof.lct POR_ENABLE_REQ_HEADER_CUST.ldt PROFILE PROFILE_NAME="POR_ENABLE_REQ_HEADER_CUST" APPLICATION_SHORT_NAME="ICX"
## Note that
## POR_ENABLE_REQ_HEADER_CUST is the short name of profile option
## We aren't passing the user profile option name in this case. Validate using ...
########----->select application_id, PROFILE_OPTION_NAME || '==>' || profile_option_id || '==>' ||
########----->USER_PROFILE_OPTION_NAME
########----->from FND_PROFILE_OPTIONS_VL
########----->where PROFILE_OPTION_NAME like '%' || upper('&profile_option_name') || '%'
########----->order by PROFILE_OPTION_NAME
########----->/
## Now to upload
FNDLOAD apps/$CLIENT_APPS_PWD O Y UPLOAD $FND_TOP/patch/115/import/afscprof.lct POR_ENABLE_REQ_HEADER_CUST.ldt
For other config components download and upload you can refer the link- http://www.apps2fusion.com/apps/scripts/19-oracle-fndload-script-examples
Thanks,
Sanjay
Similar Messages
-
Unable to set/update custom profile option value in R12.1.3
Hi All,
I have defined a custom profile. After querying the custom profile and I select a value from the resulting LOV(popup).
Whenever I am trying to save the changes the LOV again pops up for selecting the value.Hi,
I think this is the wrong forum for this question. This forum is for questions about Oracle Enterprise Data Quality.
Regards,
Mike -
System Profile option setup for Large no. of Responsibility
Hi Folks,
Please let me know "how to setup system profile option for large no. of responsibility?" Since we have 200+ Custom responsibilities and finding difficult to set profile option manually. Please provide alternative solution for this.
ThanksUse the FND_PROFILE API - see MOS Doc 943710.1
-
Db adaptor for insert- SQLException: [SQL0803] Duplicate key value specified
While invoking db adaptor for insert on table 1 selecting values form another table, i am gtting error ; before3 insert i am updating table 2nd using db adaptor
QUERY insert into CRPDTA.F5504579 (SELECT * FROM CRPDTA.F5504571 WHERE PAHDC=#v_updatedRecord_HDC)
Error :
Non Recoverable System Fault :
<bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert_Ledger_F5504579' failed due to: Pure SQL Exception. Pure SQL Execute of insert into CRPDTA.F5504579 (SELECT * FROM CRPDTA.F5504571 WHERE PAHDC=?) failed. Caused by java.sql.SQLException: [SQL0803] Duplicate key value specified.. The Pure SQL option is for border use cases only and provides simple yet minimal functionality. Possibly try the "Perform an operation on a table" option instead. This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "--803" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary></part><part name="detail"><detail>[SQL0803] Duplicate key value specified.</detail></part><part name="code"><code>-803</code></part></bindingFault></bpelFault>
Please suggest....Easter1976 wrote:
Hi please can you help me. I think I am having problems with tranactions. I am deleting from a table and then inserting in the same table with the same key that I have just deleted. Simple then - don't do that. It suggests a flaw in the design. Either use a new key or do an update.
Note that you would get a duplicate key error if the table is set up such that it doesn't
actually delete but doesn't something such as creating a log entry with a delete flag set. -
Not able to get the profile option value
Hi,
Not able to get the profile option value after i changed the new value in the application.
I am using fnd_global.apps_initialize to initialize the apps from PLSQL code to get the updated profile option value. But fnd_profile.value is not getting fetched the updated value. Still it is fetching the old one. I mean it is stored in database cache. Please any one let me know how to get the new value every time after i changed the value.
ThanksWhat is the application release?
Is this a custom or seeded profile option?
Can you confirm that the value got changed from the application (query the profile option and verify the value)?
Can you reproduce the issue if you use an API to update this profile option as per (How to Change Profile Option Value Without Forms? [ID 943710.1])?
Thanks,
Hussein -
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 -
Setting System Profile Options
Hi All,
I need to create a new system profile option in order to set a path for uploading files in Unix server. I know to create profile option thru Apps Developer resp but we dont have that resp , we only have Apps Admin resp. How its is possible to set profile option from Apps Admin. I tried many ways but no luck!
Thanks
NarainHi Narain;
Please check:
Note: 470102.1 - How To Check If a Profile Option Is Set In Oracle Application
Note: 201945.1 - How to list E-Business Suite Profile Option values for all levels using SQLPlus
Note: 282382.1 - How to Search all of the Profile Options for a Specific Value
Note: 367926.1 - How To Find All Users With A Particular Profile Option Set?
Hope it helps
Regard
Helios -
How to track the User who has changed the System Profile Options
HI ,
The system profile options are changed by one User (Ex: XX123).
Here, the user XX123, he is not having any sys admin responsibilities .
He is having only I-proc responsibility attached .
Is there any chance to update the system profile options , through I-proc.Pl post details of OS, database and EBS versions, along with which profile options have been changed.
AFAIK, IProc responsibilities do not have access to change profile options.
HTH
Srini -
How to capture profile option value in Controller in OAF?
Hi,
I have a requirement to capture the value of profile option value in Controller in OAF?
How to write the code for this?
ThanksHi ,
You can get the profile option value in following ways.
String customprofile = transaction.getProfile("XXXX");
if(customprofile == null)
throw new OAException("The custom Profile Option Named XXXX has not been defined. Contact " +
"your IT Support Group. , (byte)0);
if(customprofile.length() == 0)
throw new OAException("The custom Profile Option Named XXXX does not have a value assigned" +
". Contact your IT Support Group. "
, (byte)0);
Thanks
Deb -
Is there any API to insert/update RA_TERRITORIES table
Hi
I have to create diff territory combinations for new customer creation.
Is there any API for inserting records to RA_TERRITORIES table.
I did n,t find any thing related to this.
Thanks&Regards
RSHi,
Thanks for the reply,
But JTF_TERRITORY_PUB is not updating ra_territories table.
I think its not useful for my purpose. -
Oracle 11i System Profile Option - Concurrent Define and Executable
I'm looking for what I think is a System Profile Option within Oracle Financials that will allow me to open Concurrent Program Define at the same time as Concurrent Program Executables so that I can copy and paste from one to the other. I can do this in our Dev. Environment but we recently refreshed the Test environment and I lost this ability.
I'm using the System Administrator responsibility within 11i and am referring to where you define your concurrent programs and executables.
I'm assuming this is a system profile option but I am unable to find it.
Our version is 11.5.10.2Hello.
I think you have the Close Other Forms check box option checked. In the main menu, choose the Tools menu and see how is this checkbox status.If it is checked, just unchek it. You will be able to open both forms at same time.
Octavio -
System Profile Option: Applications Global Idle Time
Hi to All,
I have been searching for more information about System Profile Option: "Applications Global Idle Time" in ML and Web but havent come across any documentation on this.
Does anyone have incite on this profile and the default parameter.
ThanksSrini Chavali wrote:
Pl check the ROW WHO information in FND_PROFILE_OPTIONS table for this profile - most likely this is a custom profile created at your site.
http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_PROFILE_OPTIONS&c_owner=APPLSYS&c_type=TABLE
HTH
SriniThis profile option exists in 11i and R12, it is a seeded one and not a custom one as you mentioned above.
It is even mentioned in (R12.0.6+ : Oracle Application Object Library Profile Options Data Collection Test [ID 471675.1]).
Thanks,
Hussen -
The concurrent report User Profile Option Values, is only site value levels. Are user level values more powerful, i.e. do they overide such values. How can I determine profile option values set at user level? Is there a similar report?
hsawwan wrote:
The concurrent report User Profile Option Values, is only site value levels. Are user level values more powerful, i.e. do they overide such values. A profile option can be set at one or more levels, depending on its hierarchy type. Most profile options use the Security hierarchy type, meaning that they can potentially be set at the four levels Site (lowest level), Application, Responsibility, and User (highest level). A higher-level option value overrides a lower-level value.
How can I determine profile option values set at user level? Is there a similar report?Note: 367926.1 - How To Find All Users With A Particular Profile Option Set?
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=367926.1
Note: 201945.1 - How to list E-Business Suite Profile Option values for all levels using SQLPlus
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=201945.1
Do you know if the Utilities: Diagnostics is our powerful/risky profile option to grant a user in PROD, I cant find much information on it?? -
How to Change System profile Options
Hi Friends
I want to Change System profile Option "PASSWORD CASE OPTION" from "MIXED" to "INSENSITIVE"......how
can I clear it at the Site Level without logging in E-Business Suite Login Page
Thanks
Edited by: user10365515 on Aug 26, 2010 3:34 AMTry something like this from backend:
select fpot.user_profile_option_name, fpov.profile_option_value
from apps.fnd_profile_options fpo, apps.fnd_profile_options_tl fpot, apps.fnd_profile_option_values fpov
where fpo.profile_option_id = fpov.profile_option_id
and fpov.level_id=10001
and fpo.profile_option_name like '%PASSWORD%'
and fpo.profile_option_name=fpot.profile_option_name
and fpot.language='US'
order by 1;
you can take a backup and update the table from backend. But, be cautious (oracle doesn't recommend updating from backend). -
To generate xml code in encoding as specified in system profile options
Hi,
i have a customer bug wherein the report page which is generated after a particular process, which is a .xml file, does not open because we have special characters which are not getting encoded properly!..
the probable solution to this would be to encode the .xml file in the encoding format specified in system profile options.
After the content generation the following code is used to generate the tags and the .xml page:
DBMS_XMLGEN.setRowSetTag(l_qryCtx,'INVOICE_SET');
DBMS_XMLGEN.setRowTag(l_qryCtx, 'INVOICE_RECORD');
DBMS_XMLGEN.setBindValue(l_qryCtx,'BATCH_ID', p_batch_id);
DBMS_XMLGEN.setBindValue(l_qryCtx,'SUPPLIER_ID', rec.supplier_id);
DBMS_XMLGEN.setBindValue(l_qryCtx,'SITE_ID', rec.site_id);
l_result_clob :=DBMS_XMLGEN.GETXML(l_qryCtx);
l_result_clob := substr(l_result_clob,instr(l_result_clob,'>')+1);
l_temp_invoice_count := DBMS_XMLGEN.getNumRowsProcessed(l_qryCtx);
l_invoice_count := l_invoice_count + l_temp_invoice_count;
DBMS_XMLGEN.closeContext(l_qryCtx);
clob_to_file(l_result_clob);
here we have a transaction type in portugese like Nota de Crédito
and the issue summary is as follows
It contains some foreign language symbols which are not encoded in UTF-8 format hence IE is showing the error. Even though in mozilla the file is completely opened but the same foreign language symbol is not shown. So the error exists in all the browsers.
can you please suggest how the encoding maybe done so as to avoid the above problem!...
and also how to include the encoding as per mentioned in the system profile options.Hi,
>>>The XSD doesn't have any messages only simple and complex types - I can't seem to relate (via drag and drop) them to a data or message type to generate the required objects.
maybe it has some reference inside to some other types which you did not get?
if so you need to import into IR/ESR all files and put the correct reference (external archives)
this would be the proper way to get the file generated according to the xml schema
Regards,
Michal Krawczyk
Maybe you are looking for
-
EJB 3.0 @PrePersist
Hi, I might be wrong in how I understand the EJB 3.0 specification or there is a bug in Oracle's implementation. I try to use @PrePersist lifecycle callback from an entity bean and I can't even compile the code because this annotation is not applicab
-
I can't run Safari 5.1.9 on Mac OS X 10.6.8
I recently updated my software and am now running 10.6.8. I then installed Safari 5.1.9. However, when I try to launch Safari, it won't open because it says I still have Safari 5.0.6. What should I do?
-
Difference between Classic Scenario and Extended Classic Scenario
Hi Expers, I need your help again........:-) I just want to know what is the differne between classic and Extended Classic Scenario. Points will be rewarded Thank you sam
-
when I sync my iphone to my windows pc I only choose to sync podcasts that I have downloaded. I delete the ones I don't want etc on the computer. but when I sync my iphone still keeps the old podcasts I no longer want. anyone know why? thanks
-
Does the R/3 Previous Account Number (KNB1-ALTKN) field exist in CRM?
Hi I would like to know if the previous account number field for the business partner exist in CRM and if not, if it is possible to retrieve the current BP number by calling a R/3 function module or BADI from within CRM. In R/3 this field can be seen