Lookup Code value switch automatically in case of same decode value

Hi,
We have create a simple Lookup type UDF on OIM user profile. The lookup value contains the different code value for same decode value like 1-->Project Manager, 2-->Project Manager, 3-->Project Manager. Now the issue is that if someone goes form the web console and edit the user (just click on edit and then save it back without making any change), this lookup field value switch to default code value for 'Project Manager'. Let's say if OIM internally assume 2 as default code value for 'Project Manager' (not sure how OIM maintains it internally), If we follow the edit process for a user who has '3' as code value then after save the value in the database change to '2'. The same happens for user with '1' as code value as well. Now mapping multiple code values to same decode is very common where you need to integrate OIM with legacy systems where multiple key values assigned to the Job title/positions with same description. Has anyone came across this scenerio in past and found any solution. Please help. We tried by using lookup querry as well but no luck. We are using 9102 BP02 OIM. Thanks

First thing first
Why do you need 3 entries in the lookup for the same vaule? It's only a confusion to the end-user to select which one.
Now....
In case you have some compelling situation, just try to have some differentiation for the decode value; like 1~Project Manager, 2~Project Manager, 3~Project Manager. This way confusion may be obviated and so as the issue.

Similar Messages

  • Are the height and width (h and v) values switched?

    I have been exporting .avi video through the Export>>Movie dialogue box. My intended settings are for the width (v) to be 640 pixels and the height (h) to be 480 pixels with a square aspect ratio. I have found that after exporting there is a large black border on the top and bottom of the video.
    I have tried re-exporting it with different settings, and I have found that using 640 for the h (height) value and 480 for the v (width) value have solved the problem. IE, no excess black on the top and bottom. Is it just me or are the h and v values switched in Premiere? Meaning is the value for h actually v and vice a versa?

    :P
    You will also find links to many
    free tutorials in the PremiereProPedia that will quickly show you how things are done in Premiere Pro.
    Cheers
    Eddie
    PremiereProPedia   (
    RSS feed)
    - Over 300 frequently answered questions
    - Over 250 free tutorials
    - Maintained by editors like
    you
    Forum FAQ

  • Mapping different same column value into different column based on conditio

    Hi experts,
    We have source as Oracle tables and target also Oracel tables.
    Source
    Column1|Column2|Column3
    Target
    trg1|trg2
    I need to
    insert the value of Column1 into trg1 where column2='xxx'
    insert the value of column1 into trg2 where column3='yyy'
    After giving the conditions on the mapping, the where conditions are getting clubed with and and I am getting different value than what is excepted. Like the similar way I have the same scenario for most of the columns in my target table. Suggest me how to do it.
    Thanks in advance.

    Hi,
    I tried the mapping but getting duplicate records.
    case1: Only AND condtion is getting applied automatically as per the joins between tables..i m not able to change the AND to OR condition since there are three table joins.
    case2: when i try to execute the separate query for the column, i getting the values once put in case statement only NULL values are getting fetched.
    As all my target mapping are like this...lot of issues are getting raised while fetching records...
    I have given my scenario once again below.
    src1
    col1
    src2
    col1
    col2
    col3
    col4
    src3
    col1
    tar1
    col1
    col2
    mapping given are
    tar1.col1 = select src2.col3 where src2.col1='xxx' and src2.col2='yyy' and src2.col4=src1.col1
    tar1.col2 = select src2.col3 where src2.col1='aaa' and src2.col2='bbb' and src2.col4=scr2.col1
    Kindly suggest how to do the mapping in details...I am stuck bcoz of this mapping......thanks in advance.
    Edited by: siva on Nov 23, 2011 12:34 PM

  • Pull Value based on Lookup Code

    I have a form that displays multiple values from a suppliers table. I have an item call Supplier Name (LOV), depending what i choose, item displays data in the "Airport Origin" and "Forwarder". I also have another table call Destinations and Another Table call Rates. On my form (page 2) one of the requirements is to automatically display the "Cost Per KG". I need to display the Cost per KG by what ever i have in the 'Destination Field' and 'Airport Orign'?
    I have created 2 Processes: One for pulling multiple item values and the other for getting the value from the rates table.
    1)Set_Multi_Items
    DECLARE
    v_ORIGIN_AIRPORT_CODE VARCHAR2 (200);
    v_FORWARDER_CODE      VARCHAR2 (200);
    CURSOR cur_c
    IS
    SELECT ORIGIN_AIRPORT_CODE, FORWARDER_CODE
    FROM lfaf_SUPPLIERS
    WHERE LFAF_SUPPLY_ID = TO_NUMBER (v ('MULTI_TEMP_APPLICATION_ITEM'));
    BEGIN
    FOR c IN cur_c
    LOOP
    v_ORIGIN_AIRPORT_CODE := c.ORIGIN_AIRPORT_CODE;
    v_FORWARDER_CODE := c.FORWARDER_CODE;
    END LOOP;
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<body>');
    HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
    HTP.prn ('<item id="P2_ORIGIN_AIRPORT_CODE">' || v_ORIGIN_AIRPORT_CODE || '</item>');
    HTP.prn ('<item id="P2_FORWARDER_CODE">' || v_FORWARDER_CODE || '</item>');
    HTP.prn ('</body>');
    EXCEPTION
    WHEN OTHERS
    THEN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<body>');
    HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
    HTP.prn ('<item id="P2_ORIGIN_AIRPORT_CODE">' || SQLERRM || '</item>');
    HTP.prn ('</body>');
    END;
    2)getDet
    DECLARE
    my_det NUMBER;
    BEGIN
    SELECT KGRM_RATE
    INTO my_det
    FROM LFAF_RATES
    WHERE ORIGIN_AIRPORT_CODE = :P2_ORIGIN_AIRPORT_CODE
    AND LFAF_DESTINATION_ID = :P2_LFAF_RATE_ID;
    HTP.prn (my_det);
    EXCEPTION
    WHEN OTHERS
    THEN
    HTP.PRN ('');
    END;
    ******I have a Javascript code in the header of the page*******
    <script language="JavaScript" type="text/javascript">
    <!--
    function pull_multi_value(pValue){
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_Multi_Items',0);
    if(pValue){
    get.add('MULTI_TEMP_APPLICATION_ITEM',pValue)
    }else{
    get.add('MULTI_TEMP_APPLICATION_ITEM','null')
    gReturn = get.get('XML');
    if(gReturn){
    var l_Count = gReturn.getElementsByTagName("item").length;
    for(var i = 0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByTagName("item");
    var l_ID = l_Opt_Xml.getAttribute('id');
    var l_El = html_GetElement(l_ID);
    if(l_Opt_Xml.firstChild){
    var l_Value = l_Opt_Xml.firstChild.nodeValue;
    }else{
    var l_Value = '';
    if(l_El){
    if(l_El.tagName == 'INPUT'){
    l_El.value = l_Value;
    }else if(l_El.tagName == 'SPAN' &&
    l_El.className == 'grabber'){
    l_El.parentNode.innerHTML = l_Value;
    l_El.parentNode.id = l_ID;
    }else{
    l_El.innerHTML = l_Value;
    get = null;
    //-->
    </script>
    <script language="JavaScript" type="text/javascript">
    function f_getDet ()
    var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=getDet',0);
    get.add('P2_LFAF_RATE_ID',html_GetElement('P2_LFAF_RATE_ID').value)
    gReturn = get.get();
    if(gReturn)
    {  html_GetElement('P2_COST_PER_KG').value = gReturn  }
    else
    {  html_GetElement('P2_COST_PER_KG').value = ''  }
    get = null;
    </script>
    <script language="JavaScript" type="text/javascript">
    <!--
    function sumItems(){ 
         var actual_weight = 0;
         var volumetric_weight = 0;
    function getNumericVal(item){
              if($x(item).value != "") {
                   return parseFloat($x(item).value);
              } else {
                   return 0;
         if ($x('P2_GROSS_WEIGHT').value !="" && $x('P2_VOLUME').value !="" ) {
              if ($x('P2_WEIGHT_UOM').value == "LBS") {
                   actual_weight = getNumericVal('P2_GROSS_WEIGHT') / 2.2046;
              } else {
                   actual_weight = getNumericVal('P2_GROSS_WEIGHT');
              if ($x('P2_VOLUME_UOM').value == "CFT") {
                   volumetric_weight = getNumericVal('P2_VOLUME') / 35.314 / 0.006;
              } else {
                   volumetric_weight = getNumericVal('P2_VOLUME') / 0.006;
              if (volumetric_weight > actual_weight) {
                   $x('P2_CHARGABLE_WEIGHT').value = volumetric_weight.toFixed(2);
              } else {
                   $x('P2_CHARGABLE_WEIGHT').value = actual_weight.toFixed(2);
    </script>
    //-->
    <script>
    function mulItems(){
    function getVal(item){
    if($x(item).value != "")
    return parseFloat($x(item).value);
    else
    return 0;
    $x('P2_CHARGEABLE_COST').value =
    getVal('P2_COST_PER_KG') * getVal('P2_CHARGABLE_WEIGHT');
    </script>
    My question is can someone please help me pull the correct value from my rates table on my "Cost Per KG" based on the "Supplier Name" Item Name and "Destination" Item Name?
    See application:
    Username: demo
    password: demo
    http://apex.oracle.com/pls/otn/f?p=27562:1:1757574860234267:::::

    You need to create an OnDemand Process (PL/SQL) to get the description from your DB and an piece of Javascript to call that process (AJAX style).
    You can code everything yourself - there are numerous examples out there.
    Or use Scott's "AJAX Code Generator" on http://htmldb.oracle.com/pls/otn/f?p=33867:2
    BTW : In APEX 4.0 this can all be done declarative...no coding of ondemand process, javascript etc necessary..

  • Running T-code miro, how should i set the DRSEG-SGTXT value automatically

    Hi experts,
    When i run t-code miro, i want to fill into the text value(DRSEG-SGTXT) on the item line automatically.
        Its value is the PO description by default. I has tested the user exits (Related to T-Code MIRO,such as LMR1M001/002/003/004 etc) and badi(INVOICE_UPDATE). They can't work very well.
       I'd like to input Purchasing Document Number and enter, material items are display and its text value(DRSEG-SGTXT) is also filled in.  
    Any clue is appreciated.
    - Daniel

    Hello,
    start the report RSMODPRF and see the documentation.
    http://www.sap-img.com/abap/field-exits-smod-cmod-questions-and-answers.htm
    There are some threads in SDN for this topic, you can search in SDN
    Kind regards,
    JP

  • Lookup code not appearing

    Hi
    I have an issue with Lookup values of leave reason in terminate employment form.
    It is displaying only 3 leave reasons(Deceased, Gross Misconduct, Retirement). I have switched to Application developer and checked for the "LEAV_REAS" lookup values. there are 48 lookup codes and meanings and all are active.
    Why these are not being displayed in the terminate employment form?
    And I've added a new lookup code for the existing code. This is appearing in the terminate employment form.
    My doubt is why the seeded codes are not being displayed and why the custom added is appearing.
    Regards
    BalaKrishna

    BalaKrishna Reddy Avuthu wrote:
    Hi Vinayak
    Thanks for your reply.
    I have checked whether the codes are enabled or not and dates too. There is no problem with them.
    How can I change the legislation you were talking about? You cannot change the legislation for existing seeded values. If you need to use some reasons that are defined for other legislations, i suggest creating them and using the same.
    >
    Is there any problem if I define own codes without any tags? What could be the affect in legislation perspective? There is no problem with creating lookup codes which are not having tags, you can and will be able to use the new codes. However, they will be available in all business groups within your installation.
    To check the legislation code for business groups, use the following query.
    select name, legislation_code from per_business_groups
    Edited by: Vinayaka Prabhu on Apr 24, 2009 2:08 PM

  • How to change lookup code  with Access Level as 'System'

    Hi,
    I need to append new lookup codes in a lookup type having access level as 'SYSTEM'. Is there any standard way to do the same or just updating the customization level column will do ? Please let me know if you have any solution for this.
    Regards
    Girish

    You can also change the meaning on that value to something like "*** DO NOT USE***". This will make it obvious to the user that he/she should not choose it.
    You can try to add a when-validate-record personalization to show error if someone selected a disabled value.
    You can also try to modify the list of values associated with the field using personalizations.
    If nothing else works, you can use a SQL to uncheck the enabled flag. The risks involved in this are well known.
    Hope this answers your question
    Sandeep Gandhi
    Independent Consultant
    513-325-9026

  • Automatic price update if key field values changed in sales order and bill

    Hi Experts,
    I have requirement as follows.
    <b><u>Scenario: -</b> </u>We wanted carryout the pricing based on Incoterms, customer and material. I have created the condition table with these fields. And maintained the condition record. The values will flow to sales order without any problem.
    <b>
    Problem: - </b>When we change the incoterms say for CIF to FOB the system should redetermine the price automatically, but this is not happening (If will redetermine only freight). If we carryout new pricing manually the right price will flow.
    <b>
    Expectations: -</b> Is their any exit or any configuration setting where in system will redetermine the price automatically if we change the field value in sales order(For the field value it will be used to create condition table).
    If anyone done this please help me with setting or Exit and code to enable us to come out from the situation.
    We need this to happen while creating sales order as well as billing, Since @ billing prices will be redetermined.
    Thanks in advance for the needful.
    With regards,
    Manjunatha H.S.
    M: 9740433511
    <b></b><u></u><u></u>

    Hi Shivakumar,
    You can use USEREXIT_NEW_PRICING_VBAP in include SAPMV45A for this.
    Regards
    Nikhilesh

  • Freight condition value: validate automatic fill in me23n -PO creation

    Hi all
    i have a query.
    when creating a PO( me23n), few fields gets automatically filled.
    like, freight conidtions, contidion value, its amount.... etc..
    i would like to cross verify whether they are correct. and also know based on what those values filled in.
    is there any tcode or table which shows me this data.
    not based on PO ( as i am still creatign it) btu based on other values liek vendor or material or storage loc or anything based on which it automatically populated me these.
    basically i want to undersatnd whether those vales r correct and also what is the "rule" that is driving this. and if required wher can i change these rules........
    Please let me know. thanks a lot.
    regards
    Kavana

    Lets take an example.
    Say you are buying from your vendor and the pricing is:
    1. Gross price: 100
    2. Discount: -10
    2.1Net - 90
    3. Freight: 5% of net
    4. Total: 90 + 0.45 = 94.5
    Now first we make condition types for 1, 2 and 3 through M/06
    Then we create a pricing procedure using M/08 which would include:
    Conidition Type , From , to  and other indcators
    From, to fields tell you on what value the calculation will be done in case it is a % of something. For e.g. Frieght in our case is % of 2.1 and so on.
    Conditon tables are nothig but records like Info Records i.e. price of material from a particular vendor.
    Access sequences are used to create conditon tables. For e.g. an access may have fields like : Vendor, Material, P Org, Plant etc. and for these you will fiunally arrive at a price.
    Then you assign the Access sequence to the condtion type.
    For more details the best place is help.sap.com

  • Airport Extreme - PPPoE switches automatically to  Ethernet connection

    Most of the time I use Airport Extreme using only the cables, w/ wireless off in the weekdays. Connection to the internet is via PPPoE and the pop-up value of the "Connect Using"
    ACTIVATING WIRELESS
    when creating a wireless network the pop-up of the "Connect Using" switches automatically back to Ethernet
    DEACTIVATING WIRELESS
    when deactivating the wireless option the selected value of the "Connect Using " pop-up remains.
    Is this a bug and how can this be solved? (AppleScript?)

    Interesting. Sorry I don't have any recommendation for an automated solution.
    You can let Apple know by visiting www.apple.com/feedback/airportextreme.html

  • Automatic dispute case creation

    Hi All,
    How we can configure, automatic dispute case creation for bank statement upload (short payments).
    Regards
    Satya

    there are no config steps as far as I understand.
    As said earlier, go to documentation of t-code FDM_AUTO_CREATE and review the piece for bank statement upload.

  • TRANSLATE LOWER-CASE statement returns different values in different systems

    Hi Experts,
         I encountered the following problem while debugging the print program of an Adobe Form, which has the below-mentioned line of code:-
    TRANSLATE v_var1 TO LOWER CASE.
    The variable v_var1 is of type MSEHT whose basic type is CHAR with length 10.
    The incoming variable, v_var1 has the value 'ШT', which is the upper-case Russian equivalent of the Unit Of Measure - ST.
         In the Production system, after the execution of the statement, the value v_var1 changes to 'шт'. But in the Development and Testing systems, which also have the same code as the Production system, the value v_var1 changes to 'шt'. In all the three systems, I had logged in the same login language('E'). The same problem remains when I log-in in Russian('R'). The text gets reflected in the Adobe forms and there aren't any JavaScript/FormCalc conditions on the particular window to change the font/case. The user wants 'шт' to be displayed (as is being displayed now) in the Prod. But since I'm not able make the same appear in the testing system, they are not confident to transport the changes to the prod.
         In the help documentation of TRANSLATE, I found that the "text environment" is a factor that affects TRANSLATE statements and could be set by the statement
         SET LOCALE LANGUAGE lang.
         which will basically change the system language. There aren't any SET LOCALE LANGUAGE statements in the Print program. I can hard-code and display it but I would like to know alternate solutions. Is it because of any system-specific font/text setting?

    Hi David,
    perhaps the systems got different codepages. This may cause the different.
    Just another suggestion.
    Regards
    Florian

  • Meaning of tag column in lookup code

    Hi,
    I would like to disable some values in lookup code, but some values have value in tag column (Y). So it is impossible to disable them.
    The lookup code I would like to update is CONTACT_TITLE (in receivables lookups).
    How can I disable these tagged values please?
    Thank you
    Tiana

    Hi Jens,  
    Thanks for your reply.
    For the description of each field/value in TFS DB scenario, please submit it to User Voice site at:
    http://visualstudio.uservoice.com/forums/121579-visual-studio. Microsoft engineers will evaluate them seriously.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Public API to create lookup codes through backend

    Hi All
    I have to add lookup codes to an already existing lookup type. Data would come in a csv file. I am using sqlldr to load data into a staging table. Now I have to call some public API to insert lookup codes into fnd_lookup_values. I could find FND_LOOKUP_VALUES_PKG.INSERT_ROW, is there any other public API available?
    I am working on 11.5.10.2
    Thanks in Advance!!
    Regards,
    Shashank

    There is no api but you can use FNDLOAD.
    First use FNDLOAD to download the existing value(s)
    Modify the text file generated ; add new records.
    Then upload it using FNDLOAD. Here is a sample syntax.
    FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/aflvmlu.lct file_name.ldt FND_LOOKUP_TYPE APPLICATION_SHORT_NAME="FND"
    LOOKUP_TYPE="mylookup"
    Hope this helps,
    Sandeep Gandhi

  • Timed Switch between 3 Cases and Back!

    Hello,
    I am trying to determine how I can switch between three cases in a case structure allowing a certain time between each switch.
    For example: say I have three cases in a case structure (Cases {0,1,2}) where zero is the default case.
    What I would to do is start in the default case 0 wait 1 sec, switch to case 1, wait 1 sec switch to case 2, wait 1 sec switch back to case 1, wait 1 second switch back to case 0.  Then repeat the order.
    I was using the timer elapsed value from the Ramp Tim function to switch a select function between true and false but with the additional case I don't think this approach will work.
    Any ideas?
    Tim
    Solved!
    Go to Solution.

    Search for the term "State Machine". It is what you re trying to invent (nice work) so feel free to "Cheat" and look for the wheel as it exists now.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

Maybe you are looking for

  • Patching ST_PI, open conversions in ABAP dictionary

    Hello during a patching of ST-21 2008 the tool stops at CHECK_REQUIREMENTS phase with the screen: open conversions in ABAP dictionary Some open conversion requests still exist in the ABAP Dictionary for the following ABAP Dictionary objects. To avoid

  • Trouble downloading attachments in gmail/Firefox-IE

    Since this morning, I cannot download attachments in gmail using Firefox or IE (I did not try out Chrome). Since I have this problem in multiple browsers, the issue seems to stem from my computer, but still I'd appreciate any suggestions...

  • Website error message on pearl 8130

    Most of the time I don't have any trouble with websites on my pearl 8130 but yesterday I did. Part of the website that I am talking about I could get on but when I tried to logon to it I get a java error. i have checked and java has a check mark on t

  • BlackBerry App World requires that your device radio is turned on to continue.

    I no longer have a service provider for my Blackberry.  But I want to use it for listenting to Audio Books.  Can I still do this without internet service on the phone itself? Initially it appeared as though I could, so long as I had it connected to m

  • Delegate not seeing newly added calendarse

    We are having a problem, where a Delegate can add a change to a calendar, and the calendar owner sees those new changes. However, when the Calendar owner adds a new event, the delegate cannot see those new events. Even after days of syncing changes t