Check box in tabel view?when to use itereator and when to use table view

hi,
I want to have a check box along with the other 7fields  in the table view.
when the checkbox is checked and the merge complete push button is clicked, the respective code for merge is to be executed.
how can I do this?
could anyone tell me hw to get a check boz in table view
when to use a  iterator in BSP, how table view n iterator in comparision ae used or function/work.
Regards,
Pavan P.

Hi Pavan,
Table View is an BSP element used to display mass data in a layout similar to a table (table view).
<b>Iterator</b>is an attribute to modify rendering row-by-row, and make it dependent on the clicked row. In this way, you define an action from a particular line. This action is defined in columnDefinitions or overWriteDefinitions.
<htmlb:tableView id = "tvX"
                 headerText          = "Department List"
                 design              = "standard"
                 headerVisible       = "true"
                 width               = "30%"
     selectedRowKeyTable = "<%= selectedrowindextable %>"
     onRowSelection      = "MyEventRowSelection"
     sort                = "server"
     keepSelectedRow     = "TRUE"
     selectionMode       = "MULTISELECT"
     table               = "<%= i_dept %>" >
</htmlb:tableview>
In your <b> OnInputProcessing </b>, Use this Iterator table to get the data of selected records.
IF selectedrowindextable[] IS NOT INITIAL.
DESCRIBE TABLE selectedrowindextable LINES no .
Rgds,
Jothi.
Pls do close the thread if ur problem is solved.

