Order data in drop down through personalization

How Can I sort data in ascending order in a drop down list through personalization?
I did set the value to ascending for sort order through personalization but nothing happened.
Thanks in advance!!

Hey hi there ,
If you change from personalization i don't think it will reflect on the page , if its a custom page then you can change the query associated to the picklist VO
(drop down list ) sort them in any order and generate class file from the jdeveloper and deploy it back to server .
I am sure this will certainly sort the data in any order you wish .
--Keerthi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Unable to capture data from drop down list in custom added field in migo tcode at item level

    Hi guys,
    need bit help in resolving query related to custom added field in Tcode migo.
    i have added a field in migo at item level ,in this i have used drop down list
    to get data but unable to capture data from drop down list.gown through
    many blogs in scn but unable to resolve.
    Please help me out in this.
    Thanks,
    Umakant.

    Hi,
    U can use following code to fill the list box
    write this code in PBO
    In layout editor please select listbox in dropdown attribute of input field and put some fctcode attribute
    TYPE-POOLS vrm.
      DATA values TYPE vrm_values WITH HEADER LINE.
      TABLES: <ur custom Database table>.
      clear values, values[].
      SELECT * FROM <ur custom Database table>.
        values-text = <TABLE FIELD TO DISPLAY IN DROPDOWN> .
        values-key = <TABLE KEY FIELD TO DISPLAY IN DROPDOWN>.
        APPEND values.
      ENDSELECT.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = '<SCREEN INPUT FIELD NAME>'
          values          = values[]
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
    Also please define the following before accessing the listbox value
    data: <listbox input field name> type <table field name>,
            <inputfield name where text to display> type string  in top include
    In PAI, select the text from the table into <inputfield name where text to display>  depending on value selected which will be called when enter key is pressed or any vale is selected

  • Workflows table is not showing up in Data Manager drop down table list

    Hi,
    I am able to see Workflows table in Console but not able to see it Data Manager drop down table list in record mode for selection.
    Even not allowed to create another workflow table.
    Thanks for any tips/clue
    -reo

    Reo,
    You will not be able to create another workflow table. There is only a single workflow table that will hold all the workflows you create through the Data Manager.
    As Vito mentioned, please make sure to load the corresponding MDMWorkflow component on the client machines running the Data Manager that you wish to create and view workflows from.
    Once the workflow component is installed you should see it as a new tab in the Data Manager. You will need Visio to create workflows.
    Thanks,
    Tim

  • How can I change the order in the drop down list of the teamviewer

    HI all
    If I can change the order in the drop down list of the teamviewer?
    example the default is "Direct Reports",I want to change it to the "Employees in Organizational Structure".
    Best Regards

    Cui,
    It is based on OADP. goto SPRo - Integration with other mySAP.com components - business packages/functional packages- manager self services()-Object and data provider-
    Thanks
    Bala Duvvuri

  • Adding a *Not* Null Entry to a Data-Bound Drop Down List

    How do I add a not null entry to a data-bound drop down list? I am supposed to have something like this:
    <html:select property="Korisnik1" >
    <html:option value="0000">
         (Not null value)
    </html:option>
    <html:option value="-1">
    (Null value)
    </html:option>
    <html:optionsCollection label="prompt" value="index" property="Korisnik1.displayData" />
    </html:select >
    In case the value 0000 is marked the value should be inserted in to the database. The code above displays the value but insert doesn't work.

    I think that in this case that article is not what's required Shay as the question related to a "No Null" entry. The answer would be to add it into the list that is used to populate the list in the first place - generally by adding a "union select from dual" to the query that generates the list values.

  • Loading values into drop down through properties file.

    Hi all,
    Can any one please let me know how to read a drop down through properties file I have two drop downs. I need to read the drop down values through the properties file .
    I would appreciate if you can provide me with the sample code to do this(i mean similar kind of operation)
    Say for example
    if i have in the properties file
    months.properties
    Month = "january,february,march.....december"
    january = "monday,tuesday, wednesday"
    for the first drop down i need to load the months i.e., january, february, march etc.
    After selecting the first drop down say january, then it should show me monday,tuesday and wednesday in the second drop down.
    I know it's a begineers question. any help would be appreciated.
    Thanks in advance for your help
    regards,
    sam

    Actually i want to use Jstl tag for this
    <select name="secQst1">
    <c:forEach var="flaglistdetail" items="${flaglist}">
    <option value="<c:out value="${flaglistdetail.seqId}"/>"><c:out value="${flaglistdetail.seqDesc}"/></option>
    </c:forEach>
    </select>
    The above operation is for getting the drop down values for the database. I want to hard code the values in the properties file and read it in the action and want to get it through the select tag.
    private Properties _appConfig;
         private static final String APP_CONFIG_NAME = "AppConfigProperties.properties";
    if (_appConfig == null) {
    _appConfig = new Properties();
    try {
    appConfig.load(FileUtil.getFileAsStream(APPCONFIG_NAME));
    } catch (Exception e) {
    throw new RuntimeException("can not find "
    + APP_CONFIG_NAME, e);
    I was trying to do the above thing. but for some reason i couldn't get it.
    if you have any sample code which does the same thing like this would be helpful

  • Have an onchange event in SPD to update a list based on user selection of data view drop down?

    Hoping someone can point me in the right direction: I have a list for Media announcements, each one of these announcements will have various types of documents associated (via look up field in the doc library). I am trying to have a data form web part (dropdown)
    as the selector (as I am not liking the SharePoint list filter feature) to have a user be able to select the Media Title, then it refreshes the three web parts on the page (1 for the announcement, then one for type1 docs and one for type 2 docs.)
    What is the best way to create an onchange event to have the selected option be connected to the first web part (media title on a list view) so that the information on the page can all be filtered?

    Hi,
    Would you mind providing more details about your requirement? Are there one Announcements list and two Document Library in a page?
    Suppose you have one Announcements list and two Document Library in a page, then you want to add a Drop Down Menu(not the OOTB SharePoint List Filter Web Part) to filter the
    three List View Web Part dynamically.
    There will be two workarounds:
    1. Use the OOTB “Connections” feature of the list to “Get Filter Values From” one of the three lists, then there will be a “Select” button in that list, we can click it to filter
    other two lists/libraries. This is a way without code though we may not have the Drop Down Menu;
    2. Add three <iframe> in a page, then add a Drop Down Menu in this page. Now, we will need some JavaScript to listen to the onchange event of this Drop Down Menu. We can
    get the values populated in the Drop Down Menu from one of the column of one of the list, when making a selection in it, we can pass an URL with query strings to the three iframes which will show the three different lists or libraries.
    The second way requires some code to interact with Client Object Model cause we need to get values from a list, some script to handle the onchange event, which seems more suit
    with your need.
    Here are some links might be helpful if you want to take the second way:
    About how to find a specific element on a page using JavaScript:
    http://javascript.info/tutorial/searching-elements-dom
    Handle the onchange event using jQuery.change function:
    http://api.jquery.com/change/
    About query string to filter a list view:
    http://techtrainingnotes.blogspot.com/2012/03/sharepoint-search-filter-or-sort-lists.html
    About change the src attribute of iframe:
    http://stackoverflow.com/questions/3730159/changing-iframe-src-with-javascript
    http://www.w3schools.com/jsref/prop_frame_src.asp
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to populate data in drop down box dynamically in adobe form?

    Dear Experts.
    I am new to adobe interactive form can anybody please tell me how to fill data in a drop down box dynamically? I am using webservices method.
    Thanks in advance.
    Chitta Ranjan Mahato
    Edited by: mahato123 on Aug 5, 2011 12:16 PM

    you can create a method to populate the context attribute that you are using to map to your dropdown box.
    DATA: node_info TYPE REF TO if_wd_context_node_info.
    DATA: it_table TYPE wdr_context_attr_value_list.
    ** select your dropdown data into it_table and pass it to your context attribute.
    ** here, mine is call PROJ_TYPE - the values should appear in your dropdown.
      node_info->set_attribute_value_set(
         name      = 'PROJ_TYPE'
         value_set = it_table ).

  • Prob in populating the current date in drop down

    I want to get the current date into a drop down list.
    There are three drop down.
    1.Month 2. Day 3. Year.
    If anytime the page loads there should be current date in the drop down list. and if any one wants to change he can change the date accordingly.
    Can any one help me in sorting out this prob.
    I can think of getting the current date in the drop down by keeping it in the 1st option of the select tag. But when you click on the list the current date is not at proper location compared to other numbers in the list.
    Please reply.
    Message was edited by:
    aniketh_parmar

    function addit(){
    var dd = new Date();
    var yearnow = dd.getFullYear(); //gets 4 digit year
    //use getDate() & getMonth() methods in seperate fns, and populate
    //date and months
    for (var i=yearnow; i <= yearnow + 25 ;++i){
    addOption(document.getElementById("year"), i, i);
    function addOption(selectbox,text,value)
    var optn = document.createElement("OPTION");
    optn.text = text;
    optn.value = value;
    selectbox.options.add(optn);
    }in your jsp:
    <body onload="addit();">
    <form>
    <select name="month">
    </select>
    <select name="day">
    </select>
    <select name="year">
    </select>
    Have a seperate fn, and using the above 3 methods get
    today's (current) month, day & year.
    then something like,
    document.getElementById("year").selectedIndex = currYear;
    document.getElementById("month").selectedIndex = currMonth; //0 is Jan and 11 is Dec
    document.getElementById("day").selectedIndex = currDate;

  • Insert data in drop down in alv at run time.

    Hi Gurus,
    I have to insert data in the dropdown wich is in alv at run time.According to my requirement i have i fill my drop down in the init but depend upon some conditions i have to insert one more vaule in the drop down at the run time.
    My problem is that i have filled the drop down with new data but it is not displayed in at the alv output.It is working fine without alv.
    Thanks & Regards.

    Hi,
    As per my understanding you want to update values in the drop down, on enter event of some other field.
    For that you have written the code for drop down twice 1) in the init method 2) in the on enter event of one field, right?
    If the code is not working in the on enter event, I think you can still use 'WDDOMODIFYVIEW' method. Follow the below steps:
    1) create one attribute of type char1 in the attributes tab of the view
    2) Set the value of that attribute to 'X' in the on enter event of other field (where you have written the code for drop down)
    3) In 'WDDOMODIFYVIEW' method, check the value of attribute. If this is 'X' run the code for updating drop down, then clear the value of attribute
    Regards,
    Saket.

  • Offline Adobe form- Adding custom data in drop down

    Hi All,
    I am fetching data in a drop down from a table in web dynpro.The drop down is displayed on adobe form.I have allowed custom user entry.I am able to enter data.I need to show the user added data appended in the drop down the next time the user opens the adobe form.
    Any Pointers?
    Regards
    Radhika

    Hi,
    I am trying to save drop down values concatanated in a text field and filling the drop down again while initalizing(opening) the form.But incase of data fetched from a simple type iam nto able to  fetch the data of the drop down.iam only able to fetch the selected value.
    if(DAtanode.mainsubform.TextField1rawValue!=null)
    var temp = new Array();
    temp=DAtanode.mainsubform.TextField1rawValue.split(";");
    var temps = temp.length;
    for(var it = 1;it<temps;it++)
    DAtanode.mainsubform.EnumDropDownList1.addItem(temp[it]);
    Regards
    Radhika

  • How do I change the order of a drop down field of an existing form?

    I have added additional responses to a drop down field and I want to reorder with previous response options.  The move up and move down feature does not work.   

    That worked.  Thanks!
    Cheryl Aeling
    [signature removed by forum host]

  • Sales order - VA01 - F4 Drop Down List for date, plant etc

    Hi Experts,
    In Standard VA01 transaction, in the order overview transaction, when I press F4 for "requested delivery field" I see the popup screen in "Control" view.
    When VA01 is called from a custom program, in the overview screen,for the date I get different popup screen (dialog) for F4 possible values.
    Is there reason for this differen behaviour for VA01 from standrd and for BDC? Please let me know.
    Note: help => settings => F4 Help, I have the right settings (Display - Control).
    Thanks
    Nagarajan

    Hello Nagarajan
    I am not sure what you meant when you said " Note: help => settings => F4 Help, I have the right settings (Display - Control)". May be you are alluding to what I am describing below:
    In any case,  check your 'custommize local settings' ( The Icon on extreme right)  /Options/ Expert tab:
    How are you set up for controls and Batch Input boxes there?
    Check that out.

  • I have some long spreadsheets and want to open them at the bottom instead of scrolling down through all the data. How do I do this?

    I have some long spreadsheets and want to go to the bottom to add new data without scrolling down through all the old entries. When I open a table now it goes to the top row and I have almost 300 rows to scroll through. I would like to set the table up to automatically go to the bottom row.

    Zach,
    You have a couple of options. If you use 100% View Zoom, and if you leave a cell selected in the bottom row of the table when you Save and Close the document, it will reopen with that cell in view.
    You could also sort your table in the opposite order and add new rows at the top. Then you wouldn't have to worry about what zoom you use. To insert a row at the top, select a cell in the current top row and press Option-UpArrow. That will add a new blank Top Body Row.
    Jerry

  • How to populate data from dynamic drop down list to the text field

    Hi,
    I tried to populate data from dynamic drop down list to city field. I would like to concat data from drop down list.When selecting add button to add the item and select item from drop down list, data should be displayed in the text field. However, Please help. I spent alot of time to make it works I am not successful.
    Please see the link below.
    https://acrobat.com/#d=SCPS0eVi6yz13ENV0cnUdw
    Thanks for your help
    Cindy

    Hi Rosalin,
    Loop the hidden table, get the values and populate drop down in each iteration.
    DropDownList1.addItem("Text","Value");
    You can use one more solution for this scenario. If it is a matter of 2,3 dropdowns, put three dropDowns in the form layout and give seperate static data binding to them. At run time make the dropDowns hide/visible as per the requirement.
    Hope this helps.
    Thanks & Regards,
    Sanoosh

Maybe you are looking for