List Box Values Order

Hi,
I have Developed List Box for Period. And in the Selection Screen it is showing the values
01/2007
02/2007
03/2007
04/2007
05/2007
06/2007
07/2007
08/2007
09/2007
01/2008
02/2008
03/2008
04/2008
05/2008
06/2008
07/2008
08/2008
09/2008
In the selection screen We have Customize local Layout Button in Standard Tool bar...
In Customize local Layout Button>options->Expert Tab-->
By selecting sort items by key Check box...The Dropdown list becomes comes like this.
01/2007
01/2008
02/2007
02/2008
03/2007
03/2008
04/2007
04/2008
05/2007
05/2008
06/2007
06/2008
07/2007
07/2008
08/2007
08/2008
09/2007
09/2008
Now, What i want is Eventhough i select In Customize local Layout Button>options->
Expert Tab-->By selecting sort items by key Check box
The output should come like this.
01/2007
02/2007
03/2007
04/2007
05/2007
06/2007
07/2007
08/2007
09/2007
01/2008
02/2008
03/2008
04/2008
05/2008
06/2008
07/2008
08/2008
09/2008
Edited by: Venkat on Dec 16, 2008 1:02 PM

Could you please help me in this Regard?
This is the code which i have written
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) text-002 FOR FIELD p_perid1.
SELECTION-SCREEN POSITION 33.
PARAMETERS:p_perid1(7) TYPE c AS LISTBOX VISIBLE LENGTH 10 OBLIGATORY.
SELECTION-SCREEN COMMENT 45(4) text-003 FOR FIELD p_perid2.
SELECTION-SCREEN POSITION 50.
PARAMETERS:p_perid2(7) TYPE c AS LISTBOX VISIBLE LENGTH 10 OBLIGATORY.
SELECTION-SCREEN END OF LINE.
INITIALIZATION.
PERFORM get_period.
*&      Form  get_period
*       text
FORM get_period .
  DATA:v_year1 TYPE bdatj,
       v_year2 TYPE bdatj,
       v_year3 TYPE bdatj.
  v_year1 = sy-datum+0(4) - 1.
  v_year2 = sy-datum+0(4).
  v_year3 = sy-datum+0(4) + 1.
  DATA:it_periods1 TYPE TABLE OF periods,
       it_periods2 TYPE TABLE OF periods,
       it_periods3 TYPE TABLE OF periods.
  DATA:wa_periods1 TYPE periods,
       wa_periods2  TYPE periods,
       wa_periods3  TYPE periods.
  TYPES:BEGIN OF typ_perid,
        period(7) TYPE c,
        END OF typ_perid.
  DATA:it_perid TYPE TABLE OF typ_perid,
       wa_perid TYPE typ_perid.
  CLEAR:  wa_periods1,wa_periods2,wa_periods3,wa_perid,
          pername,pervalue.
  REFRESH:it_periods1,it_periods2,it_periods3,perlist.
  CALL FUNCTION 'G_PERIODS_OF_YEAR_GET'
    EXPORTING
      variant             = 'K4'
      year                = v_year1
    TABLES
      i_periods           = it_periods1
    EXCEPTIONS
      variant_not_defined = 1
      year_not_defined    = 2
      OTHERS              = 3.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
  CALL FUNCTION 'G_PERIODS_OF_YEAR_GET'
    EXPORTING
      variant             = 'K4'
      year                = v_year2
    TABLES
      i_periods           = it_periods2
    EXCEPTIONS
      variant_not_defined = 1
      year_not_defined    = 2
      OTHERS              = 3.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
  CALL FUNCTION 'G_PERIODS_OF_YEAR_GET'
    EXPORTING
      variant             = 'K4'
      year                = v_year3
    TABLES
      i_periods           = it_periods3
    EXCEPTIONS
      variant_not_defined = 1
      year_not_defined    = 2
      OTHERS              = 3.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
  SORT:it_periods1 BY datab,
       it_periods2 BY datab,
       it_periods3 BY datab.
  LOOP AT it_periods1 INTO wa_periods1.
    CALL FUNCTION 'CONVERSION_EXIT_PERI_OUTPUT'
      EXPORTING
        input  = wa_periods1-datab+0(6)
      IMPORTING
        output = wa_perid-period.
    APPEND:wa_perid TO it_perid.
    CLEAR:wa_perid,wa_periods1.
  ENDLOOP.
  LOOP AT it_periods2 INTO wa_periods2.
    CALL FUNCTION 'CONVERSION_EXIT_PERI_OUTPUT'
      EXPORTING
        input  = wa_periods2-datab+0(6)
      IMPORTING
        output = wa_perid-period.
    APPEND:wa_perid TO it_perid.
    CLEAR:wa_perid,wa_periods2.
  ENDLOOP.
  LOOP AT it_periods3 INTO wa_periods3.
    CALL FUNCTION 'CONVERSION_EXIT_PERI_OUTPUT'
      EXPORTING
        input  = wa_periods3-datab+0(6)
      IMPORTING
        output = wa_perid-period.
    APPEND:wa_perid TO it_perid.
    CLEAR:wa_perid,wa_periods3.
  ENDLOOP.
  LOOP AT it_perid INTO wa_perid.
    pervalue-key  =  wa_perid-period.
    pervalue-text = wa_perid-period.
    APPEND pervalue TO perlist.
  ENDLOOP.
  pername = 'P_PERID1'.
  CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
      id              = pername
      values          = perlist
    EXCEPTIONS
      id_illegal_name = 1
      OTHERS          = 2.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
  CALL FUNCTION 'CONVERSION_EXIT_PERI_OUTPUT'
    EXPORTING
      input  = sy-datum+0(6)
    IMPORTING
      output = v_period1.
  pername = 'P_PERID2'.
  CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
      id              = pername
      values          = perlist
    EXCEPTIONS
      id_illegal_name = 1
      OTHERS          = 2.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
  p_perid1 = p_perid2 = v_period1.
