OIM 9.1.0.1 Lookup -  Lookup Query

Hi all
We have already develop connector. But still have some questions...
Parent process form with two lookup fields where second lookup values depends of the first lookup selected value.
We have created second lookup like 'Lookup Query', yes we see right CODE, DECODE with relation of first lookup, and when pick value, only one value (DECODE or CODE) can be passed, not like simple Lookup ( when pick row ( DECODE and CODE ) saved to DB, and next review of the form field show DECODE value (but in mind) it is CODE) :)
i want 'Lookup Query' with behavior of simple Lookup.
any suggestions, it is possible?

I'm positive there's a great way to do it with SQL, but you'll need to look at 4 tables:
1) OBJ (Objects) - Here you are looking in OBJ_NAME for 'OID User', once found get the OBJ_KEY value for the row.
2) OST (Object Status) - In this table, you can find all the statuses for the OID User resource based on the OBJ_KEY value. Look for the applicable ones and get the OST_KEY value for each row.
3) OIU (Object Instance for Users) - Now you can query this table for all results where OST_KEY equals the desired values as found in step 2.
4) USR (Users) - Here you can get the User ID's (usr_login), User Key (usr_key) or any other value for users to help with the query.

Similar Messages

  • Sandboxd WebProcess deny mach-lookup ATS Query

    Hi
    I keep getting a lot of these lines on the system log messages (Lion 10.7.3)
    Anyone has an idea what doest it mean?
    Thanks
    13/03/12 13:50:58,285 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 975
    13/03/12 13:50:58,285 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 4033
    13/03/12 13:50:58,286 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 4125
    13/03/12 13:50:58,286 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 4202
    13/03/12 13:50:58,286 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 4477
    13/03/12 13:50:58,287 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 4767
    13/03/12 13:50:58,321 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 975
    13/03/12 13:50:58,321 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 4033
    13/03/12 13:50:58,321 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 4125
    13/03/12 13:50:58,322 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 4202
    13/03/12 13:50:58,323 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 4477
    13/03/12 13:50:58,356 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 4767
    13/03/12 13:50:58,381 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 975
    13/03/12 13:50:58,382 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 4033
    13/03/12 13:50:58,382 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 4125
    13/03/12 13:50:58,383 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 4202
    13/03/12 13:50:58,383 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 4477
    13/03/12 13:50:58,384 sandboxd: ([5444]) WebProcess(5444) deny mach-lookup ATS Query Port 4767

    Although I'm not a software engineer, I've done some research on this...
    This is a common entry type
    WebProcess is trying to accerss a mach service, a component of the oepertaing system
    Sandbox(ing) is a design concept for software, which should help apps be more stable & make it harder for malware ( viruses, et al ) to hijack an app for potentially nefarious purposes
    So the operating system is informing the software developers, in this case @ Apple, that WebProcess is attempting to access something that it either shouldn't or needs to be given the correct permissions to access
    There is nothing wrong with your computer.  This is a tool to help developers find where holes exist in their sandboxed apps.  There is nothing that you can do to fix this & it shouldn't cause any performance issues
    WebProcess is a separate process from Safari.  Basically, Safari is the user interface to the browser & WebProcess is the web page.  Because it is usually the web page that causes crashes, Safari & WebProcess run independently of each other.  This way, when WebProcess crashes, it won't take down Safari.  Rather than rebooting the whole app, WebProcess needs only refresh the open tabs

  • Warranty lookup batch query doesn't work

    Hi
    I encounter a problem with warranty lookup batch query here :
    http://csp.lenovo.com/ibapp/il/WarrantyLookupBatch.jsp
    Every time i try to access this tool i get this error :
    An error occurred while processing your request.
    Reference #97.b1ef54b8.1422368820.2637a55b
    best regard

    hi
    Am i the only one who have this problem ?
    from this page :
    http://support.lenovo.com/fr/fr/warrantylookup
    I fellow the link : "Executer la requête par lots"
    Then I reach this page : http://csp.lenovo.com/ibapp/il/WarrantyLookupBatch.jsp
    with this error message :
    An error occurred while processing your request.
    Reference #97.95fa56b8.1422434472.25843ff  (Edit : => it seem that this value change)
    Can someone try this to confirm the problem from LENOVO or from me?
    best regard

  • Oracle data lookup - Licensing query

    Hi,
    Not finding the right forum to post this query, so i hope the coffee shop folks can be helpful
    We are running SAP R/3 4.7 Enterprise with Oracle 9.2.0 as the backend database (on Windows Server 2003 OS).
    Our Oracle license is embedded with SAP i.e., not acquired separately.
    For business needs we intend to make read only queries to the backend database (Oracle database lookup) programmatically through Microsoft's SharePoint portal.
    For the access methods, one option is to use Business Data Catalog - BDC of sharepoint which queries the Oracle database directly (using xml).
    Would appreciate comments on whether this is authorized or we need any additional component / license?
    I have already noted the restrictions mentioned in note 581312, particularly point 3 which speaks about SAP provided Oracle license
    Thank you
    Zubair

    Hi Jurjen / Hi Matt
    Thanks for the responses. These have been very helpful
    A couple of followup thoughts:
    1. Actually, the current need i am trying to fill is to read the 'reports to' relationship from SAP so as to fill the manager field/attribute in the Sharepoint User profile. I understand that the right way to do this is through standard interfaces of SAP like RFC/BAPI with the authorization checks in place but unfortunately, my sharepoint developer is unable to use RFC with Business Data Catalog (xml based). Says only a database query is possible. Perhaps he is wrong and i am trying to confirm this. If you have any thoughts on it, please do share.
    2.
    >If I remember correctly even read only access can muck up the db statistics and so have an adverse effect on the applications.
    So this means, database performance logs such as ST02 & ST04 may show incorrect information and it might also have an adverse impact on performance right? or anything else too.
    Many thanks
    Regards,
    Edited by: Matt on Feb 4, 2010 1:49 PM - message restored, formatting fixed

  • Fuzzy Lookup addin Query

    I am using Excel 2013, I have installed fuzzy lookup, it got installed without any hassle but it doesn't show up in Excel.
    Load behavior of fuzzy add-in in COM Add-ins shows "A runtime error occurred during the loading of the COM Add-ins."
    If I try to run Add-in then I get following error:
    "The common language runtime could not be loaded by C:\Users\Vicky\AppData\Local\Apps\Microsoft\Fuzzy Lookup Add-In For Excel\Bin\FuzzyLookupAddInForExcel.vsto|vstolocal. Contact your administrator for further assistance."

    Hi,
    Based on the error message, this issue usually occur with fuzzy lookup not installed completely. Would you like to tell me where did you download the add-in? I tested to download
    here and installed/worked well in my local environment ( Windows 8.1 64bit and Office 2013 32bit). If you did not download from here, please try this installation copy.
    Then, if you were also download with above link, I recommend we clean-remove it and re-install it with
    Windows clean boot.
    Please Note:
    Uninstall any previous versions of Fuzzy Lookup Add-In for Excel. Folder path:
    C:\Users\username\AppData\Local\Apps\Microsoft\Fuzzy Lookup Add-In For Excel
    Right-click Setup.exe and Run As Administrator.
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • OIM 11g  UDF of UI type Lookup not reflected in Self Service Profile Page

    I created one UDF of type lookup in admin console. published the sandbox. Then I logged in self service console and created a new sandbox. I wanted to make udf visible in self service page so I started customizing the create user page. But the newly created udf is not visible under userVO.
    Steps to re-produce the issue:
    1. create a new sandbox in admin console. create a new udf of type lookup. publish the sandbox.
    2. login to self service console. create a new sandbox and start customizing. go to create user page. click on customize. select source and select the panel to add the udf. select data component catalog, select userVO. Under this userVO, my newly created UDF is not visible.I cant find my new lookup type udf. I can see the udf created in usr table in DB.
    Please let me know if anybody have faced similar issue and its resolution.
    Thanks,
    Kalpana.

    can you check whether remaining custom UDFs are appearing?
    Is it a problem just with Lookup UDF type?
    Also, this sandboxes are very error prone. So you need to make sure only 1 person is working during 1 specific work with sandbox

  • How to display selected options in lookup F4  query selection screen

    i have to provide selected options  infoprovider specific than all values from database.

    in our company let there is PMACTIVITY TYPE and there is 140 activities, for aspecific group of our manager /users reports designed
    they have specific list of activities ,can i restrict by some ways to show only those relevant options in F4 selection screen
    Regards
    satish

  • OIM 9.1.0.2 Resource Profile Query

    Hello
    I need to get the usr_key or any info on the users in OIM that have a certain condition. I have a number of OID resources for users that have a status or 'provisioned' but when looking at the resource tasks the system validation is set to 'cancelled'. Due to this, updates are not flowing to these users. I am looking through the tables to try to find the resource task list and the status info so I can find the system validation cancelled and location those users. Does anyone have a query to search through and find all users with system validation = canceled and resource status as provisioned? Any help you can give would be appreciated.
    Thanks
    Nick

    I'm positive there's a great way to do it with SQL, but you'll need to look at 4 tables:
    1) OBJ (Objects) - Here you are looking in OBJ_NAME for 'OID User', once found get the OBJ_KEY value for the row.
    2) OST (Object Status) - In this table, you can find all the statuses for the OID User resource based on the OBJ_KEY value. Look for the applicable ones and get the OST_KEY value for each row.
    3) OIU (Object Instance for Users) - Now you can query this table for all results where OST_KEY equals the desired values as found in step 2.
    4) USR (Users) - Here you can get the User ID's (usr_login), User Key (usr_key) or any other value for users to help with the query.

  • Can we make the Lookup Query more dynamic?

    Hello OIM gurus,
    I have a lookup field in my process form and I am entering the properties of this field with the design client, such as Column Names, Captions, widths, Lookup Query etc. I would like to make the Lookup query a little more flexible in that it can take in different lookup codes based on some criteria. To be specific, I would like the lookup query specific to each resource.
    A sample of my query is: 'select v.lkv_encoded,v.lkv_decoded from lkv v, lku u where u.lku_key=v.lku_key and u.lku_type_string_key='<my lookup code>'
    I have lookup codes that are specific to each resource and I would like to use these codes here. I see some things like $Process Data.xxx$ and I am not sure how to use this or change the lookup code dynamically. Or is there a totally different way to do this?
    Thanks in advance
    -SK

    Hi ,
    can anyone please let me know the exact usage of Lookup Quey. I tried to find out in OIM docs but end up with no luck. By this post i am able to write basic lookup query (find out the USR_Login from USR table). I have couple of queries which i am not sure about and will apreaciate if anyone could provide me answer
    1. We have to add property - Lookup Column names, Column names, Column width and Caption for lookup query. What are their usage and restrictions (what values we can use and what we cannot).
    2. I am using my lookup field currently in AD resource form. My requirement is to provide manager options to search for user (in AD resource form only) for his/her direct reports having AD account. For this i tried to lookup the query on UD_ADUSER table but it is giving me error (even resource form on console is not coming up) Does LookupQuery is not much flexible to query the connector tables. if so how can i compete my requirement.
    3. Does lookup querry (in resource form) provides you option to provide the filter as per user attribute value in OIM user profile.
    Thanks.....

  • Lookup codekey value in Request dataset in OIM 11g

    Hi,
    Below is my Attribute reference in Request dataset in OIM 11g.
    Could you please suggest what could be the possible Lookup code key values in lookup 'Lookup.AccountingControl.Roles'
    I tried giving CodeKey values as "ACCOUNTING CONTROL~" then Decode value as "Administrator" , However it does not give any value.
    So I think what I am giving as Codekey value is wrong based on below lookup query.
    What could be the correct value for CodeKey ? Thanks!!
    <AttributeReference name = "Role Name" attr-ref = "Role Name" type = "String" length = "256" widget = "lookup-query"
    available-in-bulk = "true"
    required = "true"
    primary = "true">
    <lookupQuery
    lookup-query = "select lkv_encoded as Value,lkv_decoded as
    Description from lkv lkv,lku lku where lkv.lku_key=lku.lku_key and
    lku_type_string_key='Lookup.AccountingControl.Roles' and instr(lkv_encoded,concat('ACCOUNTING CONTROL','~'))>0"
    display-field = "Description"
    save-field = "Value"/>
    </AttributeReference>

    Yes..You were right.
    You resolved one of my issue. I have marked it as answered giving 10 pts ;-)
    I think I have already raised another forum question where I needed to pass this Accounting Control as dynamic and this is one Resource Obkect selected from previous page.
    You asked me to use Prepopulate adapter to get the Resource Object name.
    I have still some questions to solve that issue.I will put that question there. It would be great yo answer it.

  • How can i pass a parameter to the query to filter the result of this lookup

    Hello,
    i'm developping a web application with JDeveloper 10.1.2 and JHeadStart.
    i realy need to know how can i filter the lookup (LOV) query result.
    in other word, when i click on the lookup, it show all the row that exist in may data base table.
    what i want is how can i pass a parameter to the query to filter the result of this lookup ?
    Thank you

    Hi,
    have a look if this helps
    http://oracle.com/technology/products/jdev/tips/fnimphius/restrictlovlist/restrictlov.html
    Frank

  • OIM dynamically loading lookup values

    hi.
    we have extended the Create User form with som additional attributes. these are defined as lookup fields. what we want to accomplish is to dynamically populate the lookup values based on the value of the previous lookup field. e.g. if we choose "Car" in lookup A a set of car manufacturers will be populated in lookup B, but if we choose "Boat" in lookup A a set of boat manufacturers will be populated in lookup B.
    any ideas?
    //tb

    You would have to use a pre-update entity adapter to populate the rest of the values based on an initial selection. It won't be a dynamic looking like on a request if you use a Lookup SQL Query using the different fields that have already been selected.
    -Kevin

  • Updating values dynamically in an user attribute which is lookup field

    Hi All,
    Can I have a pre process event handler to update the values in the lookup field on my create user page? I have two user attributes - one is the default organization and the other is a user created Country attribute. Both of these are Lookup fields. I want to update the country lookup field by checking what is selected in the organization lookup field. Is this possible in OIM?
    Not sure if pre process event handler is the way to go but this is what I want to achieve. Can anybody guide me regarding the same?
    Thanks,
    $id

    OK, here's my shot at a walkthrough... let me know if I missed any steps.
    1. From your original post, you are using two lookup fields. I'm use a base VM for testing, so I needed to create two. I went with City and State (I know they are OOB, but this is just an example).
    - Created Lookup.Custom.City and Lookup.Custom.State Samples:
    Lookup.Custom.City
    Code Key-Decode
    Miami-Florida
    Orlando-Florida
    New Orleans-Louisiana
    Lookup.Custom.State
    Code Key-Decode
    Florida-Florida
    Lousiana-Louisiana
    - Creating Custom UDF Attributes: Advanced->User Configuration->Actions->User Attributes (LOV's)
    -- Office City and Office State
    2. Use weblogicExportMetadata.sh to export /metadata/iam-features-requestactions/model-data/CreateUserDataSet.xml
    3. Edit CreateUserDataSet.xml to add:
    <AttributeReference name="Office State" attr-ref="Office State" available-in-bulk="false" type="String" length="20" widget="lookup" lookup-code="Lookup.Custom.State" required="false" mls="false"/>
    <AttributeReference name="Office City" attr-ref="Office City" type="String" length="30" widget="lookup-query" available-in-bulk="false">
    <lookupQuery lookup-query="select City.LKV_ENCODED as City from (Select LKV_ENCODED , LKV_DECODED  from LKU LKU, LKV LKV where lku_type_String_key = 'Lookup.Custom.City' and lku.lku_key = lkv.lku_key) City, (Select LKV_ENCODED, LKV_DECODED from LKU LKU, LKV LKV where lku_type_String_key = 'Lookup.Custom.State' and lku.lku_key = lkv.lku_key and lkv_decoded='$Form Data.Office State') State where State.LKV_ENCODED = City.LKV_DECODED order by City" display-field="City" save-field="City"/>
    </AttributeReference>4. Use weblogicImportMetadata.sh to import CreateUserDataSet.xml
    5. Run ./PurgeCache ALL (same directory)
    6. Go to request - create user (this example is for request based provisioning)
    7. If all went ok, when you select State, let's say Florida, then when you then click on city lookup, you will only see Orlando and Miami. If you toggle the state to Louisiana, you'll need to click search again on city and New Orleans should be the only one that comes up.

  • Can't find a lookup defined via Oracle Apps in the FND_LOOKUP_TYPES table

    Hi,
    i defined a lookup via Oracle Apps, but when i query for it in the FND_LOOKUP_TYPES table, it does not show up. Does something more needs to be done for the lookup definition to appear in the table?
    Thanks,Smita

    hi Hussein,
    In Oracle Apps 11.5.10, I created a Manufacturing Lookup, then queried for it as follows:
    select * from fnd_lookup_types where lookup_type = 'XXBREG_LABEL_PURPOSE'.
    It returns 0 rows. Why is the table not acknowledging the lookup I defined via Oracle Apps?
    thanks,
    smita

  • LOOKUP not retreiving data

    Hi,
    I have a lookup function not retreiving any information. If a create a report in my application called "Rates" and use the same selection as in my LOOKUP function I can see a number, but for some reason it retreives a zero.
    In my REC statement i divide by LOOKUP(PRC). If I exclude the division the number from "A11100" is moved. Is there somehow I can see/check (or...) what the LOOKUP is querying out?
    *XDIM_MEMBERSET CATEGORY=BUDGET
    *XDIM_MEMBERSET CUSTOMER=P01
    *XDIM_MEMBERSET DATASOURCE=UPLOAD
    *XDIM_MEMBERSET PRODUCT=P101
    *XDIM_MEMBERSET PROFITCENTER=H111
    *XDIM_MEMBERSET RPTCURRENCY=LC
    *XDIM_MEMBERSET TIME = 2009.JAN
    *XDIM_MEMBERSET MEASURES=PERIODIC
    *LOOKUP Rates
    *DIM PRC:PRate_Acct = "PR10000"
    *DIM PRC:PRate_Entity = "GLOBAL"
    *DIM PRC:Product = "P101"
    *DIM PRC:Time = "2009.JAN"
    *DIM PRC:Category = "BUDGET"
    *DIM PRC:MEASURES = "PERIODIC"
    *ENDLOOKUP
    *WHEN ACCOUNT
    *IS "A11100"
    *REC(EXPRESSION=%VALUE%/LOOKUP(PRC),ACCOUNT="A90100")
    *ENDWHEN

    Hi,
    Problem solved. Writing all dimension ID in capital letters solved the problem:-)
    /Lars

Maybe you are looking for

  • TS1398 After the 6.0.1. update on my iPhone 4s the option for wifi has greyed out and cannot be selected. What can I do to restore wifi?

    I have held off updated my iPhone 4s with the 6.0.1 but having problems connecting to wifi I thought maybe being out of date was the problem. Having done the update the wifi option is now greyed out and cannot be selected at all.  I have rebooted, fo

  • Regular expressions and input streams

    Hello, I am trying to find a way to read characters from a stream and find matches in them with regular expressions. The problem is that the stream may contain a big amount of characters, so I can't read all of them, keep them in a big string, and th

  • Is there a script for this?

    Hello, I have a 176 page pdf that has black type throughout, a lot of those pages also have boxes filled with black. I need to change the boxes to rich black but leave the type black only. I tried using actions but it changes both since they have the

  • Python / GtkSourceView

    Is it me or every python applications that use gtksourceview are broken (Scribes and some customs applications I've made) ? Seems like it's not included anymore in gnome-python-extras-2.14. And the pygtksourceview binding in AUR is deprecated. Anyone

  • Bridge dropped in 1.4 - vote for Bug Nr. 4616580

    I don't know if it will help, but if you need this bridge you can vote for it. Maybe they can still release it in a different form. thanks robert