OAF: Lov- storing n displaying different attribute

Hi Everyone,
I have created one Item 'Employee' with Item Style:messageLovInput and under that one region with Region Style:listOfValues under this created 3 items.(eno, ename, phone)(this is from one VO).
like this i have different items for employee creation page. And also one button Save.
when user clicks on Save button then the data in the page should be saved in other table(employeedataTable).
My requirement is: when user run the page and see the output page the ename should be displayed in the lov (Employee) but when user clicks on the save button then eno should be saved in the table employeedataTable.
Plz help me to get out of this.
Any suggestions will be really useful.
Thanks.

Hi,
Take a form value item and get the eno corresponding to Employee by lov mapping.
After clicking save button get form value and set that value in the table.
Regards,
Shrawan

Similar Messages

  • Where is the "Icon Display Period" attribute stored?

    G'day All,
    I have a procedure that needs to referenece the "Icon Display
    Period" attribute for a particular content area (this is normally accessed via
    the Content Area properties page). Try as I might, I cannot track down
    the table/column that stores this little gem of a value:-( Anyone have
    any ideas where this might be located?
    Cheers
    Kal.

    G'day Sharmila,
    Thanks for your quick response:-) Unfortunately neither WWV_THINGS nor WWV_CORNERS
    seems to contain what I'm looking for (either that or I'm really missing something here).
    My understanding is that WWV_CORNERS contains information about individual folders.
    I use this table to get the UPDATEDATE and CREATEDATE attributes to which I want to
    compare the difference between the current date and the "Icon Display Period".
    WWV_THINGS seems to contain information about idividual items but I'm only really
    interested in folders for the moment.
    Now "Icon Display Period" seems to be a content area wide property. The default is 7 days.
    I've looked at tables like WWSBR_ALL_CONTENT_AREAS and WWSBR_ALL_SITES
    but they don't seem to hold very much information at all:-( Hmmm ... just looking at the Content
    Area Properties page and there seems to be quite a lot of information there. Surely It must
    be stored somewhere?
    Anyone have any ideas?
    Kal.

  • How to display different icon within WDA alv table base on row data ?

    Hi,
    is that possible to display different icon for every row within ALV table depending on the row data ?
    for instance if the status 'S' display ~Icon/SuccessMessage and 'E' display ~Icon/ErrorMessage ?
    because base on this code below i only can set 1 icon for the whole row data.
    LOOP AT lt_columns ASSIGNING <fs_column>.
        CASE <fs_column>-id.
          WHEN 'ICO'.
            CREATE OBJECT lr_caption.
               lr_caption->set_image_source( value = '~Icon/SuccessMessage').
               <fs_column>-r_column->set_cell_editor( lr_caption ).
        ENDCASE.
      ENDLOOP.
    Thank you in advance.
    Fernand

    Hello,
    Yes it is possible to display different images based on data.
    For that what you can do is create one attribute 'STATUS' of type string in context node which you are mapping to ALV.
    And fill that attribute with the path to image based on your requirement like for status 'S' set the attribute to ~Icon/SuccessMessage and if status is 'E', set it to ~Icon/ErrorMessage at runtime.
    Now in the settings for ALV use the following code:
    * Display icon in column seatsocc
      DATA: lr_column TYPE REF TO cl_salv_wd_column,
            lr_image TYPE REF TO cl_salv_wd_uie_image,
            lv_icon TYPE string.
      lr_column = lv_model->if_salv_wd_column_settings~get_column( 'SEATSOCC' ).
      CREATE OBJECT lr_image.
      lr_image->SET_SOURCE_FIELDNAME( 'STATUS' ).
      lr_column->set_cell_editor( lr_image ).
    in the above code, column 'SEATSOCC' will be displayed as an icon.
    Sample code to fill the attribute 'STATUS'
    LOOP AT lt_flights INTO ls_flight.
        lv_seatsfree = ls_flight-seatsmax - ls_flight-seatsocc.
        IF lv_seatsfree = 0.
          ls_flight-status = 'ICON_RED_LIGHT'.
        ELSEIF lv_seatsfree <= 50.
          ls_flight-status = 'ICON_YELLOW_LIGHT'.
        ELSE.
          ls_flight-status = 'ICON_GREEN_LIGHT'.
        ENDIF.
        MODIFY lt_flights FROM ls_flight.
      ENDLOOP.
    Hope this helps!
    Regards,
    Srilatha
    Edited by: Srilatha M on Jun 25, 2010 12:02 PM

  • SOLVED: Unable to set Destination URI to URL stored in a VO attribute

    Hi OAF Gurus,
    I want to set destination URI for a message styled text bean in my custom OAF page, such that on clicking the link a popup window comes up with an external url. This external url is record specific and is stored in a db table. I have access to this url thru a VO attribute on my page.
    If I set destination URI declaratively using a static url, it works fine for me. However when I try to pick up the destination url from VO attribute, fwk is prefixing "http://server:port/" to the url and consequently making it an invalid url.
    Please suggest a way to stop fwk from prefixing "http://server:port/" to the url stored in my VO attribute.
    What works:
    Destination URI:
    javascript:var a = window.open('http://www.google.com/', 'a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no'); a.focus();
    What doesn't work:
    Destination URI:
    javascript:var a = window.open('{@BpelInstanceUrl}', 'a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no'); a.focus();
    VO attribute BpelInstanceUrl has value "http://www.google.com/".
    When I specify the above destination uri using VO attribute 'BpelInstanceUrl', I get the following url on the link:
    javascript:var a = window.open('http%u003a//www.google.com/', 'a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no'); a.focus();
    I searched the forum, but couldn't find any discussion on setting destination uri to an external url based on the value of a VO attribute.
    Thanks for the help. Waiting for your valuable inputs.

    Shiv,
    I don't think your suggestion will work, because jsp redirect which framework will use internally will take default port number if fully qualified url(like http://www.google.com/') is not used.So, Ritesh will have the same problem as he mentioned.
    Now, Ritesh coming back to your problem, the solution is to attach the fully qualified url in the table component at runtime. This will help you in two forms:
    1)There will be no MAC key validation for your javascript generated url.
    2)Your fully qauilified url will be attached to url property at runtime, so would not face the current problem.
    Hence you need to use bound values api. Here is the sample code:
    OATableBean tableBean =
    (OATableBean)webBean.findChildRecursive("<table item id>");
    OAMessageStyledTextBean m= (OAMessageStyledTextBean)tableBean.findChildRecursive("<message styled text in table item id>");
    OADataBoundValueViewObject tip1 = new OADataBoundValueViewObject(m, "<vo attr name which stores url for each row>");
    m.setAttributeValue(oracle.cabo.ui.UIConstants.DESTINATION_ATTR, tip1);
    I hope i am clear.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • CRM2007-Display an attribute set (Marketing ) on the header page of BP

    Display an attribute set (Marketing ) on the main view of the business partner
    Only the attributes of a certain attribute set should be displayed. The full mkt attrib tab is available in the standard solution.
    Example: We want to show the attributes of set u201CBP_CUST_CLASSu201D on the header page.
    Regards
    Aashish

    Hi,
    this should be possible. Here a short idea how:
    Create a new view as table view that displays the marketing attributes. Have a look at the standard solution or even copy it. In the ON_NEW_FOCUS method filter out all attributes of different attribute sets than you desire.
    In the BP Details page create a new viewarea and assign your newly created table view to it.
    cheers Carsten

  • OAF: LOV and Dependant poplist(based on LOV input)???

    Hi all,
    i have one LOv and depending on this i need to develop one dependent picklist.
    the poplist should display the values depends on LOV.
    Example: LOv is displaying "ename" and picklist should display "deptno" of employee based on the "eno"(corresponding to the ename selected in LOV).
    Note: LOV and poplist have different VO queries.
    Plz help me to get out of this...
    Any answers will be really useful.
    Thank you.,,

    Kumar ,
    Lov by itself is an fire action , you don't have to set fireaction manually , try to get the bean as below and try it out .
    OAMessageLovInputBean TicketEligibleLOV=(OAMessageLovInputBean)oawebbean.findIndexedChildRecursive("OfferDetailsFlex18");
    if(TicketEligibleLOV!= null)
    make sure bean is not null
    Please refer this
    How to set the fire Action For LOV
    Regards ,
    Keerthi

  • Same colors display differently between Illustrator and Photoshop

    Hi there,
    I would love to know why the same colors display differently between my Photoshop and Illustrator apps (CS3). For example, a logo will display much darker or more vividly in Illustrator than in Photoshop, same file, same colour values. My color settings are synchronized from Adobe Bridge to North American Pre Press 2. I've opened the logo file in RGB color mode, in both apps. It would be so helpful if both apps displayed the colours consistently.
    Any suggestions on how to do this would be wonderful!
    Thanks!
    Bobbie

    Hello Bobbie,
    I am using CS3 too and let me tell you that this Illustrator version is the worst ever. You best bet is to take the "Eye Drop" tool and select the Photoshop element to match the color.
    CS4 also have problems when handle placed items. Sadly I can tell you that CS2 is more reliable than CS3 and CS4.
    Not even if you use Pantone colors will match, Illustrator will change the colors making it impossible to match. "Adobe Quality"

  • OAF LOV changes

    We have two LOVs in form. LOV2 should return values based on value selected on LOV1.  Is this accomplish through OAF personalization?
    Regards

    You can do this in your controller.
    Extend the controller and create an new LOV field
    After creating the LOV Field, set the VO Attributes, labels and other required values.
    Once done add the criteria     
    <lovBeanName>.addLovRelations(pageContext, "<Result field Id>", // base page item
                                         "<Lov Item Id>", // lov item
                                         LOV_RESULT, // direction
                                         LOV_REQUIRED_NO);
    <lovBeanName>.addLovRelations(pageContext, "<Field Id on which you want to have dependency>", // base page item
                                         "<Lov Item Id>", // lov item
                                         LOV_CRITERIA, // direction
                                         LOV_REQUIRED_YES);
    Thanks,
    Arvind

  • Displaying the Attribute of a Char

    Hi All,
    I have to display a CHAR in the report. But that CHAR is an attribute of another CHAR. I am unable to display the attribute with out displaying the main CHAR means I have to display only the attribute and not the main CHAR i.e
    for ex: If I have to display the prod. hierarchy code which is an attribute of the CHAR Material, I have to display the Product Hierarchy with out displaying the Material.
    Any Ideas please???
    Best Regards,
    James.

    Hi All,
    I solved my problem with ur suggestions...
    Thanks a lot...
    Points Assigned...
    Best Regards,
    James.

  • How do I use the same css style but different attributes, Without affecting another page.

    Hey everyone,
    I am using the "NivoSlider", for my dreamweaver page but I am not sure how to tell styles that one page has one attribute and the other one will have a different attribute.
    For example: in my "about us" I have a small slideshow with its own pictures. I then put  a gallery page with its own pictures, yet, I want to make that slideshow box larger without affecting the other small slideshow.
    I am using just one Style.CSS for the slideshow.
    Anyways, is their a way to tell tell the code that one page is going to be a different width then the other?
    Thank you!

    Embedded CSS rules take priority over styles in external style sheets.   So you can add page specific rules between your document's <head> tags and after all other links to external CSS files.
    <style>
         page specific rules here....
    </style>
    Nancy O.

  • Illustrator CS4 and my drop down menu displaying different typefaces is no longer displaying font preview.

    I am using Illustrator CS4 and my drop down menu displaying different typefaces is no longer showing all of them, just blank spaces where they would be...that is unless I put my cursor over it and I can then see the typeface. This is more of a nuisance than anything and didn't happen until I updates OS X to Yosemite. I currently am operating OS X  Yosemetie 10.10.2
    I have attached a screen shot. You can see that the font highlighted as the cursor is over it I can see the preview...but one I move the cursor it appears like all the others in the list and is blank.
    HELP!

    Solved using this previous users had the same issue; Font previews not appearing correctly in the character window after upgrading to Yosemite

  • Fost Displaying Differently in Different Browsers on Same Computer

    Why would a font display differently on the web page depending on the browser? If the font is installed on the computer (a Mac), isn't it available to all browsers?
    The specific problem I am having is with Palatino shadow. (The shadow is important, as it increases the contrast of the text against the image background.) The shadow shows up in Safari but not in Firefox.
    Why would this be?

    Firefox doesn't do shadows in the current version.

  • Display entity-attributes and global-attributes in the same screen

    Hi,
    I have a question about entity.
    Is it possible to display in the same screen, entity-attributes and global-attributes?
    thanks
    Rosalia

    Hi Rosalia,
    You can only display attributes from the current entity and the entity or entities that it is contained by (the parent entities).
    So if you had the following data model
    Global
    ..the person
    ...the income
    the person is contained by global.
    the income is contained by the person (which is contained by global).
    If you want to create a person-level question screen, you can display global attributes on that screen by using subsitution like %global_field_1%. You cannot, however, input global attributes on that screen (ONLY attributes belonging to the person)
    If you want to create an income-level question screen, you can display attributes from the person such as "tell us about %person_name%'s income..." as well as global attributes. Again, you cannot input person or global attributes on that screen (ONLY attributes belonging to the income)
    However it only works from child-to-parent containment relationships! You cannot have a global question screen which loops through the person instances and displays attributes from the person, or from the income out-of-the-box.
    We have managed to implement this using custom controls.
    You can map individual attributes back up to the parent level, and then display them,
    such as
    the first person's name = InstanceValueIf(the people, the person's name, the person's id = 1)
    the first person's name is now a global attribute and can be displayed on global question screens.
    Hope this helps!
    Ben

  • How to display different Time Statement forms in ITS service PZ04

    Hi all,
    I am working on a underlyinge R/3 4.7 system and are working with standalone ITS and ESS 50.4. I am posting this question to find out if any of you has experience with my problem.
    The business wishes to use the ITS transation PZ04 standard and wish to be able to display different Time Statement forms in the transaction through customized variants for the report(RPTEDT00) that the PZ04 transaction executes. In the IMG it is posted that one variant has to be created called HRESS_TEDT00 and this works, but restricts the PZ04 transaction to always be called with this variant and therebye the same Time Statement form every time.
    I then by debugging found that the underlying ABAP code processed from SAP standard has a variable VARIANT that is hardcode to = HRESS_TEDT00.
    The question is: Is there anyway to setup the PZ04 transaction so that it can be dynamic decided which variant should be used, f.ex. from persons subarea from infotype 0001?
    Looking forward to here if anybody can help.
    Regards,
    Allan Brauer

    hi allan,
    cud u plz help me how to sort out this problem actually in mu company the same scenario is here need to be display pe51 form instead of standard hrforms.....
    plz help me how will i replace this "hrforms with pe51"..

  • PDFs display differently in Internet Explorer 9 versus FireFox

    We use Adobe Reader X in all cases (10.4.1)
    On old computer, we have a website we go to using Internet Explorer (version 8.x on XP) where we ope/save & print to a PDF file. The information on the PDF prints vaules in a certain order - for example:   A,B, C    --works great--this is what we want it to do.
    We buy a new computer, Windows 7 with IE9, and the PDF displays with the same values in this order:  C,B, A  -   not good, do not want that.
    We try FireFox on the new computer  -- works great --just like it did on the old computer.
    What setting in IE9 is causing this PDF to display differently than in FireFox (or IE8)?
    UPDATE:  We did load IE8 on Windows 7 (by uninstalling IE9) and the PDF works fine --so it's not just something unique to FireFox. IE9 is displaying information in this PDF differently--why?

    Add/update these params in your web.xml and redeploy so the style class names are not optimized and client debugging is easier.
    <context-param>
        <param-name>org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT</param-name>
        <param-value>true</param-value>
      </context-param>
      <context-param>
        <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
        <param-value>true</param-value>
      </context-param>

Maybe you are looking for

  • How to keep old session id when a new session is created in web site

    Hi, I have a question about HttpSession in a Struts framework based project development. I have a web page "a.jsp" in public site (no need login) which can navigate to other pages/links. There is a button on "a.jsp" to popup a new window "pop.jsp" an

  • How to add members in REDO group in RAC

    Hi All I need to know the syntax to add members in redolog group in RAC database. Currently i have 4 groups (2 belonging to each thread) and one member in each group. I want to multiplex. Thanks in advance

  • HT201412 My iPad turns on but it shows an iTunes logo with a USB, why?

    I recently updated my iOS and when it finished, it turned back on, only to show the iTunes logo with a USB. I connected it to my computer and restored it still doesn't work and continues to show the image

  • Question About Muse

    I created an Edge Animate file that included a simple mp4 video.  When I test or preview in Adobe Edge Animate the video works perfectly.  When I then save or better said publish my Edge file to an OAM and copy to/place in Muse...the Edge file does a

  • Help me I post this topic from tow week and no replys

    hi I use Apple USB External Modem Dial Up and it work good but now when I try to connecting and the modem dial phone and make dial tone and after 40 seconds give me this message ((The modem disconnected. Try reconnecting. If the problem continues, ve