Profile option update at responsibility level from backend

Hi,
I referred few online and oracle support document to update the profile option from backend. I was able to change the profile option at site level, but when I am trying to update the profile at responsibility ( or any level such as user etc), I am unable to do so. Though the script says that profile option has been updated, it doesn't show up when I check on frontend.
EBS 11.5.10.2
DB 11.2.0.1
The script which I use to change profile at site level is this:-
DECLARE
stat boolean;
BEGIN
dbms_output.disable;
dbms_output.enable(100000);
stat := FND_PROFILE.SAVE('SITENAME', 'ABDVLP', 'SITE');
IF stat THEN
dbms_output.put_line( 'Stat = TRUE - profile updated' );
ELSE
dbms_output.put_line( 'Stat = FALSE - profile NOT updated' );
END IF;
commit;
END;
I tweaked the above script to include the responsibility level change, but its not changing. Both the below scripts are not making any changes.
SCRIPT - 1
DECLARE
stat boolean;
BEGIN
dbms_output.disable;
dbms_output.enable(100000);
stat := FND_PROFILE.SAVE('ICX_DISCOVERER_LAUNCHER', 'http://nalinoes01.abd.ad.acco.com:8003/discwb4/html/discolaunch.htm?Connect=[APPS_SECURE]', 'RESP',51889,671);
IF stat THEN
dbms_output.put_line( 'Stat = TRUE - profile updated' );
ELSE
dbms_output.put_line( 'Stat = FALSE - profile NOT updated' );
END IF;
commit;
END;
Note: I found the responsibility id from the below query
SELECT responsibility_id  ,application_id
     FROM fnd_responsibility_tl
    WHERE responsibility_name = 'DIRECT CA IBE CUSTOMER';
===============================================================================
SCRIPT-2
DECLARE
   stat           BOOLEAN;
   resp_id        NUMBER;
   appl_id        NUMBER;
   resp_appl_id   NUMBER;
