How to keep the 14 check boxes in a table format  in 2 columns  and 7 rows

List lst = LookUpBean.getAllLookUpCodes(LookUpBean.ELESE_USER_ROLES);
Iterator lucIter = lst.iterator();
               while ( lucIter.hasNext() ) {
               LookUpCode lc = (LookUpCode)(lucIter.next());
                         result.append(EleseHTMLUtils.checkbox("User Role",lc.getDescription(), true) + lc.getDescription()+"<br>");
}

Not sure if i understand the question but is this by any chance a question related to creator? If so,
creator forum:
http://swforum.sun.com/jive/forum.jspa?forumID=123
how to put checkboxs inside a table column:
http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=51652

Similar Messages

  • How to keep a check box in script

    hi
    how to keep a check box in script

    Hi,
    go to sapscript editor
    Change the editor to 'PC Editor' and take the menu.
    Include -> Characters -> SAP Symbols
    whether this will not be visible in the print preview.
    other wise..
    Just keep it like <697> in your text element.
    Telephone <697> : &W_TAB-TEL&
    Corresponding symbol will be printed in the paper.
    Note: It will not be displayed in the print priveiw.
    Regards,
    Shiva k

  • How to name the Check Box as "Want Free Gift" using PARAMETERS statements

    Hi all,
    I am new to check boxes. I have a existing report where I have to add a check box to the selection screen.
    So i said
    PARAMETERS: p_cncldc AS CHECKBOX.
    everythibng is fine and I get the check box on the selection screen. when i execute the report i get the name of check box as p_cncldc. but i want the name of the check box as "Want Free Gift".
    How to name the check box as "Want Free Gift".
    if i am saying
    PARAMTERS: Want Free Gift AS CHECKBOX. it says a syntax error saying it canot be more that 8 chars.
    Some one please help. I am new to Check boxes
    Regards,
    Jessica Sam
    Edited by: jessica sam on Mar 31, 2009 10:37 PM

    Text on the Right hand side of check box.
    selection-screen begin of block b1.
    selection-screen begin of line.
    parameters: w_check as checkbox.
    selection-screen: comment  4(30) TEST .
      selection-screen end of line.
    selection-screen end of block b1.
    INITIALIZATION.
    test = 'Want Free Gift AS CHECKBOX'.
    Text on the Left hand side of check box.
    selection-screen begin of block b1.
    selection-screen begin of line.
    selection-screen: comment  2(30) TEST .
    parameters: w_check as checkbox.
      selection-screen end of line.
    selection-screen end of block b1.
    INITIALIZATION.
    test = 'Want Free Gift AS CHECKBOX'.
    OR:
    GOTO(Menubar)>Text Elements>Selection Texts
    Regards,
    Gurpreet

  • How to activate the Check box in Purchase Order after Goods Receipt

    Hi All,
    How to activate the check box after Goods receipt of Purchase order in Item view (Goods Receipt is completed).
    Where t make the settings in SPRO.
    Regards,
    Shailendra Hadkar

    Hi
    SPRO - SAP IMG- Material management - Inventory management and physical inventory - Goods receipt - create purchase order automatically - activate auto Po creation for movement type.
    Then activate the auto PO creation in Vendor master - Purchasing view
    Check it out.
    Regards,
    raman

  • Help requested: How to pass the (check box) selected rows data to other scr

    Hi friends, Here is a situation where I have to pick only those records data which i select by checking the check boxes and carry on to next screen where I have to display them and do some processing on such selected rows of data. Can any one suggest me how to code this. Thanks in advance.

    Hi Subbarao,
    One way is to check if the field is selected by checking if the field value = 'X'.
    If it is a table control we will have to loop and find out which all records are selected..it is notable that the check box field will mostly be of single character and contain 'X' if it is checked and space if not checked
    Based on the structure where the check box is held we may have to implement various logic to retrieve whether the field is checked or not....for instance we can move data to another internal table for which the checkbox is checked and can retrieve it from the next screen
    Pls check,revert and reward if helpful
    Regards
    Byju

  • How to read the check box value in alv report

    hi experts,
    i m working on one alv report where i m using the check box for field selection in alv display.
    but i don't know how to read the only selected fields.
    wa_fieldcat-fieldname = 'BOX'.
      wa_fieldcat-tabname = 'IT_HEADER'.
      wa_fieldcat-seltext_m = 'Box'.
      wa_fieldcat-checkbox = 'X'.
      wa_fieldcat-input = 'X'.
      wa_fieldcat-edit = 'X'.
      APPEND wa_fieldcat TO i_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-fieldname = 'AUFNR'.
      wa_fieldcat-tabname = 'IT_HEADER'.
      wa_fieldcat-seltext_m = 'Sales Doc'.
      wa_fieldcat-hotspot = 'X'.
      APPEND wa_fieldcat TO i_fieldcat.
      CLEAR wa_fieldcat.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = v_repid
         I_CALLBACK_PF_STATUS_SET          = 'SET_PF_STATUS'
         i_callback_user_command           = 'USER_COMMAND'
         i_callback_top_of_page            = 'TOP_OF_PAGE'
         it_fieldcat                       = i_fieldcat[]
         i_save                            = 'A'
         it_events                         = v_events
        TABLES
          t_outtab                          = it_header
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
    *&      Form  USER_COMMAND
          text
         -->R_UCOMM    text
         -->,          text
         -->RS_SLEFIELDtext
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
    when '&RELEAS'.
    endcase
    endform.
    i gone through some already posted que for same problem i tried options like
    loop at it_header.
    endloop.
    but i m getting box field empty.
    is there i missed something? plz sugeest.. if u have any other solution plz post...

    Have this code in your user command fm:
    * For capturing changed data
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = w_grid.
      CALL METHOD w_grid->check_changed_data
        IMPORTING
          e_valid = w_valid.
      IF w_valid = 'X'.
    loop at itab where mark = 'X'.
    endloop.
    ENDIF.
    Regards,
    Ravi

  • How to put check box in a table format at the out put ?  Urgent issue...

    Hi,
    I am working an assignment to assign multiple roles for multiplr user.
    In selection screen we have to enter mutiple EMPNO from ..to
    1)  in second screen we will get the empno, First name, last name,  Position,
        From  date, To date, Sap user ID, Email id in the table formate with first
        column  with Check box.
    2) In second screen below the table I have to place the multiple roles just like in
       the step  loop format and below this one Execute button should be there.
    If we select the multiple employees or single employee and place the multiple roles or single roles and if I click the execute button then the multiple roles will be assigned to the multiple employees. The empno and roles will come from table and step loop to internal table and the same will pass to the BDC.
    For this requirement I prepered recording for Transaction PFCG. But I can't understand how to design the second screen that table format and the step loop format. Can anybody give any idea or any coding to design  the second screen.
    and how to meet the requirement. This is urgent issue. Good SDN points will be reworded.
    Witing for kind response.
    Thanks in advance.
    Bansidhar

    Hi upendra
    There are slight changes in the sivas code.Where is the data coming into the table.If its from a Model Node then iterate each element of the source node get that value compare and set the corresponding value in the element of the node binded to table.
    Create a boolean attribute "select" in the table node and bind it to checked property of the check box.
    for(int i=0;i<wdContext.node<tablenode>()..size();i++)
    if(wdContext.node<tablenode>().get<tablenode>ElementAt(i).select())
    wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(true);
    else
    wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(false);
    See the attribute is boolean so pass true or false as a values in setter methods.
    Regards
    Kalyan

  • How to handle the check box in the alv tree display

    Hello,
    in my ALV Tree Report i have a check box in the output.
    I have one check box in the selection screen as select all .
    if this is selected then all the check boxes in the output must be selected that is (X).
    am using CL_GUI_ALV_TREE  for this.
    Please give me some input how to make that check boxes 'X' in the above mentioned case.
    With Regards,
    Sumodh.P

    Sumodh,
    check this
    Re: Select all checkbox in ALV tree
    please search before posting
    Thanks
    Bala Duvvuri

  • How to get the  Checked box which are clicked

    for(int k=0;.....
    jsp code
    <input type=checkbox name=checkbox value='<%=k%>' >
    how to get the particular Checkbox which are checked???

    String[] checkedValues = request.getParameterValues("checkbox");You'll get an array filled with the values only for the checked boxes. In other words, if no boxes are checked, checkedValues will be null or checkedValues.length == 0, not sure, going from memory.
    Hope this helps!
    Patrick

  • How to use the check box?

    How is the check box to be used? If I have 10,000 songs in my itunes library and have 1,000 of them checked, how can I place all 1,000 checked songs into a new playlist that I have created just for them. They are not located together in my library so I can't just hold down the SHIFT key and highlight them all for movement. Also, I would rather not have to hold down the CONTROL key and then search through 10,000 songs for the 1,000 I have checked. So what is the secret to accomplishing this?
    Can you sort your library by whether a songs is checked or not? If I could sort them all together as a group, then I could use the SHIFT key to highlight and move them all.
    Am I missing something here? How can you select and sort songs by whether they are checked or not in your library?
    Thanks so much for any help you can provide.

    If only the 1,000 songs you want are currently checked, create a Smart Playlist to collect them.
    How to Create a Smart Playlist
    - File=>New Smart Playlist
    - Playlist is 'whatever playlist you want to use'
    - Match only checked songs
    Note: There is no way to select the Main Library. If you're working with the Library as a base, you'll need un-check the 'Match the following rule' and check 'Limit to' and put a high enough number to capture all the songs.
    Several ways to creatively manage the issue.
    You may wish to create a Static Playlist once you are done, and drag those songs into it for more permanence.
    Post back if you have more questions.

  • How to color the check boxes?

    Hello
    I have couple of check boxes on my form, like....... my_check_box_monthly....... my_check_box_yearly.
    I have 2 scenarios, so based on scenario, i hv to select either of the check box, as below
    if scenario_1
    make/display my_check_box_monthly with BLUE
    else if scenario_2
    make/display my_check_box_yearly. with RED
    endif.
    For text fields..... I know how to get i, its as below,
    this.ui.oneOfChild.border.fill.color.value = "224,224,224";
    Pls. let me know How to write the code for COLORING the check boxes in Java Script?
    Thank you

    Kindly check this code for changing border color of check box
    If scenario1
    this.ui.checkButton.border.edge.color.value = "0,0,255";
    else if scenario2
    this.ui.checkButton.border.edge.color.value = "255,0,0";
    Thanks,
    Anitha

  • How to pass the check box values from one view to another view

    Hi Experts,
    I have a selection screen view which consists of check boxes.
    WBS System status.
    Release                      Completed                  Closed as 3 check boxes.
    Note : The above ones are check boxes.
    Based on the selection made by the user, those values needs to be passed to second view which retrieves the data and
    displays the data accordingly.
    At the same time if the user does not make any selection, then WBS System status should contain Released, Completed and Closed values and that needs to be sent to Second view.
    Kindly advise.
    Regards,
    Chitrasen

    hi ,
    make a attribute of type WDY_BOOLEAN to achieve this functionality
    u need to follow these steps :
    1 in side ur component controller , under the ATTRIBUTES tab , make 3 attributes say attr1 , attr2 and attr3 of type WDY_BOOLEAN
    2 create a context node , cn_check and 3 context attribute ca_check1 , ca_check2 and ca_check3 in ur first view for
    release , complete and close check boxes
    3 inside the DOINIT of ur 1st view , set the attributes attr1 , attr2 and attr3 to blank
    wd_comp_controller->attr1 = ' '
    wd_comp_controller->attr2 = ' '
    wd_comp_controller->attr3 = ' '
    4 inside the method , where u r validating , if the check boxes are checked or not , read the attributes ca_check1 , ca_check2 and
    ca_check3
      DATA lo_nd_cn_check TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_check TYPE REF TO if_wd_context_element.
        DATA ls_cn_check TYPE wd_this->element_cn_check.
        DATA lv_ca_check1 LIKE ls_cn_check-ca_check1.
    *   navigate from <CONTEXT> to <CN_CHECK> via lead selection
        lo_nd_cn_check = wd_context->get_child_node( name = wd_this->wdctx_cn_check ).
    *   get element via lead selection
        lo_el_cn_check = lo_nd_cn_check->get_element(  ).
    *   get single attribute
        lo_el_cn_check->get_attribute(
          EXPORTING
            name =  `CA_CHECK`
          IMPORTING
            value = lv_ca_check1 ).
    IF lv_ca_check1 EQ 'X' .
    wd_comp_controller->attr1 = ' X'
    wd_comp_controller->attr2 = 'X '
    wd_comp_controller->attr3 = ' X'

  • How to enable the check box using cl_salv_table?

    Hi Experts,
                 what code will change for to enable the check box in the following Report program?
    REPORT  ZMA_ALV_OOPS2.
    TABLES:MARA.
    TYPES:BEGIN OF T_MARA,
          SEL   TYPE C,
          MATNR TYPE MARA-MATNR,
          WERKS TYPE MARC-WERKS,
          LGORT TYPE MARD-LGORT,
          LABST TYPE MARD-LABST,
         END OF T_MARA.
    DATA:TB_MARA TYPE STANDARD TABLE OF T_MARA,
         WA_MARA TYPE T_MARA.
    DATA: GR_TABLE TYPE REF     TO CL_SALV_TABLE.
      DATA: GR_FUNCTIONS TYPE REF TO CL_SALV_FUNCTIONS.
      DATA: GR_DISPLAY TYPE REF   TO CL_SALV_DISPLAY_SETTINGS.
      DATA: GR_COLUMNS TYPE REF   TO CL_SALV_COLUMNS_TABLE.
      DATA: GR_COLUMN TYPE REF    TO CL_SALV_COLUMN_TABLE.
      DATA: GR_SORTS TYPE REF     TO CL_SALV_SORTS.
      DATA: GR_AGG TYPE REF       TO CL_SALV_AGGREGATIONS.
      DATA: GR_FILTER TYPE REF    TO CL_SALV_FILTERS.
      DATA: GR_LAYOUT TYPE REF    TO CL_SALV_LAYOUT.
      DATA: GR_PRINT TYPE REF     TO CL_SALV_PRINT.
      DATA: GR_SELE TYPE REF      TO CL_SALV_SELECTIONS.
      DATA: GC_TRUE TYPE SAP_BOOL VALUE 'X'.
      DATA: GR_ITEM TYPE REF      TO  CL_SALV_ITEM.
      DATA: COLUMNNAME TYPE REF TO LVC_FNAME.
    top of list for CCL
      DATA: GR_CONTENT_CCL TYPE REF TO CL_SALV_FORM_ELEMENT.
      DATA: GR_COL TYPE REF TO CL_SALV_COLUMN.
      DATA: LT_SORT TYPE SALV_T_SORT_REF,
            LS_SORT TYPE SALV_S_SORT_REF,
            L_SEQUENCE TYPE SALV_DE_SORT_SEQUENCE,
            T_SORT TYPE REF TO SALV_T_SORT_REF.
      DATA: KEY TYPE SALV_S_LAYOUT_KEY.
      DATA: COLOR TYPE LVC_S_COLO.
      DATA: GR_EVENTS TYPE REF TO CL_SALV_EVENTS_TABLE.
      DATA: GR_SELECTIONS TYPE REF TO CL_SALV_SELECTIONS.
    **--Selection screen
    SELECT-OPTIONS:S_MATNR FOR MARA-MATNR.
    SELECT MATNR WERKS LGORT LABST
             FROM MARD
             INTO CORRESPONDING FIELDS OF TABLE TB_MARA
             WHERE MATNR IN S_MATNR.
    TRY.
          CALL METHOD CL_SALV_TABLE=>FACTORY
            IMPORTING
              R_SALV_TABLE = GR_TABLE
            CHANGING
              T_TABLE      = TB_MARA.
        CATCH CX_SALV_MSG.
      ENDTRY.
      GR_TABLE->SET_SCREEN_STATUS(
                  PFSTATUS = 'SALV_TABLE_STANDARD'
                  REPORT = SY-REPID
                  SET_FUNCTIONS = GR_TABLE->C_FUNCTIONS_ALL ).
    GR_FUNCTIONS = GR_TABLE->GET_FUNCTIONS( ).
      GR_FUNCTIONS->SET_ALL( ABAP_TRUE ).
      GR_DISPLAY = GR_TABLE->GET_DISPLAY_SETTINGS( ).
      GR_SELE = GR_TABLE->GET_SELECTIONS( ).
      GR_SELE->SET_SELECTION_MODE(  ).
      GR_TABLE->SET_TOP_OF_LIST( GR_CONTENT_CCL ).
    *--- To change the column headings
      GR_COLUMNS = GR_TABLE->GET_COLUMNS( ).
      GR_COLUMNS->SET_OPTIMIZE( GC_TRUE ).
      GR_SORTS = GR_TABLE->GET_SORTS(  ).
      TRY.
          GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( 'SEL' )  .
          GR_COLUMN->SET_CELL_TYPE( IF_SALV_C_CELL_TYPE=>CHECKBOX ).
          GR_COLUMN->SET_LONG_TEXT( 'CHECKBOX' ).
        CATCH CX_SALV_NOT_FOUND.
      ENDTRY.
      GR_COLUMN->SET_CELL_TYPE( 6 ).
      GR_COLUMN->SET_SHORT_TEXT( 'Check Box' ).
      GR_COLUMN->SET_LONG_TEXT( 'Check Box' ).
    ******Check box edit
      TRY.
          GR_SORTS->ADD_SORT( COLUMNNAME = 'MATNR' SEQUENCE =
          IF_SALV_C_SORT=>SORT_UP ).
        CATCH CX_SALV_DATA_ERROR
              CX_SALV_NOT_FOUND
              CX_SALV_EXISTING.
      ENDTRY.
      GR_LAYOUT = GR_TABLE->GET_LAYOUT( ).
      KEY-REPORT = SY-REPID.
      GR_LAYOUT->SET_KEY( KEY ).
      GR_LAYOUT->SET_SAVE_RESTRICTION( CL_SALV_LAYOUT=>RESTRICT_NONE ).
      TRY.
          GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( 'MATNR' ).
        CATCH CX_SALV_NOT_FOUND.
      ENDTRY.
      COLOR-COL = '8'.
      COLOR-INT = '0'.
      COLOR-INV = '1'.
      GR_COLUMN->SET_COLOR( COLOR ).
      GR_TABLE->DISPLAY( ).
    Thanks,
    Mahesh.

    Hi,
    You can use the method set_selection_mode to automatically show the checkbox for each row..and use the method get_selected_rows to get the rows selected..
    Check this sample report..
    TYPES: BEGIN OF type_output,
             matnr TYPE matnr,
           END OF type_output.
    DATA:lt_output   TYPE STANDARD TABLE OF type_output,
         lwa_rows    TYPE int4,
         lwa_output  TYPE type_output,
         lt_rows     TYPE salv_t_row.
    * Local declarations.
    DATA: lr_table      TYPE REF TO cl_salv_table,
          lr_selections TYPE REF TO cl_salv_selections.
    DATA: lr_columns    TYPE REF TO cl_salv_columns_table.
    START-OF-SELECTION.
    * Prepare data.
      lwa_output-matnr = 'TEST1'.APPEND lwa_output TO lt_output.
      lwa_output-matnr = 'TEST2'.APPEND lwa_output TO lt_output.
      lwa_output-matnr = 'TEST3'.APPEND lwa_output TO lt_output.
    * Call the factory method
      TRY.
          cl_salv_table=>factory(
            EXPORTING
              list_display = 'X'
            IMPORTING
              r_salv_table = lr_table
            CHANGING
              t_table      = lt_output ).
        CATCH cx_salv_msg.                                  "#EC NO_HANDLER
      ENDTRY.
    * Column selection
      lr_selections = lr_table->get_selections( ).
      lr_selections->set_selection_mode( if_salv_c_selection_mode=>row_column ).
      lr_columns = lr_table->get_columns( ).
      lr_columns->set_optimize( abap_true ).
    * Display
      lr_table->display( ).
    * Get the selected rows.
      lt_rows = lr_selections->get_selected_rows( ).
    * Display the selected rows.
      LOOP AT lt_rows INTO lwa_rows.
        READ TABLE lt_output INTO lwa_output INDEX lwa_rows.
        WRITE: / lwa_output-matnr.
      ENDLOOP.
    Thanks
    Naren

  • How to with the check box in Suppliers - Contact Directory

    EBS R 12.
    I am in need of finding a solution for the following:
    Payables Manager -> Suppliers -> Inquiry -> Select a supplier -> Go to "Contact Directory" -> Select a contact
    Under User Account section there is a check box.
    When I check the check box, the following action should happen:
    1. The "Username" field must contain the value of the "Email".
    2. Under "Responsibilities" "Sourcing Supplier" must be checked.
    I don't know where to put my hands to solve this problem.
    All helps will be appreciated. Thanks.

    Hi
    SPRO - SAP IMG- Material management - Inventory management and physical inventory - Goods receipt - create purchase order automatically - activate auto Po creation for movement type.
    Then activate the auto PO creation in Vendor master - Purchasing view
    Check it out.
    Regards,
    raman

  • How to create the Check box and Text Area inside the Assignment block

    Dear all,
            I am new to web UI development. my requirement is to create the Check box and Text box in the Assignment block. Can anyone help me to do this requirement.
    Thanks & Regards,
    Ashok.

    Hi,
      Please place the below code in the GET_P methods of the fields.
      For Text Area 
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_textarea.
      ENDCASE.
    For Check Box 
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_checkbox.
      ENDCASE.
    Regards,
    Lakshmi.Y

Maybe you are looking for

  • SAP Bigg

    Hi all, while i am saving sales order Syatem Through the error. Input should be in the form ___,___,__~.__V. with red colour. Regards Sriram

  • Middleware - SAP AII

    Hi RFID Friends, i found many informations about SAP AII and RFID Tech. in this , but nothing to a Middleware, witch is essentail for comm. between RFID hardware and SAP. help.sap.com is like a cloesed book in this case. I read about BizTalk or Websp

  • Poster image not working when I turn browser javascript off

    I have inserted a poster into the downlevel stage and the poster image has been uploaded to the correct folder, along with all the JS files. So, I am not sure why the poster image doesn't display when javascript is turned off in my browser. Any sugge

  • VIP folder vs. Smart Mailbox Folder - Why won't they behave similarly?

    My poorly formatted question is this. Why in the VIPs folder you can view ALL the emails in one view from the people you add to this list when you click on the root VIPS text...HOWEVER...when you create a Smart Mailbox Folder like "Employees" and the

  • Logic Certification Practice Exams

    Anyone know where I might be able to take some practice tests for the Logic 8 Level I certification?