Lookup Properties Problem

Hi,
I have a requirement for my lookups. Lookup is like this
Code Key | Decode
BB_PS_AM_ACT | AM Accountant
BB_PS_AM_ANL | AM Analyst
Now requirement is, when user clicks on the lookup field on Object Form then he should only see "AM Accountant and AM Analyst". No code values should be displayed. Then he will select say AM Accountant. So on Object Form JSP "AM Accountant" will be displayed. But when he saves the form then in backend (database) I shud get corresponding Code Key (BB_PS_AM_ACT). I have tried all the tricks that I know but no luck.
I can achieve this if I display both Code Key and Decode on JSP. But I don't want to display Code Key.
If somebody has exact answer that would be great.
Edited by: user10364066 on Jan 21, 2009 9:54 AM

Try this,
For your lookup, define it as such:
query = select distinct lkv.lkv_encoded from lkv, lku where lku.lku_key=lkv.lku_key and lku.lku_type_string_key='Lookup.<NAME>' order by UPPER(lkv.lkv_encoded)
Lookup Column Name = lkv_encoded
Column Widths = 100
Column Names - lkv_encoded
Column Captions = code
Then using process form mappings, map the value from your lookup, to a field that using the normal lookup of just defining the lookup code. Then you get to see just the friendly value when on the object form, but the process form will actually hold the other value.
-Kevin