Similar Messages

  • Step by step process to add Radio Buttons and Check boxes in a view

    Hi,
    Could somone give me the steo by step process for adding the Radio Buttons and Check boxes in a view.
    Regards
    Hrudaya Raju

    https://www.sdn.sap.com/irj/sdn/articles-topic?rid=/webcontent/uuid/7082f9fc-070d-2a10-88a2-a82b12cea93c
    https://www.sdn.sap.com/irj/sdn/webdynpro-elearning
    https://help.sap.com/javadocs/NW04S/current/wd/index.html
    https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDCheckBox.html
    https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDCheckBoxGroup.html
    https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDRadioButtonGroupByIndex.html
    https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDRadioButtonGroupByKey.html
    Armin

  • Help with creating a form, I want to add a check box to enable me to unlock certain fields and deselect the block again

    Help with creating a form, I want to add a check box to enable me to unlock certain fields and deselect the block again

    Look to the right under "More Like This". Your issue has been discussed many many times. The error you are seeing is because you do not have enough free "contiguous" space on your hard drive. Read the other threads that address this issue to find how to solve the issue.
    Or, put "The disk cannot be partitioned because some files cannot be moved" into the search box at the upper right of this page.

  • I have a dynamic table that calculates the sum of all rows, no issue.  I'm struggling with pulling out a subtotal though.  I would like to have a check box in each row  that flags those rows and gives the sum of their total.  Any help would be greatly app

    I have a dynamic table that calculates the sum of all rows, no issue.  I'm struggling with pulling out a subtotal though.  I would like to have a check box in each row  that flags those rows and gives the sum of their total.  Any help would be greatly appreciated.

    Here's something I threw together rq. The script is in the change event for the checkbox in the table. (Of course, you'll have to modify it to suit the names of your fields.)
    var rows = xfa.resolveNodes("tblAmounts.Row1[*]");
    var subtotal=0;
    for (i=0; i<rows.length; i++) if (rows.item(i).cbAdd.rawValue == 1) subtotal = subtotal + rows.item(i).nfAmount.rawValue;
    nfSubtotal.rawVlaue=subtotal;

  • I don't seem to have an align/unalign check box option anymore for tools like the clone and healing brush. PS CC14 on a Mac. Anyone know how to get it back?

    I don't seem to have an align/unalign check box option anymore for tools like the clone and healing brush. PS CC14 Anyone know how to get it back?

    Sounds like you have the Narrow Options Bar enabled
    Photoshop>Preferences>Interface

  • System Status check boxes into Quick view (using Tables)

    Dear Experts,
    Please suggest, whether there is any method to get System Status Checkboxes, into the selection screen, while creating a Quck View /Infoset query using Tables only.
    Regards
    Jogeswara Rao

    Narasimhan,
    Thanks for responding.
    As rightly said by you, i spent lot of time with this option. but my problem is:
    - When I give NOPR or other status in the field and execute, one norification appears multiple times in the output (Using VIQMEL, JEST, TJ02T, CRHD etc)
    I cross check these results with IW28 output, and find lot of deviation in the record count, due to this multiplicity.
    Then I used the logical database (Notifications), Here the System Status checkboxes appear on their own and the results too are accurate. But this selection screen is not acceptable, because there appear lot many components which are not not required (you may recall my other query on SHD0)
    This is the whole case.
    As an alternative solution this post, may help in avoiding the repeating lines in the Query explained above.
    Regards
    Jogeswara Rao

  • Is it possible to get a check box's export value when it is OFF

    Hi,
    I'm wondering if I can set a check box export value to something like "S".
    I'll want to check all boxes whose export value is "S", but I want to detect if the export value is "S" when the box is NOT checked. Is that possible?
    Thanks in advance.

    Another option is to use COUNTIF for the column of checkboxes.
    =COUNTIF(B2:B9, TRUE)*3.75
    Any of the cells between B2 and B9 with a checkbox will be included in the count of people that paid the 3.75 amount. It does of course assume that the amount received is always 3.75.
    Erik

  • Radio Buttons & Check Boxes Replaced w/ Rectangles, when printing Form w/ Adobe Reader XI (11.0.03)

    Hello.  I need to be able to print a .pdf copy of a completed web page form.  The form is completed by entering data into text boxes and text areas, and selecting various radio buttons and check boxes.  When the form is complete, it is saved, which converts the form into a .pdf file.
    When I open the saved .pdf file, it looks completely normal.  I will then select the print button, which is built into the display window for the form.  The printed form will appear, but the radio buttons and check boxes will have been replaced with the outline of rectangles.
    This is what the source form looks like, before printing:
    This is what the printed image looks like, after printing.  NOTE: All check boxes and radio buttons (and the data that they contained) are gone:
    I am not sure if this is a setting that needs to be changed in Adobe REader XI, or something else.
    Please let me know what you think it might be.
    Thanks,
    Rick

    Michael,
    It is a web/html form.
    The forms are built and used inside of a software program called WebEOC.
    WebEOC is used to allow for sharing information between different
    emergency response entities (like a State, and the counties within the
    State).
    The form I am working with was built with a web page editing program.  The
    form uses html, xhtml, xml, CSS and javascript.
    A for user would launch the WebEOC form (after logging into WebEOC), and
    they would fill out the form.  Text goes into text boxes and text areas,
    dropdown menu selections are made, and some information is entered using
    radio buttons and check boxes.
    When the form is complete, it is saved within the WebEOC database, as a
    .pdf file.
    You can then open the .pdf file in order to see the form, in it's
    completed state, as a pdf.
    When I try to pint this pdf file of the completed form, the check boxes
    and radio buttons are replaced with rectangles.  Any selections made in
    the radio buttons or checkboxes is lost.
    Thanks,
    Rick
    [signature removed]

  • Check Box in Tree View

    I have created ALV TREE VIEW using CL_GUI_ALV_TREE.
    i have set the check boxes at nodes.
    now whenever user checks the checkbox and selects the pushbutton on PF-Status..at that time i want to capture the checkbox in my internal table...
    please fine me a solution.
    Thanks.

    Following code is to add checkboxes in ALV tree:
    FORM add_root_request USING pls_data_ TYPE csg_gs_outtab_p_key__l_is_sub_node_ TYPE c
    CHANGING pl_carrid_key._node = nodes->add_node( related_node = p_key
    relationship = cl_gui_column_tree=>relat_last_child ).
    ... §0.2 if information should be displayed at
    the hierarchy column set the carrid as text for this node
    text = p_ls_data-object.
    node->set_text( text ).
    ... §0.3 set the data for the nes node
    node->set_data_row( p_ls_data ).
    item = node->get_hierarchy_item( ).
    item = node->get_item( 'FCHECKBOX' ). "FCHECKBOX is my radio button field in internal table which I am using to populate the ALV
    item->set_type( if_salv_c_item_type=>checkbox ).
    pl_carrid_key = node->get_key( )._
    CATCH cx_salv_msg.
    ENDFORM_._Following code is for handling checbox_change event
    PERFORM application_action_events.
    FORM application_action_events .
    data: lr_events type ref to cl_salv_events_tree.
    *data gr_events type ref to lcl_handle_events.
    lr_events = gr_tree->get_event( ).
    create object gr_events.
    set handler gr_events->check for lr_events.
    set handler gr_events->on_link_click for lr_events.
    set handler gr_events->on_before_user_command for lr_events.
    set handler gr_events->on_after_user_command for lr_events.
    set handler gr_events->on_keypress for lr_events.
    endform. " application_action_events----
    CLASS lcl_handle_events DEFINITION.
    PUBLIC SECTION.
    METHODS:
    check FOR EVENT checkbox_change OF cl_salv_events_tree IMPORTING node_key columnname checked. "Here node_key is the row number
    ENDCLASS. "lcl_handle_events DEFINITION
    CLASS lcl_handle_events IMPLEMENTATION
    §4.2 implement the events for handling the events of cl_salv_table
    CLASS lcl_handle_events IMPLEMENTATION_._
    METHOD check_._
    WRITE 'hello'_._
    DATA lwa_modify_check_ TYPE REF TO csg_gs_outtab.
    node_key = node_key - 1_._
    READ TABLE csg_gt_list INDEX node_key REFERENCE INTO lwa_modify_check._
    if columnname = 'FCHECKBOX'_._
    IF checked = 'X'_._
    If the value in internal table is set to X, then it is deselct
    lwa_modify_check->fcheckbox =_ ' '_._
    ELSE_._
    lwa_modify_check->fcheckbox =_ 'X'_._
    ENDIF_._
    ENDIF_._
    if columnname = 'CHECKBOX_READ'_._
    IF checked = 'X'_._
    If the value in internal table is set to X, then it is deselct
    lwa_modify_check->checkbox_read =_ ' '_._
    ELSE_._
    lwa_modify_check->checkbox_read =_ 'X'_._
    ENDIF_._
    ENDIF_._
    *MODIFY TABLE csg_gt_list from l_wa_modify_check.
    flag_test = flag_test + 1_._
    ENDMETHOD_._ "check
    ENDCLASS_._ "lcl_handle_events IMPLEMENTATION
    Please give me reward points

  • Check box or radio button to control image opacity and text field. javascript

    This is a little over head and skill set so I am reaching out to you fine people.
    I am using Adobe acrobat pro x
    I have radio buttons now but I can switch to check box if needed.
    What I need the Java script to do is...
    If Yes is checked then a text field labeled comments appears and an image labeled box changes the opacity to 100%.
    If No is checked then it does the opposite. Text field disappears and image goes to 0% opacity.

    This is the Adobe Reader forum.  You are more likely to receive a helpful answer if you ask in the appropriate Acrobat forum (e.g. Acrobat SDK).

  • When saving a fill-in form that contains check boxes, the filled in check boxes do not show up on the new PDF. How do I fix this?

    Basically, I have a form that comes over from a vendors that is Pre filled. I may have to manually answer some of the check boxes. Either way, when I go to save the form to put in our system, the checkboxes on the newly save PDF are now blank. How do I stop this from happening

    I use windows 7 and I current have Adobe Reader XI 11.0.09. The document is transmitted from a vendor to our AWD system, when I open it, it opens in Adobe for viewing and corrections

  • Reset radiobutton list when check box unchecked

    I have a static PDF registration form that I am working on using LiveCycle Designer 8.2. I would like to learn how to have a radiobutton list reset when a particular check box is unchecked.
    When registering for the event, users have the option of attending 1 of the 4 optional afternoon workshop sessions. I have successfully made the workshop radiobuttons hidden until the check box is checked using the following code:
    (check box is named "Reg4" -- this is where they say "yes" I'm going to attend 1 of the 4 workshops,
    radiobutton list of the 4 workshops is named "RadioButtonList3")
          topmostSubform.Page1.Reg4::change - (JavaScript, client)
         if (this.rawValue == "0") {
           this.resolveNode("RadioButtonList3").presence = "hidden";
    When the user unchecks the "Reg4" checkbox after they have selected 1 of the 4 workshops, that radiobutton is still checked.
    What I'm looking for is to have the radiobutton list reset (or again hidden) when the Reg4 button is unchecked (after previously being checked).
    I hope my description is clear. Is this possible?

    Thank you again, Jono, for your reply. I was worried that the Static PDF was the trouble but I just couldn't take no for an answer!
    If you're willing, I'd be happy to send you my file but am unable to post publicly.
    In an earlier version the RadioButtonList3 is hidden when first viewing the file. It was done using FormCalc. (I know you said don't mix the languages but, hey, it worked!) Also, I found a post you had last year in the discussion "Prompt User to click checkbox (radio button)" where you described a message box using Java. I snagged that and put it on the enter event of the Reg4 field.
    When I preview the PDF, this is what I now have:
    Upon first view, RadioButtonList3 is hidden and am unable to select (perfect)
    When I check the Reg4 box, I get the "You will be registered for a..." warning message (perfect)
    I can now make a selection in the RadioButtonList3 (perfect)
    If I uncheck the Reg4 box without making a selection on RadioButtonList3, the RadioButtonList3 again hides (perfect)
    If I check the Reg4, then make a selection on RadioButtonList3, and then uncheck the Reg4 box, the RadioButtonList3 is reset (perfect)
    BUT the RadioButtonList3 is still visible and a selection can now be made (not perfect because the Reg4 box is now unchecked and the user will only be registered for the event if Reg4 is checked)
    #1 RadioButtonList3 will hide only if it has not been selected and reset first.
    #2 The warning message only appears the first time Reg4 is checked.
    These 2 items somehow seem related. Is there something that tells it "use this code when you first open the document but act differently once you've started checking boxes" so it only acts as I intend on the first go-around?
    Here's all of my code:
      topmostSubform.Page1.RadioButtonList3::calculate - (FormCalc, client)
    if (Reg4 == "0") then
              RadioButtonList3.access = "readOnly"
    else
              RadioButtonList3.access = "open"
    endif
    topmostSubform.Page1.Reg4::change - (JavaScript, client)
    if (this.rawValue == 1) {
      RadioButtonList3.presence = "visible";
    else {
              RadioButtonList3.rawValue = "";
      RadioButtonList3.presence = "hidden";
    topmostSubform.Page1.Reg4::enter - (JavaScript, client)
    if (RadioButtonList3.rawValue == "") {
         xfa.host.messageBox("You will be registered for an Optional Workshop ONLY if this box is checked. Don't forget to tell us which workshop you will be attending.");
         this.rawValue == null;
    So sorry for the lengthy post. I'm open to any ideas that anyone may have.
    This certainly is a learning experience!

  • Problem Using Check Box in a Report

    Hi all,
    I have a simple SQL report with a check box.The problem is when paginating forward and backward in the report(Next and Previous),The report region is refreshed and all the check boxes is reset to unchecked.
    P.S: I'm using APEX 4.0.
    Any Help will be appreciated,
    Ola

    Ola,
    If you search the forum, you will find lot of discussions on this issue..
    In nutshell, solution is -
    Case 1: If you have enabled partial refresh for your report ( pagination works through AJAX)
    Then
    a. onClick of any check-box, call JS function, lets say fnSaveState(this);
    b. In JS function, update/store all the checked check-boxes info in JS variable or array.
    c. Bind a JS function, lets say fnSetState() - which will set the check boxes to either checked or un-checked based on JS variable/array value(s) to pagination onClick event.
    Case 2: If you have not enabled partial refresh for your report
    Then
    a. onClick of any check-box, call JS function, lets say fnSaveState(this);
    b. In JS function, store the check-box status in any hidden_item and insert its value into session with dummy AJAX call.
    c. On page load call JS function, lets say fnSetState() - which will set the check boxes to either checked or un-checked based on hidden item value(s) .
    Hope it helps.
    Regards,
    Hari

  • Need Check Box Help using Acrobat Multiple Fields

    I am trying to get the check marks on this form to act as individual units that can be tabbed through (going down left column, then to right column). I used the "Place Multiple Fields" command to get all the check boxes in. Now, when I do my preview test run, if one box is checked more than one gets checked off someplace else in the form. I want them each work as their own unit and not be associated wiht the other boxes. Do I have to draw each one of these in individually to get this to work the way I want it to work? I am guessing that can't be true. This is a computer after all.I am betting it is an adjustment I need to make to the "Place Mulitple Field"  command when I put them in???? I know this one will be a simple answer witha simple soultion. I'm tap dancing all around it and just can't get it. The visual shoudl expalin it all. Thank you.
    I check on one box in the left column and it also checks other boxes in the right column or elsewhere.

    You need to give each separate check box a unique name. If check boxes have the same name and export value, they will behave that way. If several check boxes have the same name but unique export values, they will behave as a group, where only one in the group can be selected, very similar to how a radio button group normally would behave.

  • Use check box for report and form

    Hi Expert,
    I try to use check box to select multiple rows in a report and then click on a button to go to a form on another page to choose some values from the form and then do a mass update for records selected in reports.
    I read the "How to Work with Check Boxes" in 2 Day Developer guide, it works fine to select mutiple rows in report and do update with process in that report page.
    However, if I click on a button to go to another page which contains a form, seems the values stored in the package array are cleared and not passed to that page.
    Do you know how I could make this work?
    Thanks a lot,
    Jessie

    Hello Sakti,
    I am also in ECC6.0 & if i see the definition of the BAdI BADI_TAX1_XTXIT_SET, "Multiple Use" checkbox is checked! What are you trying to do - trying to create an implementation?
    @Prabhu: Although the BAdI is "multiple-use", but there is not filter applied to it. Next time do your checks properly before replying
    BR,
    Suhas

Maybe you are looking for