BEGIN
   DBMS_OUTPUT.DISABLE;
   DBMS_OUTPUT.ENABLE (100000);
   -- Set the Profile Option value at responsibility level
   SELECT responsibility_id, application_id
     INTO resp_id, resp_appl_id
     FROM fnd_responsibility_tl
    WHERE responsibility_name = 'DIRECT CA IBE CUSTOMER';
   stat :=
      fnd_profile.SAVE
         (x_name                        => 'ICX_DISCOVERER_LAUNCHER',   -- Profile name you are setting
          x_value                       => 'http://nalinoes01.abd.ad.acco.com:8003/discwb4/html/discolaunch.htm?Connect=[APPS_SECURE]',   -- Profile value you are setting
          x_level_name                  => 'RESP',   -- Level that you're setting at: 'SITE','APPL','RESP','USER', etc.
          x_level_value                 => resp_id,   -- Default NULL Level value that you are setting at, e.g. user id for 'USER' level. X_LEVEL_VALUE is not used at site level.
          x_level_value_app_id          => resp_appl_id,   -- Default NULL. Used for 'RESP' and 'SERVRESP' level; Resp Application_Id.
          x_level_value2                => NULL   -- 2nd Level value that you are setting at.  This is for the 'SERVRESP' hierarchy.
   IF stat
   THEN
      DBMS_OUTPUT.put_line ('Stat = TRUE - profile updated');
   ELSE
      DBMS_OUTPUT.put_line ('Stat = FALSE - profile NOT updated');
   END IF;
   COMMIT;
END;

I tried to change at SERV level and still the profile never gets updated. Kindly help.

Similar Messages

  • Disable profile option updation at user level

    I want to disable the profile option HR: Security Profile or for that matter any other profile option at user level. The user should be able to see the value set by the system administrator (Field should be grayed out) and user should not be able to update it.
    How to do it??

    Try a personalization combined with custom PLSQL, like this:
    1) Acces System Profiles
    2) Help->Diagnostics->Custom Code->Personalize
    3) In the newly displayed Form Personalization form, create a line with a description like this: Prevent modification of USER_VISIBLE_VALUE
    4) In the Conditions tab, set Trigger Event = WHEN-NEW-ITEM-INSTANCE
    5) Set Trigger Object = PROFILE_VALUES.USER_VISIBLE_VALUE
    6) In the Condition text area, enter:
    apps.xxror_test_sysprofile(:PROFILE_VALUES.USER_PROFILE_OPTION_NAME,'USER')=1
    7) Set Processing Mode to Both
    8) Switch to the Actions tab and create two actions:
    first:
    type = property
    description = Don't update
    Language=all
    enabled=yes
    object type=Item
    target object=PROFILE_VALUES.USER_VISIBLE_VALUE
    property name=UPDATE_ALLOWED
    value=false
    second:
    type=property
    description=Don't enter
    language=all
    enabled=yes
    object type=Item
    target object=PROFILE_VALUES.USER_VISIBLE_VALUE
    property name=ALTERABLE_PLUS
    value=false
    9) Repeat steps 3-8 if desired for other levels, such as:
    Prevent modification of SITE_VISIBLE_VALUE
    Prevent modification of APPL_VISIBLE_VALUE
    Prevent modification of RESP_VISIBLE_VALUE
    Prevent modification of SERVER_VISIBLE_VALUE
    Prevent modification of ORG_VISIBLE_VALUE
    paying attention to update the corresponding names for xxx_VISIBLE_VALUE.
    10) Create the following PLSQL function:
    CREATE OR REPLACE function xxror_test_sysprofile (
    prof_opt_name in varchar2,
    lvl in varchar2
    return number
    is
    v_ret number;
    s_prof varchar2(1024);
    s_uname varchar2(100);
    s_lvl varchar2(10);
    begin
    -- returns 0 if the user "uname" must be granted access the profile named "prof_opt_name" at the "lvl" level
    -- returns 1 if the user "uname" must be forbidden to access such a profile at such a level.
    -- important assumption: the "lvl" parameter may have only one of the following values:'SITE', 'APPL', 'RESP', 'USER', 'SERVER', 'ORG'
    -- or else this function will return 1, thus forbidding the access
    s_uname:=substr(upper(trim(nvl(fnd_profile.value('USERNAME'),''))),1,100);
    if s_uname in ('MY_ADMIN_1','MY_ADMIN_2','SYSADMIN') then
    v_ret:=0; -- no restrictions
    else
         if s_uname in ('MY_POWERUSER_1','MY_POWERUSER_2') then
         -- restrict to only the below mentioned profiles
         s_prof:=substr(upper(trim(nvl(prof_opt_name,''))),1,1024);
              s_lvl:=substr(upper(trim(nvl(lvl,''))),1,10);
              if
              (s_prof like '%WHATEVER%')
              then
                   if s_lvl in ('SITE', 'APPL', 'RESP', 'USER', 'SERVER', 'ORG') then
                        v_ret:=0; -- level acceptable for these users on these profiles
                   else
                        v_ret:=1; -- unknown level, so reject
                   end if;
              else
                   -- these users may not access these profiles, so reject
                   v_ret:=1;
              end if;
         else
              if s_lvl = 'SITE' then
              -- no way any other user than those above may modify site-level profiles
              v_ret:=1;
              else
                   -- any other user than those above may modify lower-level profiles, but
                   -- for now reject all
                   v_ret:=1;
              end if;
         end if;
    end if;
    return v_ret;
    end;
    Pls be aware that testing first on a test instance is always advisable.

  • Apis for attaching profile options to a responsibility in oracle apps 11i

    Hi,
    Appreciate your help.
    We are automating the process of creation responsibilities.
    1. I have created new responsibility using the fnd_responsibility_pkg.load_row and responsibilities created successfully.
    2. There are few profile options which will be used (GL set of books,HR user etc.,) and is there any api's to attach the profiles to the newly created responsibilites or can i go and directly insert a record in (apps.fnd_profile_option_values).
    Thanks
    Nethi.

    Hi,
    I believe you need to use FNDLOAD to attach those profile options.
    Note: 566865.1 - How To Download Profile Options Set On Responsibility Level Using FNDLOAD
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=566865.1
    Please note that inserting data into Oracle Apps tables directly is not supported.
    Regards,
    Hussein

  • Update the profile values at responsiblity level from backend

    HI Team ,
    Find sql for Updating the profile values at responbility level from backend?
    Thanks,
    Chandu

    Please also see:
    How to Change Profile Option Value Without Forms? (Doc ID 943710.1)
    APPS.FND_PROFILE
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_details?c_name=FND_PROFILE&c_owner=APPS&c_type=PACKAGE&c_detail_type=source
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_details?c_name=FND_PROFILE&c_owner=APPS&c_type=PACKAGE%20BODY&c_detail_type=source
    Thanks,
    Hussein

  • IBE: Attachment Document Category -- Profile Option -- Update ???

    We are doing a Proof of Concept for iStore Attachments and I need to update the "IBE: Attachment Document Category". The field is protected against update when attempting from System Administrator responsibility. Is there a certain responsibility/account required when modifying this profile option ??
    Thanks in Advance

    hsawwan wrote:
    Hi,
    Mark the Visible column at the Site level, and you should be able to mark the Updatable column then (at the same level). If you want to have this profile option updatable at the <A class=bodylinkwhite href="http://www.software-to-convert.com/avchd-conversion-software/avchd-to-iphone-software.html"><FONT face=tahoma,verdana,sans-serif color=#000 size=1>Application</FONT></A> level, just tick the box.
    Regards,
    HusseinCould you explain it more clearly? I'm a beginner.

  • Updating Supplier Payment Method from Backend in R12

    Hi Friends,
    I have requirement of Updating Payment Method of Suppliers at Supplier Level as well as Supplier Site Level from Backend.Please provide me the solution how to update it at supplier level as well as site level.Can we update only at supplier level? or can we update only at site level? How to differentiate both the cases?If i need to update at the supplier level then which tables i need to update? otherwise if i need to update at supplier site level then which tables i need to update?
    Please provide me the solution for both the cases.
    Thanks in Advance.

    Hi Kiran,
    I'm trying to import my company Suppliers using AP_SUPPLIERS_INT, but the PAYMENT_METHOD_CODE is not being imported into AP_SUPPLIERS. I'm using valid values from IBY_PAYMENT_METHODS.PAYMENT_METHOD_CODE, but at the moment to query the AP_SUPPLIERS, the forementioned column is not being populated. Am I missing something here?
    Your help would be appreciated.
    Hugo

  • Is it too much to ask from apple, an option for different volumes levels from different apps, including alarm, text, email, basically from every posible app?

    Is it too much to ask from apple, an option for different volumes levels from different apps, including alarm, text, email, basically from every posible app?

    My daughter has had her Razr for about 9 months now.  About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!

  • CAN I UPDATE DATABSE OF SAP FROM BACKEND

    Dear Experts,
    can i update database of SAP from Backend , if i update some fields from backend using update query , then sap chage behavior like series not show  or some previous record does not find. etc etc.
    so my que is can i update the sap databse using any tric which is not affect to SAP Behavior it's behave normally after updation.
    thanking you,
    ganesh mahajan

    Dear sir,
    Actually we are goes to validate delivery and outgoing excise invoice ,means
    your delivery doc num should be outgoing excise invoice otherwise massage fir " document number does not match."
    so that time from above table.
    but the eroor is baseref num is nvarchar but error madssage is " can not covert nvarchar to int "
    Thanking you,
    ganesh Mahajan

  • Not able to get the profile value set at Responsibility level

    Hi,
    I had set the value of a custom profile at Responsibility level and in CO i used the
    following code,
    String rLocation = pageContext.getProfile("XXTMG_PR_SCP_LOCATION");
    The above call returns NULL. But if i set the value of the profile at Site Level then the above code returns the correct value of the profile. I bounced the apache after the profile option was changed but no avail.
    I even tried using getOADBTransaction().getSpecificProfile() in the AM (which was
    called from CO) as below but could not get the value of the profile,
    Number lRespID = new Number(getOADBTransaction().getResponsibilityId());
    String retLoc1 = getOADBTransaction().getSpecificProfile("XXTMG_PR_SCP_LOCATION","","",
    lRespID.toString());
    Could any of you please let me know whether i have missed something in the code which results in not getting the correct value for the profile at the Responsibility level.
    Thanks, Suresh.

    Instead of passing null for the other parameters in call to getSpecificProfile, can you please set these params and try ?
    Also, please note that if a value is defined at site level, then even if a value is present at the resp level, the value at site will be returned when you use getProfile method.
    Thanks
    Tapash

  • How to Update PO's Automatically from Backend..

    I want to approve PO's which are in Process or requires Reapproval from backend..
    Can Anybody help??

    I have created a invoice and updating payment details.
    I just need small information regarding payaments.
    After invoice we create payments using validate, pay in full.
    But What actually happens when we do validate and pay in full.
    and what are the fields and tables effected in this process.FAQ: Common Tracing Techniques in Oracle E-Business Applications 11i and R12 [ID 296559.1]
    R12 Docs
    http://docs.oracle.com/cd/E18727_01/index.htm
    eTRM
    http://etrm.oracle.com/
    Thanks,
    Hussein

  • How to add a new profile option in each responsibility?

    Dear all,
    I would like to add one profile option in some of the responsibilities. . .how can I do that?
    Best Regards,
    Amy

    Amy,
    Your question is best asked in the Oracle EBS General discussion forum. However, to set the value of a profile variable you would use FND_PROFILE.PUT ('ProfileName','Value');
    Hope this helps.
    Craig...

  • How to update PAYMENT tables manually from backend after invoice creation.

    Hi,
    I am Financial beginner. how to update payment details from invoices using backend in P2P.
    Thanks and Regards,
    Srikanth

    I have created a invoice and updating payment details.
    I just need small information regarding payaments.
    After invoice we create payments using validate, pay in full.
    But What actually happens when we do validate and pay in full.
    and what are the fields and tables effected in this process.FAQ: Common Tracing Techniques in Oracle E-Business Applications 11i and R12 [ID 296559.1]
    R12 Docs
    http://docs.oracle.com/cd/E18727_01/index.htm
    eTRM
    http://etrm.oracle.com/
    Thanks,
    Hussein

  • Profile option  Concurrent:Report Access Level

    I need to set the profile Concurrent:Report Access Level .. but it is not retreivable from profile--> system -->.. any idea ?
    Kai

    Hello Kai,
    would you mind giving me a hand and post here the answer to your question? The mentioned metalink note is just referencing a whole section within 120sasg (B31451-05.pdf). If you would provide a short summary what needs to be done would be very welcome.
    Thanks a lot
    Volker

  • Applications Start Page profile option cannot be set at responsibility leve

    Note 729375.1 describes the use of the 'Applications Start Page ' profile option. It mentions an enhancement request to make this profile option updatable at responsibility level but we cannot find this enhancement request

    Log a SR and ask Oracle Support about it (and its status) as this Enhancement Request is not mentioned in the same doc.
    Thanks,
    Hussein

  • MO Operating Unit Profile Option Needed for Mass Allocation in R12

    Mass Allocation does not work in R12 unless you set MO Operating Unit profile option at GL Responsibility level. Is that an official requirement from Oracle or is that a bug? A client should be able to implement and use GL without setting operating units as they are needed for subledgers.

    Hi
    I have found the below mentioned information on MO: operating Unit Profile option from the Oracle E-Business Suite Multiple Organizations & Oracle General Ledger Reference Guide which directly or indirectly requires the setting of the profile option at the appropriate level (responsibility, site etc)
    Profile Options not Owned by General Ledger:
    The following profile option affects the operation of General Ledger, but is not "owned" by General Ledger:
    • MO: Operating Unit - This profile option controls which operating unit a particular responsibility is assigned to.
    Note: General Ledger's Account Inquiry window ignores the setting of this profile option. This allows you to drill down to your subledgers independent from their multiple organization setup. As a result, when you drill down to subledger details, General Ledger will show you all of the transactions that comprise an account balance, regardless of which organization originated the transaction.
    To use multiple organizations, you must define an accounting setup with at least one legal entity, a primary ledger that will record the accounting for the legal entity, and an operating unit that is assigned to the primary ledger and a default legal context (legal entity).
    You must set either the MO: Operating Unit or MO: Security Profile profile option for each application responsibility to use Multiple Organizations context sensitive applications. When you connect to the Oracle Applications, you sign on by entering your user name and password. Then, you choose a responsibility that is available to your user. After you choose your responsibility, there is an initialization routine that reads the values for all profile options assigned to that responsibility. Oracle Applications allows you to see only the information for those operating units that are assigned to your responsibility.
    Hope this helps.
    Thanks and Regards
    Manish Jain

Maybe you are looking for

  • How to I make it so apple can never email me on a certain email?

    I have forgotten my security question and just got a new mac, I need to buy something on my mac but since I can't remeber my security question I can't buy it, When I tell apple to email me how I can change it they email my email that doesn't work so

  • How do I remove an unknown apple id from my iPhone which runs ios 7?

    I have an iPhone 4 which has been upgraded to ios 7 and someone logged in with an unknown apple id and now find my iPhone is also turned on. I do not have the password so how do I delete my id? Each time I try it'd ask me for the find my iPhone passw

  • Error calling stored procedure from MFC using odbc

    Hello, I am using MFC to call a stored procedure written in PL/SQL, but when I make the call I get the next error in Spanish: "No se enlazaron columnas antes de llamar a SQLFetchScroll o SQLExtendedFetch", which more or less in English means: "No row

  • My iPhone 3 is disabled and has locked me out

    My iPhone 3 has locked me out saying it is disabled and to connect to iTunes. So I connect it to iTunes, then iTunes says it cannot connect to the iPhone because it is locked with a passcode? Both ways I'm locked out of the phone completely.

  • Toshiba Satellite battery/AC problems?

    After days of agony, I broke down and order a new AC adapter and battery for the Toshiba Satellite from Amazon (which cost about $20 for both, new, including free shipping; Toshiba wants over a $100 for the battery and nearly the same for the AC adap