Similar Messages

  • Lookup Query error: "Lookup properties not configured correctly"

    Hi!
    I have come up with some problems on configuring lookup query.
    I get this error: "Lookup properties not configured correctly" on admin console-->user-->manage-->selecting the user-->Resource profile-->edit the process form
    I created a table called "test_lookup" with the following columns: Oraganization, division and position (all varchars) in the database.
    For Lookup Query:
    This were the steps done on design console -->form designer-->properties tab:
    On " Grupo(lookupfied) " I set the following properties:
    Column widths = 100
    Lookup Query = select Organization from test_lookup
    Lookup Column Name = Grupo_teste
    Column Caption = Organization
    Column Names = Grupo_teste
    On design console for Lookup definiton I set the following:
    code: Lookup.KON.Grupo_teste
    field: Grupo_teste
    Lookup type: checked
    Required: uncheked
    Code key | Decode Key
    Organization Organization
    Any idea why this is hapenning? Any suggestion is more than welcome!
    Thank you.
    Kind Regards,
    Kon

    Refer this:
    User list lookup
    Column Names = usr_key,usr_first_name,usr_last_name
    Lookup Column Name = usr_key
    Lookup Query = Select usr_key, usr_first_name, usr_last_name from usr //(where act_key=123)
    Column Captions = User Key,First Name,Last Name
    Column Widths = 10,100,100
    Have you tried this:
    b)Select ACT_KEY from USR where USR_LOGIN = '$Requester Information.User Login$'
    In lookup coloumn name=act_key
    In coloumn width =100
    In coloumn names=act_key
    in coloumn caption =Organization Key

  • Lookup properties not configured correctly

    Hi,
    I have configured lookup query ,in which I am taking value from the RO form data like below.
    UD_IDMSP.UD_IDMSP_IDMS_VERSION = '$Form data.UD_IDMSRF_IDMS_VERSION$'
    Although the resuls are coming as expected I am getting "Lookup properties not configured correctly" this message in lookup popup window.
    Please provide some guidelines.
    Thanks,
    Pallavi

    Lookup Query :
    select distinct UD_IDMSP_IDMS_User_ID from UD_IDMSP where orc_key in (select orc_key from oiu where ost_key in (select ost_key from ost where ost_status in ('Provisioned', 'Enabled') and obj_key = (select obj_key from obj where obj_name = (select lkv_decoded from lkv where lku_key = (select lku_key from lku where LKU_TYPE_STRING_KEY = 'RETS.RODisplayName.Lookup') and lkv_encoded = 'IDMS'))) and UD_IDMSP.UD_IDMSP_IDMS_VERSION = '$Form data.UD_IDMSRF_IDMS_VERSION$')
    Lookup Column Name : UD_IDMSP_IDMS_User_ID
    Column Captions : User ID
    Column Names : UD_IDMSP_IDMS_User_ID
    Column width : 100
    This is all

  • Link to Url properties problem

    Hello all,
    i am working on link to url UI element.
    the url that i have is larger than that i can put in reference property of link to url UI Element.
    How may i put whole of the url in reference properties of  link to url UI Element without length problem.
    Thanks & Regards.
    Vikash

    workaround:
    create an action and open the link via WINDOW API or with an exit plug
    http://help.sap.com/saphelp_nw04s/helpdata/en/45/1bc575ba064574e10000000a114a6b/content.htm
    regards
    stefan

  • DW CS3 Page Properties problem - I don't have font, repeat  options

    I have been following some online tutorials and they are also in CS3, DW but my page properties layout and options are different within the program.
    Is there something that needs updating/ downloading turning on in an advanced option? I have looked over the web and can find others with the same problem but not a solution.
    Hope you can help.
    The link below at the bottom of the page on the left has a thumb nail of the properties page which matches mine, note no repeat, font and other options are missing compared to others and I imagine yours.
    http://forums.macrumors.com/showthread.php?t=361918
    thanks

    I had the same problem although it was a previous update rather than this one that caused the problem. Just hadn't got round to doing something about it - was using Bing images instead.
    I searched for some answers this morning and seemed like most suggestions were a nuisance to try. Couldn't find 'Preferences button of HTTPS-Everywhere' as suggested above. Decided to check if No Script was blocking it. Sure enough. So problem is solved.
    Thought I'd put it out there in case it helps someone else. Appreciate that people are so helpful on here.

  • Lookup routine problem

    Hi
        I have problem in Lookup routine in transformation.
    But need for some object which were not in Standard infocube 0sd_c03, i have created one customize Infocube ZSD_C03_1 where data have been coming from Standard 0SD_C03 infocube by Lookup Transformation routine & running full load DTP in Daily basis. It is working fn till today.
    But problem is that now size of data is very huge while full DTP run from 0sd_c03 to ZSD_C03_1. can any one give suggestion what should i do for only delta data come. lookup routine should update data in daily.plz help

    Hi
    In that case i would suggest you to have a DSO between the data loding process as your expectation cannot be met with data
    loading between cube to cube.
    Just create a standard DSo between the cubes and do the data loading so that the delta handling will be as per your
    expectation
    Prathish

  • Properties problems

    Hi,
    I have a properties file inside my project (within the jar file).
    I can read the properties from this file without problem. However, when I try to write the changed properties, my application will create a new properties file in the same folder as the jar file (outside of the jar-file).
    I use the         props.store(new FileOutputStream("app.properties"),"someheader");Apparently this is not the way to go. Could anyone tell me what ?s the way to go?

    vampke wrote:
    Thank you Chicon. This is what I fearedNothing to fear. A common situation is to have a default properties file in the JAR, but allow it to be superceded by a properties file in the file system.
    Reading from the JAR is easy:
    public Properties load(String path) throws IOException {
        ClassLoader loader = Thread.currentThread().getContextClassLoader();
        InputStream in = loader.getResourceAsStream(path);
        try {
            Properties p = new Properties();
            p.load(in);
            return p;
        } finally {
            in.close();
    }

  • Multi Value Lookup Save Problem

    Hi, 
    I am trying to save records in Multi value look up table. The problem is that only the last record is getting saved.
    Can anyone please help?
    Regards,
    Sruti

    Hi Deepti,
    Qualified Lookups are always Multivalued and no specific property has to be enabled atleast within MDM to make it Multivalued.
    By selecting The Qualified Lookup table Multivalued,It should allow you to save Multiple NQ values for a given record.
    You can have a look at the below link to know about the Java methods provided to work with MDM:
    http://help.sap.com/javadocs/MDM/SP05/(Java api programs)
    https://help.sap.com/javadocs/MDM/current/index.html  (java api codes)
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • JNDI lookup/properties

    Hi
    Is there anobody that has got this figured out totally. From all the question on Sun and Oracles forums it seemst that the Lookup with JNDI is a massive problem for everybody.
    Is there some utility written by someone that can actually be run agains OC4J to tell you what is available in the JNDI lookup tree? This will make it a lot easier to find answers to all these questions.
    I 'm now trying to get the MDB environment going but can't get the JSP from the messagelogger example to look up the queue. NameNotFound exception. a Utility that will tel you what is available and what not will make a stunning tool. Now I havent got any idea if the problem is in hte OC4J setup or the JSP.
    Tks
    Andre

    Hi
    Is there anobody that has got this figured out totally. From all the question on Sun and Oracles forums it seemst that the Lookup with JNDI is a massive problem for everybody.
    Is there some utility written by someone that can actually be run agains OC4J to tell you what is available in the JNDI lookup tree? This will make it a lot easier to find answers to all these questions.
    I 'm now trying to get the MDB environment going but can't get the JSP from the messagelogger example to look up the queue. NameNotFound exception. a Utility that will tel you what is available and what not will make a stunning tool. Now I havent got any idea if the problem is in hte OC4J setup or the JSP.
    Tks
    Andre

  • Ejb transaction management jndi lookup name problem

    Hi everyone
    i want to use usertransaction object.
    &#304; called it with jndi name like UserTransaction tran = (UserTransaction) ctx.lookup("java:comp/UserTransaction");
    But there are many exception occur.
    Exception in thread "main" java.lang.NoClassDefFoundError: org/netbeans/modules/schema2beans/BaseBean
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at com.sun.enterprise.admin.event.AdminEventListenerRegistry.addEventListener(AdminEventListenerRegistry.java:262)
         at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.<clinit>(J2EETransactionManagerImpl.java:1404)
         at com.sun.enterprise.distributedtx.UserTransactionImpl.init(UserTransactionImpl.java:119)
         at com.sun.enterprise.distributedtx.UserTransactionImpl.<init>(UserTransactionImpl.java:101)
         at com.sun.enterprise.distributedtx.UserTransactionImpl.<init>(UserTransactionImpl.java:92)
         at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:194)
         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:407)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at org.columbus.teien.entities.Deneme.main(Deneme.java:42)
    Caused by: java.lang.ClassNotFoundException: org.netbeans.modules.schema2beans.BaseBean
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    My session beans are stateless and i use container-managed transaction management(cmt)
    And my application server is glassfish 2.1
    How can i use this problem.
    Thanks for your reply.

    Do you have org.netbeans.modules.* classes referenced in your code?
    Those IDE classes are (correctly) not available on your container so you should consider not using them in your code.

  • Netbeans .properties problem

    Hi, like many users on this forum i see i am having a problem with Netbeans 6.8 and .properties files. All the solutions i have seen posted on this forum and others don't work when i try them i have the culprit file in the Source packages category and i have tried placing it in many categories in Netbeans and directories on my windows 7 computer and have no luck here is the code i have for this
    public static InputStream in;
    public static String servername;
    public static Connection con = null;
    public static String fullname1;
    public String setserver(){
    servername = server_entry.getText();
    String servername2 = servername;
    try {
         Properties prop = new Properties();
    in.getClass().getResourceAsStream("servernames.properties");
    prop.load(in);
    prop.put("database",servername2);
    in.close();
    any help would be appreciated and if you don't want to help or are going to say "figure it out your self" or "do a search someone already found a fix" Don't i searched high and low and found nothing that worked, thanks

    Having never had the problem you express nor seen before in the years I've been on the forum, all I can tell you is the general procedure I go through when I suspect an install problem, and I would definetely suspect an install problem in your case:
    1 - check your logs to see if there are any needed services that are not starting and resolve the problems to enable their loading
    2 - uninstall your software (IDE and Java)
    3 - delete the root folder of each
    4 - edit my environment variables to remove any mention of it or prior versions in my path
    5 - edit my environment variables remove my classpath entry alltogether.
    6 - run a regitry cleaner like CCleaner until no registry errors persist. you'll probably need to run this multiple times.
    (this is not an endorsement for that free product, but I do use it and it does work and it is free.)
    7 - reboot (cold boot)
    8 - download fresh copies of the software (IDE and Java)
    9 - install Java
    10 - reboot
    11 - install IDE
    12 - reboot
    13 - check path environment variable and make any nessisary changes
    14 - check path environment variable and make any nessisary changes
    I have to think your system is messed up some place and your install did not complete or register correctly.

  • Automatic Update - deployment.properties problems with JRE 1.6.0_05

    Hi!
    This is a Automatic Updated daisable problem.
    I have change the update policy values in the registry but still have one more problem:
    I want to deploy JRE 1.6.0_05, in earlier versions ie 1.4 there has been a windows\sun\java\deployment where the initian deployment.properties file is located. But in the 1.6.X ther is no such folder and the deployment.properies file is still "copied" when you start ie "javacpl.exe" . I would like to disable the
    choice "Download JRE automatically" in the javacpl.exe to "Never download..." but the initial choice when the file deployment.properties is created is "alway download..." .
    Am I still save only with the registry key changes, or do I have to change the value in the deployment.properies and if so, where is the "original" copy that copies the file into C:\Document and Settings\[user]\Application data\Sun\Java\Deployment\
    kindly,
    manekin...

    Hey lynchmob,
    Try these steps to correct the problem, you need to be logged in as an administrator:
    1. Go to the group policy editor. You can get they by typing gpedit.msc into the Run dialog.
    2. Navigate to computer configuration->administrative templates->windows components->internet explorer.
    3. Disable "make proxy settings per-machine (rather than per-user)".
    4. Login with the user account and go to Internet Options.
    5. Go to the Connection tab.
    6. Click on the Lan Settings button.
    7. You may notice that the proxy settings are not correct. Change the proxy settings to be whatever is required for your proxy.
    8. Configure Java to use browser proxy settings.
    9. Open the java console.
    10. Set debug level to 5.
    11. Press 'p' to reload proxy settings. Use the trace messages to verify correct proxy settings were loaded.

  • MSI display properties problem

    i have a ms star force geforcefx 5600 video card installed as well as the software which came with it ,MSI media centre deluxe 2,i noticed the other day when i click on display properties and click on msi information i get an error which reads (run dll as an app has encoutered a problem and will close),
    i aslo tried to uninstall msi media centre to see if this might be the cause as the problem was first noticed not long after it was installed but it come up with an error(msidrif.dll(0x001)problem loading dll. can anyone help me get rid of this program or fix the other problem
    thanks Dave

    Uninstall the MSI drivers and Install Drivers from nVidia
    http://www.nvidia.com/content/drivers/drivers.asp
    If you want to overclock see link below
    http://oc3dmark.octeams.com/tip02.html

  • DNS Lookup Timeout Problems with Cisco SA520w

    Hello,
    We are trying to configure our new Cisco SA520w with our Internet connection.
    As soon as we replace our existing Linksys RV042 with the Cisco SA520w, we find that DNS lookups start to take longer and longer to resovle. For example, an nslookup against yahoo.com will timeout, or take 10-12 seconds. Web browser requests simillarly take 30-45 seconds to resolve.
    We've tried using both Google's and OpenDNS servers, as well as our ISP's nameservers. In all cases, the long DNS resolution takes place.
    At first we thought that the firewall was misconfigured. However, we removed all firwall rules, and continued to experience the problem.
    We've tried checking and unchecking the DNSProxy checkbox, but this doesn't seem to have any noticeable impact.
    Does anyone have any idea about which setting impact DNS looksups, or what else we might try to troubleshoot this issue?
    Thanks,
    Chris

    Regarding the question on 5-10 days for product support to become active, I followed up with the CA team and received the following, which is good for All partners to know...
    Below is a description of the primary cause of delays in contract registration.
    Contract registration takes 24-48hrs. Delays are generally caused by the Reseller/Partner who doesn't provide the product serial numbers to Cisco when they purchase the service. The contract cannot be registered until the Reseller or the Disti provides the serial numbers to Cisco via SMS3 (or B2B). In cases where Disti doesn't have a mechanism to collect the serial number before the product is shipped, or in cases of drop-ship, the Distis often have to track down their Resellers to get the serial numbers to Cisco.
    There is a new program being discussed (drawing board now, so not available today) which will to allow the end-user to register the contract themselves, thus eliminating the need for the Disti or the Reseller to collect the serial number an input it into SMS3.
    But in any case (now or later), when a customer calls in for support, if their contract has not yet been registered, the SBSC can work with the Global Entitlement Team to look-up the contract via the PO or SO number and complete the registration so service can be provided.
    Hope this helps...
    Steve

  • Page Properties Problems

    DW CS4 OS X/10.5: I am having problems getting the correct MIME type and character encoding to "stick" when I edit old pages. Two things go wrong, the first of which is just an annoyance, the second of which is my problem-to-be-solved. Editing a page that says in the lower right corner of the window that the character encoding is ISO Latin 1. I want to tell DW that I am using UTF-8 so I can type things like curly quotes from the keyboard instead of using HTML character entities. I already have a PHP header that handles this properly depending on the browser's capabilities, so I don't need or want a meta tag added to the head of the document. In particular, my PHP code generates the correct MIME type for xhtml 1.1 files, depending on what the browser says it can accept (application/xhtml+xml for browsers that understand it; text/html for ones that cannot).
    When I go to Modify->Page Properties, the first problem is that when I click on Title/Encoding, I have to dismiss four dialogs that inform me that "auto" is not a standard value for this CSS property. Presumably this is a reference to the four auto settings for margins on the Appearance tab, which is irrelevant to the task at hand. As I said above, this is an annoyance, but I can click "Yes" four times to get rid of these pretty quickly. Still, it's a bug that the settings should default to invalid values.
    The real problem is that when I get to the Title/Encoding tag and select UTF-8 for the character encoding, DW adds a meta tag to the head of the document that tells what the character encoding is and what the mime type is. But I can't keep this meta tag because it tells all browsers that the MIME type is text/html, defeating the purpose of sending the correct MIME type depending on the browser's capabilities. But if I delete the meta tag, the next time I open the file in DW, it thinks it's an ISO-Latin-1 file again. Despite my global preference to treat files of unknown character encoding as UTF-8.
    Bottom line: is all this a bug in DW, or is there actually a way to get DW to interpret the character encodings of all legacy pages as UTF-8 instead of ISO-Latin-1?

    They do seem to match up in the bean and this is the line I use to set the Book as the bean ID in the JSP.
    <jsp:useBean id="Book" class="com.resBook" scope="request"/>
    Any other suggestions?

Maybe you are looking for

  • I am having a problem with iTunes deleting my playlists since iTunes Radio came online. Help!

    First of all, I'm a music teacher and loyal to iTunes.  Last week I came in and turned on my computer and opened up iTunes. I keep my entire library on an external drive due to the volume of songs I have.  When I opened iTunes, it popped up with the

  • HELP! I need some help from true Mac fans! What should I buy???

    So, I'm moving to Japan, which has a couple of implications (other than the fact that my wife's parents and my parents are looking for any legal recourse to stop us from taking their only grandchild out of the country). More importantly however, I ha

  • "itunes.exe - No disk There is no disk in the drive.

    The following message shows up whenever I open itunes: "itunes.exe - No disk There is no disk in the drive. Please insert a disk into drive\Device\harddisk1\DR2" Can anyone tell me what this means, and more importantly how do I make it stop? As long

  • When I place Ps and Ai files into Id it gets pixelated. How do I fix this?

    I'm making some brochures for a church and I created the text and designs in Ai. When I go to place the Ai file in Id the text and images appear all pixelated! I have tried to do the same thing with Ps files and the text gets pixelated their too. Am

  • What is "node #-1"?

    I am opening a .step file in Adobe Toolkit, creating an animation, saving it as a ud3 file, and opening it within Acrobat 3D. Everything works fine, except over in my model tree, above where the components are listed, the top-most level in the tree i