ENDFORM.                    " GET_PERIOD

Similar Messages

  • How to create dropwdown list box values and checkbox in screen painter.

    Hi Experts,
    I need to know the creation of dropdown list box values and the checkbox to use in screen painter.
    I have 3 values to insert as:-
    INR,USD,EUR
    if user selects INR/USD/EUR, then it will store into the table field.
    And also want to know the checkbox functioning in screen painter, i.e. what should we write in PBO/PAI.
    I have found some sites to get knowledge, but didnot found anything that relates to my questions.
    So please help me!
    Thanks,
    Deepanshu

    Hi,
    For dropdown list box in Screen create a input field and choose Drop down by index.
    To populate the values write the logic in PBO as follows
    TYPE-POOLS : VRM
    DATA : field_id TYPE VRM_ID ,
                values  TYPE VRM_VALUES,
                 value   LIKE LINE OF values.
    PROCESS BEFORE OUTPUT
    MODULE list_fill_100
    MODULE list_fill_100 OUTPUT
    SELECT f1 f2 f3  FROM tab WHERE condition.
    value-KEY = f1.
    value-TEXT = f2
    APPEND value TO VALUES
    CALL FUNCTION 'VRM_SET_VALUES'
           EXPORTING
                id     = 'i/o screen field'
                values = values.
    ENDMODULE.

  • Multiple-Selection List Box Values in Multiple Columns

    I am using InfoPath 2010 with SharePoint 2013. I have a form with a multiple-selection list box which has A LOT of choices. Instead of displaying all the choices in one column, is it possible to display the values of my list box in several
    columns? 

    Hi Andrea,
    I agree with Brij, one multiple-selection list box is associated with one list field, we cannot use the one multiple selection list box value for other multiple selection list boxes, we need to create multiple choices for each multiple-selection list box
    control in InfoPath form.
    Thanks
    Daniel Yang
    TechNet Community Support

  • How to catch List box value

    Hi gurus
    I have set list box value through vrm_set_value and in the screen level it's working fine
    In the custom  program I need to fetch data from table using that selected list box value , but  its always coming blank  .
    please help me how to catch that list box value in the program .
    Thanks

    This is the code
    *************SELECTION SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS    :  P_bukrs  TYPE bukrs    OBLIGATORY  ,                        " Company Code
                     p_psc    TYPE psc_name OBLIGATORY ,
                     p_monat  TYPE MONAT    AS LISTBOX VISIBLE LENGTH 5 OBLIGATORY ,  " Quarter
                     p_gjahr  TYPE gjahr    DEFAULT sy-datum+0(4) OBLIGATORY .                        " Year
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS    : P_KIND      AS CHECKBOX USER-COMMAND abc ,                          " Check Box
                    P_prcent(6) TYPE P DECIMALS c_val_three  ,                    " Take in kind percentage
                    p_prod      TYPE PSA_PRODUCT  AS LISTBOX VISIBLE LENGTH 10  .   " Take in kind product
    SELECTION-SCREEN END   OF BLOCK b2.
         A T   S E L E C T I O N    S C R E E N                          *
    AT SELECTION-SCREEN on BLOCK b1 .
    Validate Company Codes.
      PERFORM sub_validate_com_code.
    Validate PSC
    AT SELECTION-SCREEN on VALUE-REQUEST FOR p_psc .
      PERFORM sub_validate_psc.
    Validate Quarter
      PERFORM sub_validate_quarter .
    AT SELECTION-SCREEN on BLOCK b2 .
    Validate Take in kind percentage
      PERFORM sub_validate_percnt .
    Validate Take in kind Percentage
      PERFORM sub_prod_disp .
    form sub_prod_disp .
    populated internal table lt_prod_val .
    LOOP AT SCREEN.
            CALL FUNCTION 'VRM_SET_VALUES'
              EXPORTING
                id              = 'p_prod'
                values          = lt_prod_val
              EXCEPTIONS
                id_illegal_name = 1
                OTHERS          = 2.
            IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
          ENDLOOP.
    in start of selection the p_prod is always coming initial .

  • Populating fields based on list box values

    I have created an application based off of a table and so the 1st page is the actual report and the 2nd page is the data entry form. I have changed the form elements (like text box to select list) etc.
    I need to have (2) text box fields populated based on the value from the 2nd select list box. I created a pl/sql page process that will check the value of the select list and assign values to the text boxes. This is triggered when a POPULATE button is pressed.
    When I select a truck number in the select list - nothing happens and the original select list values get reset back to original. There is another button used in order to insert the data so that's why I figured I needed to add another button to trigger the population of the text boxes from a table. Here is my pl/sql page process used to populate:
    BEGIN
    SELECT dr1_name, dr2_name
    INTO
    :P2_DRIVER_1, :P2_DRIVER_2
    FROM
    active_drivers a
    WHERE
    :P2_DRIVER_CODE = a.code;
    END;
    It is set to fire on submit - before computations and validations.
    Regards,
    Jeff

    Not sure if this is the best way but it works for me……
    Make P2_DRIVER_CODE be a form element of Select List with Submit
    Create 2 items, P2_DRVR1 and P2_DRVR2, of form element Hidden
    Edit the P2_DRIVER_1 item. In the source region enter :P2_DRVR1 in Post Calculation Computation.
    Edit the P2_DRIVER_2 item. In the source region enter :P2_DRVR2 in Post Calculation Computation.
    Create a page rendering computation for item: P2_DRVR1.
    Type: SQL Query
    Computation Point: Before Header
    Computation: SELECT dr1_name FROM active_drivers a WHERE a.code = :P2_DRIVER_CODE
    Create a page rendering computation for item: P2_DRVR2.
    Type: SQL Query
    Computation Point: Before Header
    Computation: SELECT dr2_name FROM active_drivers a WHERE a.code = :P2_DRIVER_CODE
    When an item is selected in P2_DRIVER_CODE the page will submit/refresh, causing the computations to be fired. P2_DRIVER_1 and P2_DRIVER_2 will be populated by the return of the queries in the computations respectively.
    P2_DRIVER_1 and P2_DRIVER_2 are still editable by the user (unless you define them as read only) but if you have another select list with submit on the form, if used, the page will refresh and the computation will run again overwriting what the user has entered.
    Suppose I want the user to be able to change the defaults and keep from losing them (changed back to default) in case another item submits/refreshes the page.
    Create a hidden item P2_DRIVER_CODE_CHANGE with the source of: Static Text. For the Default Value enter &P2_DRIVER_CODE. (include the period after &P2_DRIVER_CODE)
    Edit the P2_DRVR1 and P2_DRVR2 computations and in the Conditional Computations region set:
    Condition Type: Text in Expression 1 != Expression 2 (include &ITEM substitutions)
    Expression1: &P2_DRIVER_CODE.
    Expression2: &P2_DRIVER_CODE_CHANGE.
    Hope this works for you,
    Jeff

  • Retaining List Box Value in Form Bean

    Hi All,
    I want to retain the List Box populated using the Form bean.
    Right now when i display the List Box in a page and submit the Form and come back
    to same page again I do not get List Box populated.
    In the JPF I do not get the all values of the List Box. I only get the selected
    value of the ListBox.
    Thx
    Hitesh

    Hi sudha,
    1. We can also use the FM
       F4IF_INT_TABLE_VALUE_REQUEST
      (here u will be able to capture the value)
    2.
      DATA : BEGIN OF itab OCCURS 0,
             bukrs LIKE t001-bukrs,
             butxt LIKE t001-butxt,
             END OF itab.
      SELECT * FROM t001 INTO CORRESPONDING FIELDS OF TABLE itab.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'BUKRS'
          value_org       = 'S'
          dynprofield     = 'MYLISTTAB'
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
        TABLES
          value_tab       = itab
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
    3. In pai module,
       use the code :
    PROCESS ON VALUE-REQUEST.
      field mylistab module abc.
    where field = your field name
          abc = module name (which contains the above coding in step 2)
    regards,
    amit m.
    Message was edited by: Amit Mittal

  • List Box values

    Hello,
    I’m using a WAD report with list box. When I filter the report the values are not changed in the list box. Is there a way that the user will see only the values which shown in the report?
    Please Advice,
    Amir

    Amir,
    Change the List Box property to "Posted Values"
    Arun
    Assign points if useful

  • List box values in module pool

    Hi All,
    Plz help me out in this regard..
    I have designed a screen with 20 list boxes around and i am getting values for list boxes also.the main problem is coming when after selecting values....
    that is after selecting values if i press enter on the screen the values are over written by space..
    The default value for list boxes are space.
    how to over come this problem...Plz help me out
    Regards,
    Sudha

    PAI
    MODULE user_command_1000 INPUT.
    CASE sy-ucomm.
    WHEN 'SAVER'.
             IF zrule_date_from  > zrule_date_to.
                MESSAGE e000 WITH : 'RUN_VALIDITY_TO_DATE can not be Less'(001)
                                    'Than RUN_VALIDITY_FROM_DATE'(002).
                EXIT.
             ENDIF.
             IF zrule_date_to  < sy-datum.
                MESSAGE e000 WITH : 'RUN_VALIDITY_TO_DATE can not be Less'(003)
                                    'Than System Date.'(004).
                EXIT.
             ENDIF.
             wa_rule-zrule_date_from  = zrule_date_from.
             wa_rule-zrule_date_to    = zrule_date_to.
             wa_rule-zrule_name       = zrule_name.
             wa_rule-zrule_id         = zrule_id.
             wa_rule-zrule_pref       = zrule_pref.
    ONCATENATE 'Where'  rule_for1a  operator1a  values1a
                 andor1  rule_for2a  operator2a  values2a
                 andor2  rule_for3a  operator3a  values3a
                 andor3  rule_for4a  operator4a  values4a
                 andor4  rule_for5a  operator5a  values5a
                 andor5  rule_for6a  operator6a  values6a
                 andor6  rule_for7a  operator7a  values7a
                 andor7  rule_for8a  operator8a  values8a
                          INTO wa_rule-zrule_clause SEPARATED BY space.
    In this code andor6(7,8,etc) has (and or)
    and operator8a(7a,6a etc) has (+,- <,>) and when i do enter these two get cleared. why does this happen?
    MY PBO code is
    MODULE status_1000 OUTPUT.
      SET PF-STATUS 'RULE'.
      SET TITLEBAR  '1000'.
    ENDMODULE.                 " STATUS_1000  OUTPUT
    *&      Module  fill_lists  OUTPUT
    For Filling List Boxes
    MODULE fill_lists OUTPUT.
    **********1
        name       = 'ANDOR1'.
        value-key  = 1.
        value-text = 'AND'.
        MOVE value-text TO value-text.
        APPEND value TO list.
        value-key  = 2.
        value-text = 'OR'.
        MOVE value-text TO value-text.
        APPEND value TO list.
        PERFORM LIST_BOX.
        CLEAR LIST.
    **************2
        name       = 'ANDOR2'.
        value-key  = 1.
        value-text = 'AND'.
        MOVE value-text TO value-text.
        APPEND value TO list.
        value-key  = 2.
        value-text = 'OR'.
        MOVE value-text TO value-text.
        APPEND value TO list.
        PERFORM LIST_BOX.
        CLEAR LIST.
    ************3
        name       = 'ANDOR3'.
        value-key  = 1.
        value-text = 'AND'.
        MOVE value-text TO value-text.
        APPEND value TO list.
        value-key  = 2.
        value-text = 'OR'.
        MOVE value-text TO value-text.
        APPEND value TO list.
        PERFORM LIST_BOX.
        CLEAR LIST.
    etc.

  • On button click of Infopath forms select multi select list box values...

    Hi,
    We have multi select list box on one of the info path forms. We have placed on button on this form. If user clicks on this button we want to select some of the values in Multi select list box (check box).
    Is it possible if yes how can we achieve it?
    Thanks.
    Regards,
    Amit Chhatbar

    Hi Amit,
    From your description, you would like to check items in a multi-selection box when a button is clicked.
    I’d recommend you make use of rules in InfoPath form, i.e. when button is clicked, then set a field’s value.
    However, if you are using multi-selection box, then you could only set the value of one item at a time. If you want to select several items at once, then we could use code. For more information:
    http://www.bizsupportonline.net/blog/2009/07/understanding-multiple-selection-list-box-infopath/
    http://www.bizsupportonline.net/infopath2007/programmatically-select-all-items-multi-select-list-box.htm
    If you are using several check boxes to replace multi-selection box, then it will be more easy. The rule could be that when this button is clicked, set a field’s value (check box field) to true and repeat it.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • List box values in mosule pool

    hi
    i am currently working with screen exit where i am populating values to a list box using customl table.
    the problem is that when i am creating new entries in custom table the old entries are also getting displayed in list box even though i have deleted previous entries.
    here is the code
    PROCESS ON VALUE-REQUEST.
    Create drop down box for listbox1
      FIELD proj-zz_list1 module create_listbox1.
    MODULE create_listbox1 INPUT.
                      TYPE DECLERATION.
      TYPES:
             BEGIN OF ty_list1,
            Data type for listbox field
               list1 TYPE zgfbm_listbox1,
             END OF ty_list1.
                      VARIABLES DECLARATION                              *
      DATA:
          Internal table used to store userfield.
            li_list1 TYPE STANDARD TABLE OF ty_list1.
                      PROCESSING LOGIC                                   *
    clear: proj-zz_list1, li_list1.
          Select listbox1 from value table into internal table
      SELECT     zz_list1
        FROM     zgfbm_list1
      INTO TABLE li_list1.
    Create listbox corresponding to field in proj table
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'PROJ-ZZ_LIST1'
          value_org       = 'S'
        TABLES
          value_tab       = li_list1
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      FREE li_list1.
    ENDMODULE.                 " create_listbox1  INPUT

    Put a breakpoint at the Select statement and checkout if the valure coming from value table
    Message was edited by:
            Chandrasekhar Jagarlamudi

  • How do I populate form fields depending on the value of a list box?

    Hi,
    Can anybody help me out here?
    I'm creating a form where I'm needing to populate a number of fields (first name & last name) based on the value of a list box (values are 1,2,3,4,5,6) ie: if 3 is selected 3 sets of the first name and last name fields populate on the page for the user to fill out.
    At this stage it is just a prototype site and there is no database running behind it.
    Thanks
    Hayden

    This can only be solved if you have javascript coding skills.  Without knowing more about what you want to do and why, I can only show you a skeleton of how your code should look, but consider this form select field -
    <select onchange="populateForm()">
    When a value is selected from that list, the "onchange" event will fire, and will call the javascript function called populateForm().  You need to define a function by that name somewhere on the page -
    <script type="text/javascript">
    //<![CDATA[
    function populateForm(value) {
         if value >0 { document.getElementById("fieldID").style.display='block' }
         if value >1 { .... }
         etc.
    //]]>
    </script>
    The page itself would need to have ALL the fields already in the form, but with those that are to be revealed set to a style of display:none.
    Obviously, this is a skinny skeleton.  Each test in the function would reveal a new field on the page by changing its display style from "none" (which is how they should be set in the code) to "block".  You would need a separate function for each type of field that might need to be chosen.
    If this is well over your head, then I'm afraid you will be out of luck for this particular approach....

  • PopUp with selectMany List Box in JSF

    Hi,
    am a newbie to JSF....
    I have a page with a hyperlink which opens a popup that has two multi select list boxes (values need to be moved to and fro within select boxes). Then i have a select button in the popup which should send the selected value from popup to main page. Can anyone please send me a clear implementation for this I don't know how to implement this with JSF. I do want to know how should i have the in my main page to populate the selected values from popup. This will be of great help if u could provide me in detail for implementing the scenario.
    Note: My popUp page Implementation is like the one below and i don't have main page implementation other than the link calling javascript to open the popup....
    <body><table>< tr></tr><tr>< td>
    <h:selectManyListbox id="masterList" size="6">
    <f:selectItems id="master" value="#{populateList.masterList}" />
    </
    h:selectManyListbox></td>< td><table><tr>
    <
    h:commandButton id="MoveRight" value="MoveRight" ></h:commandButton >
    </
    tr><tr>
    <
    h:commandButton id="MoveLeft" value="MoveLeft" ></h:commandButton >
    </
    tr></table></ td><td>
    <
    h:selectManyListbox id="selectList" value="#{populateList.selectList}" size="6" > <f:selectItems id="select" />
    </
    h:selectManyListbox>
    </
    td></tr>< tr></tr><tr></ tr><tr>
    <h:commandButton id="selectButton" value="Select"></h:commandButton >
    </tr></table></body >

    any updates or help for this....
    i have a link in my main page that pops up a window with two select many list boxes where values can be moved to and fro. popup has a select button that has to send the list values in right hand side select many list box to the main page field....
    How should i achieve this in jsf....
    Any help with codelines will be greatful and guiding....
    Thanks
    Naadiya

  • List Boxes on a Selection Screen

    Hi,
    I have a list box on the selection screen. In the At Selection Screen Output, I filled the List box with 12 Values.
    Now, I want to default the List box value with one of those values.
    So, after the CALL FM 'VRM_SET_VALUES', I say p_field = 'Value'.
    But this Value is being shown in the Drop down list twice.
    I could not understand the mistake.
    Please suggest.
    Thanks,
    Suryakiran D.

    Hi suryakiran,
    1. Its happening bcos
       u must be giving NAME
    2. give p_field  = Key
    3. ie. 1 for Jan
            2 for Feb etc
    in the FM VRM_SET_VALUES
    we are filling the parameter VALUES
    VALUES-key
    VALUES-TEXT
    so, give KEY, (and not text)
    after calling this FM.
    4.
    REPORT abc.
    TYPE-POOLS : vrm.
    DATA : v TYPE vrm_values.
    DATA : vw LIKE LINE OF v.
    PARAMETERS : a(10) TYPE c AS LISTBOX VISIBLE LENGTH 10.
    INITIALIZATION.
    vw-key = '1'.
    vw-text = 'Jan'.
    APPEND vw TO v.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = 'A'
          values          = v
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
          a = '1'.
    Problem
          a = 'Jan'.
    regards,
    amit m.
    Message was edited by: Amit Mittal

  • Set focus on item that selected in multiple-selection list box field in infopath

    Hi
    I have  multiple-selection list box field in infopath that have for example 40 items. (I customize sharepoint list with infopath),then
     publish infopath form in to sharepoint list. users want to add new item,when they selected or checked each item in multiple selection list box, after that automatically control focus on first item, but I want to focus remain on that item
    I was selected. Why this happen?! I also set postback settings to “never” in multiple-selection list box properties. But didn’t work.
    Thanks.

    Hi,
    According to your post, my understanding is that you wanted  to find several columns based on user selection of checkboxes in one of the Multiple-selection List Box.
    I recommend to customize the form to concatenate values from choice field (with multiple values) into single line text box, and then hide the fields based on the text box value.
    We can follow the steps as following:
    Add a text box control(filed 3) on the form to hold the value selection in the multiple selection list box.
    Set the default value for the text box control as
    substring-after(eval(eval(Value, 'concat(., ";")'), ".."), ";")
    (you need to change the ‘Value’ in the formula to your multiple selection list box name: filed1).
    Add the conditional formatting on the flied: flied 3 does not contain value (you need to change the ‘Value’ in the formula to your multiple selection list box value.).
    In addition, you can add Formatting action to hide the text box control.
    Here are the result screenshots for you to take a look at:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How do i get the data present in the selected row at run time in Multicolumn list box?

    Hi,
    I am using multicolumn list box with three columns and i am having OK button.
    If the user selects particular row and then press ok then that row datas(that 3 values) has to get update in the file.
    Can u tell me how to get that selected row values alone and also how to append the list box value at run time?
    Thanks
    Meenatchi

    You can simply use the Value property of the MLBox to get the row selected & wire it to the Delete from array function with the Itemnames of the MLBox as the Input & Output of the Delate from array function.
    See the attached VI.
    - Partha
    LabVIEW - Wires that catch bugs!
    Attachments:
    Dbl-click Row to get Data & Delete.vi ‏41 KB

Maybe you are looking for

  • What's wrong with my mix folder?

    I created my own mix folder wiht many songs and many artist and my Zen Mozaic EZ 300 want allow me to play this folder, what I have to do? I wanna play my favourite songs. ID3 tag won't help me

  • Thankfully: Moving from Windows PC to Mac Book Pro - iTunes Help!

    I recently got a MBP from work and I have previously had a Thinkpad that I was running iTunes (had all my music running from an External HD). I need to link my External HD up with iTunes on my new MBP, can you help me get this going. I have tried to

  • Crystal reports on SAP-BW 3.5 query - problem w. properties of key figures

    Dear experts, Creating a crystal report on a SAP-BW 3.5 query we have the following problem: In SAP-BW query we defined a restricted key figure with property 'Calculate single value as Ranked list (olympic)'. Within SAP-BW it works correctly; in Crys

  • Backup database plus archivelog

    Hi I am using 10.2.0.3. What is the difference between "backup database plus archivelog" and "backup database"? I deleted the archive logs after disabling the archive log option. How to fix the below problem? thank you When I do backup database plus

  • NW CE 7.2 SDN Evaluation install fails on JCE Extension Jurisdiction Policy

    Hello, I am installing on Win XP SP3. I have been running MaxDB for a couple months now and want to install NW CE 7.2. I am going through the install and can't seem to get past the JCE Extension Jurisdiction files. I already have the latest Java envi