Check box in list

Hi All,
Iam new to these kind of programs.
have to put check boxes and text boxes in the list and then save it.
for example if 10 materials are displayed.  for each material have to  put check box and text box. if check box is checked and save button is clicked, only checked materials need to be saved along with value in text box.
Please let me know the code, valuable answers are rewarded.
Thanks in advance
jog

hi jog,
check the below links
How can I display a checkbox in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=88376
http://www.sapfans.com/forums/viewtopic.php?t=40968
http://www.sapfans.com/forums/viewtopic.php?t=6919
If u find it useful mark the points
Regards,
Naveen

Similar Messages

  • How to add check box to list screen in SYCLO Agentry?

    Hi,
    How can I add a check box to the list screen. I want to add a new column which allows the user to select the check box.
    I have tried with "Allow Multi-Row Select" option. When I selected this option I am getting an error
    "The For Object defined for the "Transmit" action is invalid. 'None' is not a valid choice since the Multi-Row Selection option for the list screen is enabled."
    -Shyam

    Is the list screen in transaction screenset or Object?
    You can't use the field type button in a list screen.  But what you can do is take a 16 x 16 image, with a checked box not checked.
    Users will not be able just to check the box to enable it or not.  You need to have an action linked to a button to the selected row, or you can have an action fire if the user double checks the row.
    Stephen

  • Is there a check box for lists like Appleworks?

    I have created nice to do and work lists with checkable boxes in AppleWorks.    But since Apple abandoning appleworks trying to do on pages but find no font or style to do that.   Is there a way?

    John Butt wrote:
    Understand ok Koenig.    Can use Numbers ok but just would prefer in Pages for formatting what I want. 
    Here we aren't Apple engineers but end users so we can't change the apps behavior.
    You may
    Go to "Provide Numbers Feedback" in the "Numbers" menu, describe what you wish.
    Then, cross your fingers, and wait at least for iWork'11 or 12 ;-)
    Go to "Provide Pages Feedback" in the "Pages" menu , describe what you wish.
    Then, cross your fingers, and wait at least for iWork'11 or 12 ;-)
    My own choice would be to keep a single application : Numbers of course offering every features available in Pages.
    -- A huge text box would allow to build documents behaving like Pages Word Processing documents
    -- Several text boxes would allow to build documents behaving as Pages Layout documents
    but in both cases, we would have the benefit of the full power of Numbers tables.
    Yvan KOENIG (VALLAURIS, France) vendredi 19 août 2011 17:05:36
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Check box with list item

    hi ,
    i have items in the form , the user need to visible this item with him self , so i make all the items visible = no
    and make list item and but all the items in list value
    when list item chanched and the user select any item the item will visible = yes
    the form like that
    list item named = bank
    value in the list ( bank_name= 1
    bank_address = 2)
    and i have 2 items in the form
    bank_name
    bank_address
    both of them visible = no
    and i make trigger ( WHEN-LIST-CHANGED )
    if :bank =1      then
         SET_ITEM_PROPERTY('bank_name', VISIBLE , PROPERTY_TRUE);
    elsif :bank=2 then
         SET_ITEM_PROPERTY('bank_ADDRESS', VISIBLE , PROPERTY_TRUE);
    end if ;
    the qustion is
    when the item visible = yes after the user selected it from the list
    how can make this itme visible = no
    when the user selected the same item ?
    thank you

    Hello,
    One idea is to make that conrtol using one list item. Suppose you have two item names in the list then create two parameters/global variables in the form and use them like this...
    Trigger = WHEN-NEW-FORM-INSTANCE
    :PARAMETER.NAME_FIELD:='N';
    :PARAMETER.ID_FIELD:='N';Now in the WHEN-LIST-CHANGED trigger use the code as below...
    IF :list_name='NAME_FIELD' THEN
      IF :PARAMETER.NAME_FIELD='N' THEN
        SET_ITEM_PROPERTY('NAME_FIELD',VISIBLE,PROPERTY_TRUE);
        :PARAMETER.NAME_FIELD:='Y';
      ELSE
        SET_ITEM_PROPERTY('NAME_FIELD',VISIBLE,PROPERTY_FALSE);
        :PARAMETER.ID_FIELD:='N';
      END IF;
    ELSIF :list_name='ID_FIELD' THEN
      IF :PARAMETER.NAME_FIELD='N' THEN
        SET_ITEM_PROPERTY('ID_FIELD',VISIBLE,PROPERTY_TRUE);
        :PARAMETER.ID_FIELD:='Y';
      ELSE
        SET_ITEM_PROPERTY('ID_FIELD',VISIBLE,PROPERTY_FALSE);
        :PARAMETER.ID_FIELD:='N';
      END IF;
    END IF;HTH.
    -Ammad

  • Check box rendering problem in List.

    Hi All,
                I am using list component in my app and list component allows multiple selections. I am using an itemrenderer having the checkbox and label in hbox.
    Rendering is working fine. but when I selected three or four items randomly using check boxes in list and If I scroll it vertically (up and down) the selections of check boxes changedto another items. If I keep on doing this finally I will get all the check boxes selected. but I have selected only three check boxes.
                 I wanted get out of this problem. If i selected two or three checkboxes and when scroll it vertically it should remain as it is. Selections should not change... please help on this.. 
                     I am posting the code of Item renderer
    <?xml version="1.0" encoding="utf-8"?>
    <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" horizontalGap="2"
        width="100%" height="100%"
        implements="mx.controls.listClasses.IDropInListItemRenderer"
        initialize="init()"
        verticalScrollPolicy="off"
        horizontalScrollPolicy="off"
        click="handleClick(event)">
        <mx:Metadata>
            [Event(name="checkBoxEvent", type="com.comp.name.ui.events.CheckBoxEvent")]
        </mx:Metadata>
        <mx:Script>
            <![CDATA[
                import mx.controls.List;
                import mx.controls.listClasses.ListData;
                import com.comp.name.ui.events.CheckBoxEvent;
                import com.comp.name.ui.filters.StringUtils;
                import mx.controls.dataGridClasses.DataGridListData;
                import mx.controls.listClasses.BaseListData;
                private var _listData:BaseListData;
                private var _list:List;
                public function init():void
                    this.addEventListener(Event.CHANGE, onChangeEvent);
                public function get listData() : BaseListData
                    return _listData;
                public function set listData( value:BaseListData ) : void
                    _listData = value;
                    if(listData)
                        _list = listData.owner as List
                override public function set data(value:Object):void
                    super.data = value;
                protected function handleClick(event:MouseEvent):void
                    if(check.selected)
                        check.selected = false;
                    else
                        check.selected = true;
                protected function checkBoxSelected(event:Event):void
                    if(data)
                        if(check.selected){
                            dispatchEvent(new CheckBoxEvent(CheckBoxEvent.CHECKBOX_EVENT, data.mx_internal_uid,data as Object, true,true));
                        }else
                            dispatchEvent(new CheckBoxEvent(CheckBoxEvent.CHECKBOX_EVENT, data.mx_internal_uid,data as Object, false,true));
                protected function onChangeEvent(event:Event):void
            ]]>
        </mx:Script>
        <mx:CheckBox id="check" change="checkBoxSelected(event)" click="handleClick(event)"/>
        <mx:Label id="lb" width="100%" height="100%" htmlText="{_list.labelFunction(data)}"/>
    </mx:HBox>
    I have faced this problem in so many times in so many list component..  Please help me on this...

    Can any one please give a reply .. If you dont understand it please let me .. I will give you detailed explanation.. Please it is an urgent requirement..

  • Event for Check box in the list

    hi,
    I have a 10 check boxs in list using
    loop.
    WRITE CHK1 AS CHECKBOX.
    endloop.
    and if I click on 8th checkbox. i need to trigger an event, like what we have in
    AT LINE SELECTION. or  AT USER COMMAND.
    i don't want to use below logic because when there are 300 records it starts reading from first line and giving time out dump. I don't want to run the loop for 300 to find out for one selected box.
    Do.
       ADD 1 TO w_line.
        READ LINE w_line line value INTO porec.
    Enddo.
    pls reply ASAP.
    Thanks,
    Ram.

    I'll confirm that - at least to the best of my knowledge.  There is no event that is triggered when a simple checkbox is ticked on a list.
    You either need to make them buttons (ie at user-command) or hotspots (so the 'click' also triggers at line-selection).

  • List check box

    Hello he would like to know somebody knows some example of a list check box
    if they could help me I thank
    thanks
    Renato Teixeira
    add msnmessenger
    [email protected]

    Hi Renato,
    I don't know of anything called a "list check box". There are either check boxes, or list boxes. This is what it looks like in HTML:
    Check box
    <input type="checkbox">
    List box
    <select>
    <option>First Choice</option>
    <option>Second Choice</option>
    </select>

  • Input control -Check Box Problem in webi4 over Bex query

    Hi All
    i am in webi4 over bex query
    my customer requirement is to have the option to select multiple values from object (e.g Document class) with out the need of presenting the field(e.g document class) in the report
    when I use the input control check box or list box i have the following problem
    if I select from the input control all values I see the report ok
    if I select 2 values from the list I receive #UNAVAILABLE , but if i add the field to the report ( the document class) it works fine.
    the problem is that  if I don't have the field in the report i get the #UNAVAILABLE
    any assistance is appreciated
    Thanks

    Hi,
    this question has been asked many times before on this forum, so do please search first.
    Here's some steers : http://forums.sdn.sap.com/thread.jspa?messageID=10852102#10852102
    and : http://forums.sdn.sap.com/thread.jspa?messageID=10838993#10838993
    Also, do search the knowledge base articles over here in the cross-search: www.service.sap.com/xsearch
    you keywords would be "4.0 webi #UNAVAILABLE"    (there are 12 sap notes about this)
    Finally, make sure you use all the latest Patches (Patch2.11,  2.12 next week) to include corrections.
    Regards,
    H

  • Check boxes are not being displayed in any list applets

    Issue: The check boxes are not being displayed in any list applets in the system. A check box can be marked in the system, but as soon as the user clicks anywhere outside of the box the check box 'visibly' disappears. If you hover the mouse over the check box it displays a 'Y'. However, check boxes are working fine for the form applet, the issue is only with the list applet.
    I verified the checkboxes work fine in the thick client and in production. However, it is the testing environment, which belongs to client, that is showing the above behavior. I think there is some setting that is missing for them. But I am unable to figure it. I would really appreciate if someone could help !!
    Thanks in advance

    One way that you could make it work (just tried it out again) is to use the windings font
    and use the checkboxes from there. However, you need to register the font with xml publisher. In the template builder for Word, you can put a configuration file under:
    C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\config
    (depnding on your installation). The file should have the name xdo.cfg or xdoconfig.xml.
    There is an example file: xdo example.cfg that you rename and change accoringly.
    The font is there setup for windows 2000 as an example. Select the correct font
    path - for my XP it is:
    <font family="Wingdings" style="normal" weight="normal">
    <truetype path="C:\WINDOWS\fonts\wingding.ttf" />
    </font>
    Then you can put the symbols into your RTF template and it will be rendered.
    At least it worked for me - with 5.6.2. (Availbable on Wednesday or Thursday), but
    I am pretty sure I tried it before with 5.5.
    Didn't have the 5.5 manual with me - so I have to check what that says again..
    Hope it helps,
    Klaus

  • How to select the output list check boxes

    Hi ABAP gurus,
       I am developing the on report, it display the output list, in that output list first column is Check box,
    here i created the 3 Pushbuttons on application tool bar,  one pushbutton is SELECT ALL, 2nd one is DESELECT ALL , 3rd one is CREDIT NOT CREATE,
    here when i click on the Select all button it will select all the check boxs and click on the credit not button  it will create credit memos for all the customers,  if i select the one or more than one check boxs, it will not working means (Credit note will not be created for that paricular customer)
    plz tell me answer, if u know the any example programs related to this program plz send me.

    Hi,
    refer this sample code.
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'F2'.
          PERFORM selection.
        WHEN 'SELECTALL'.
          PERFORM selectall.
        WHEN 'DESELECTAL'.
          PERFORM deselectall.
      ENDCASE.                             " CASE SY-UCOMM
    *&      Form  selection                                                *
          Selecting records of basic list and display flight information *
          No parameters transferred                                      *
    FORM selection .
      DO w_lines TIMES.
        READ LINE w_lineno FIELD VALUE w_checkbox INTO w_checkbox
                                    fs_spfli-carrid INTO fs_spfli-carrid
                                    fs_spfli-connid INTO fs_spfli-connid
                                    w_mark INTO w_mark.
        IF sy-subrc EQ 0.
          IF w_checkbox EQ 'X' AND w_mark NE '*'.
            w_mark = '*'.
            MODIFY CURRENT LINE FIELD VALUE w_mark
                                FIELD FORMAT w_checkbox INPUT OFF.
            SELECT carrid                  " Airline Code
                   connid                  " Flight Connection Number
                   fldate                  " Flight date
                   seatsmax                " Maximum capacity
                   seatsocc                " Occupied seats
              FROM sflight
              INTO CORRESPONDING FIELDS OF TABLE t_sflight
              WHERE carrid EQ fs_spfli-carrid AND connid EQ fs_spfli-connid.
            IF sy-subrc EQ 0.
              LOOP AT t_sflight INTO fs_sflight.
                WRITE :/2 fs_sflight-carrid,
                       10 fs_sflight-fldate,
                       25 fs_sflight-seatsmax,
                       45 fs_sflight-seatsocc.
              ENDLOOP.                     " LOOP AT T_SFLIGHT INTO....
              ULINE.
              CLEAR t_sflight.
            ELSE.
              MESSAGE text-001 TYPE 'S'.
            ENDIF.                         " IF SY-SUBRC EQ 0
          ENDIF.                           " IF W_CHECKBOX EQ 'X' AND .....
        ENDIF.                             " IF SY-SUBRC EQ 0
        ADD 1 TO w_lineno.
        CLEAR w_checkbox.
      ENDDO.                               " DO W_LINES TIMES
      w_lineno = 3.
    ENDFORM.                               " Selection

  • How do I list product details   using   check boxes to save having to write the same info over and o

    Hi there
    First of all
    Happy New Year and I hope everyone is well all the best for the future
    Now...... back to the point
    What I want to do is........
    I am making a jewelry ... necklace... shopping site for my girlfriend.... well.... my wife in two weeks.... This site has been a loooong time coming.... I am still not happy with it so it still not public.... but is working ok She very upset it taking more than a year.... but I am still learning and I always want it better
    Anyway
    I have hundreds of Necklace details to enter..... i thought it would be easy but it is very tmie consuming...... So ...
    The necklaces are made from different kinds of stones.... turquoise .. agate ... and about a hundred more different kinds of stones
    In my add product form I have a field for entering product details..... to enter the different kinds of stones the necklaces are made from..... sometimes more than twenty for one necklace..... So what I want to do is have check boxes... or radio boxes to choose what stones to add to the description..... So I can have a list of about fifty different kinds of stones all with a check box next to them so that when you choose a box that stone name would appear in the product description
    Sounds easy but I can't figure out how to do it.....
    I think I need a different table in my database a 'stone_neck' field to store all the stone names.... about 50 fields..... .... with an id field and a name field and maybe a display field ....... I think
    Does that sound correct.......?
    If so then how do I display the details in a field in a table in my product detail page? I think I need a recordset on my detail page that gets all the stone names.... but how do I display the names of the stones that I have checked in the addprod form ? Do I need to put all every one of the stone info from the bindings panel? and then show region if .......
    i am confused
    If anyone has any ideas it would be great
    Have a great day

    Maybe you can take tips by visiting sites of prominent jewelry brands like Tiffany to get some ideas of how to structure your product list details.
    Just a thought.
    Mahadevan
    www.wheretobuyringsnow.com

  • How to create a group/list of check box variables for display in text field, in appended format

    I need to identify a series of single-response checkbox variables and display the ones selected (as a group) in a text field in an appended (comma, space) format. Last week, you provided a great little script for a similar need using List Box (multiple response) variables. This time I need to know how to formally identify the checkbox variables and, I presume, use a similar script to display the results in a comma, space format.
    You've been of great help.
    Thanks

    Here's the script adapted to this situation. It assumes there are ten check boxes named cb1, cb1, cb2, ...cb10.
    // Custom Calculate script for text field
    (function () {
        // Initialize the string
        var v, s = "";
        // Loop through the check boxes to build up a string
        for (var i = 1; i < 11; i++) {
            // Get the value of the current check box
            v = getField("cb" + i).value;
            if (v !== "Off") {
                if (s) s += ", ";  // Add a comma and a space if needed
                s += v;  // Add the selected value
        // Set this field value to the string
        event.value = s;
    You'll have to change the field name and starting/ending numbers to match your form.

  • HOW TO TRIGGER CHECK BOX EVENT IN BLOCKED LIST OUT PUT

    Hi Abapers,
    I am developing ALV Blocked list using 3 internal tables.
    in output list my requirement is if I click one check box in one intrrnal table the below internal table checkboxes should be checked.
    how to solve this problem this is very urgent to me I hope somebody will help me.
    Regards
    Shashikumar.G

    Hi
    First you need to register the events of clicking of the checkbox.
    Once registerred, you can capture that event and when occured, you can set the checkboxes for below internal table.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/95/34eb7feb6211d3a7270000e83dd863/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/95/34eb7feb6211d3a7270000e83dd863/frameset.htm</a>
    Regards
    Raj

  • How to add check box in the ALV list

    dear Experts,
                 i have a requirement.
    i want show the check boxes in my ALV list.
    can u please give the solution.
    thanks

    TYPE-POOLS: slis.
    *---internal tables
    DATA: BEGIN OF it_flight OCCURS 0,
    SEL, " add a single character field in the final output table
    carrid LIKE sflight-carrid,
    connid LIKE sflight-connid,
    fldate LIKE sflight-fldate,
    seatsmax LIKE sflight-seatsmax,
    seatsocc LIKE sflight-seatsocc,
    END OF it_flight,
    *--internal tables for alv
    it_fieldcat TYPE slis_t_fieldcat_alv,
    wa_fcat LIKE LINE OF it_fieldcat,
    layout TYPE slis_layout_alv,
    it_sort type slis_t_sortinfo_alv,
    wa_sort like line of it_sort.
    DATA: BEGIN OF it_flight_sel OCCURS 0,
    SEL,
    carrid LIKE sflight-carrid,
    connid LIKE sflight-connid,
    fldate LIKE sflight-fldate,
    seatsmax LIKE sflight-seatsmax,
    seatsocc LIKE sflight-seatsocc,
    END OF it_flight_sel.
    data: wa_flight like it_flight.
    In the layout set give the name of the field
    whose checkbox will be created ( SEL as it has 1 char only )
    layout-box_fieldname = 'SEL'.
    *---start-of-selection .
    START-OF-SELECTION.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = sy-repid
    i_internal_tabname = 'IT_FLIGHT'
    i_inclname = sy-repid
    CHANGING
    ct_fieldcat = it_fieldcat
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2.
    *----get data
    SELECT carrid
    connid
    fldate
    seatsmax
    seatsocc
    FROM sflight
    INTO CORRESPONDING FIELDS OF TABLE it_flight
    UP TO 20 ROWS.
    wa_fcat-do_sum = 'X'.
    MODIFY it_fieldcat FROM wa_fcat TRANSPORTING do_sum
    WHERE fieldname = 'SEATSOCC' .
    wa_sort-fieldname = 'CARRID'.
    wa_sort-group = 'UL'.
    wa_sort-up = 'X'.
    APPEND wa_sort TO it_sort.
    clear wa_sort.
    wa_sort-fieldname = 'CONNID'.
    wa_sort-subtot = 'X'.
    wa_sort-up = 'X'.
    APPEND wa_sort TO it_sort.
    clear wa_sort.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
    is_layout = layout
    it_fieldcat = it_fieldcat
    it_sort = it_sort
    TABLES
    t_outtab = it_flight
    EXCEPTIONS
    program_error = 1.
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
    Check function code
    CASE r_ucomm.
    WHEN '&IC1'.
    Check field clicked on within ALVgrid report
    IF rs_selfield-fieldname = 'EBELN'.
    Read data table, using index of row user clicked on
    READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
    Set parameter ID for transaction screen field
    SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
    Sxecute transaction ME23N, and skip initial data entry screen
    CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
    ENDIF.
    WHEN '&IC1'. "'&DATA_SAVE'. "user presses SAVE
    loop at it_flight into wa_flight.
    if wa_flight-Sel EQ 'X'.
    collecting records in table it_flight_sel to process further
    append wa_flight to it_flight_sel.
    clear wa_flight.
    TYPE-POOLS: slis.
    *---internal tables
    DATA: BEGIN OF it_flight OCCURS 0,
    SEL, " add a single character field in the final output table
    carrid LIKE sflight-carrid,
    connid LIKE sflight-connid,
    fldate LIKE sflight-fldate,
    seatsmax LIKE sflight-seatsmax,
    seatsocc LIKE sflight-seatsocc,
    END OF it_flight,
    *--internal tables for alv
    it_fieldcat TYPE slis_t_fieldcat_alv,
    wa_fcat LIKE LINE OF it_fieldcat,
    layout TYPE slis_layout_alv,
    it_sort type slis_t_sortinfo_alv,
    wa_sort like line of it_sort.
    DATA: BEGIN OF it_flight_sel OCCURS 0,
    SEL,
    carrid LIKE sflight-carrid,
    connid LIKE sflight-connid,
    fldate LIKE sflight-fldate,
    seatsmax LIKE sflight-seatsmax,
    seatsocc LIKE sflight-seatsocc,
    END OF it_flight_sel.
    data: wa_flight like it_flight.
    In the layout set give the name of the field
    whose checkbox will be created ( SEL as it has 1 char only )
    layout-box_fieldname = 'SEL'.
    *---start-of-selection .
    START-OF-SELECTION.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = sy-repid
    i_internal_tabname = 'IT_FLIGHT'
    i_inclname = sy-repid
    CHANGING
    ct_fieldcat = it_fieldcat
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2.
    *----get data
    SELECT carrid
    connid
    fldate
    seatsmax
    seatsocc
    FROM sflight
    INTO CORRESPONDING FIELDS OF TABLE it_flight
    UP TO 20 ROWS.
    wa_fcat-do_sum = 'X'.
    MODIFY it_fieldcat FROM wa_fcat TRANSPORTING do_sum
    WHERE fieldname = 'SEATSOCC' .
    wa_sort-fieldname = 'CARRID'.
    wa_sort-group = 'UL'.
    wa_sort-up = 'X'.
    APPEND wa_sort TO it_sort.
    clear wa_sort.
    wa_sort-fieldname = 'CONNID'.
    wa_sort-subtot = 'X'.
    wa_sort-up = 'X'.
    APPEND wa_sort TO it_sort.
    clear wa_sort.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
    is_layout = layout
    it_fieldcat = it_fieldcat
    it_sort = it_sort
    TABLES
    t_outtab = it_flight
    EXCEPTIONS
    program_error = 1.
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
    Check function code
    CASE r_ucomm.
    WHEN '&IC1'.
    Check field clicked on within ALVgrid report
    IF rs_selfield-fieldname = 'EBELN'.
    Read data table, using index of row user clicked on
    READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
    Set parameter ID for transaction screen field
    SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
    Sxecute transaction ME23N, and skip initial data entry screen
    CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
    ENDIF.
    WHEN '&IC1'. "'&DATA_SAVE'. "user presses SAVE
    loop at it_flight into wa_flight.
    if wa_flight-Sel EQ 'X'.
    collecting records in table it_flight_sel to process further
    append wa_flight to it_flight_sel.
    clear wa_flight.
    Please follow the code.

  • How to print check box in ALV list display and how to pick selected ones

    Hi
    i am displaying one ALV list dispaly. for that im adding one check box fields by filling the fieldcat as below:
      wa_fldcat-checkbox = 'X'.
      wa_fldcat-edit = 'X'.
    but the check box is showing disable mode only. i want to display that check box and if i select that check box i want pick that records. for ALV grid i found one FM to pick records of selectedones as below.
    DATA ref_grid TYPE REF TO cl_gui_alv_grid.
      IF ref_grid IS INITIAL.
        CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
          IMPORTING
            e_grid = ref_grid.
      ENDIF.
      IF ref_grid IS NOT INITIAL.
        CALL METHOD ref_grid->check_changed_data.
      ENDIF.
    but how can i do for list display to pick those selected one records.
    Can any one sugget regarding this.
    Thanks in advance.
    Rahul.

    Hi,
    Thanks. now it's enabled. but how can we pick the records from that list whichever i selected through that check box.
    i found this one for ALV grid:
    DATA ref_grid TYPE REF TO cl_gui_alv_grid.
      IF ref_grid IS INITIAL.
        CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
          IMPORTING
            e_grid = ref_grid.
      ENDIF.
      IF ref_grid IS NOT INITIAL.
        CALL METHOD ref_grid->check_changed_data.
      ENDIF.
    but how for ALV normal list display.
    Thanks.
    rahul

Maybe you are looking for

  • Mail attachment (.csv) to File (.csv)

    Hi mates, I have a requirement where I have to pick the attachment(.csv format) of an incoming mail and store this file ( in .csv format)onto a file server using  a reciever file adapter. Please suggest how can i go about it ?

  • ORA-01023: Cursor context not found (Invalid cursor number)

    hello guys. when i'm trying to make a regular recover, i get this error: RMAN> run 2> { 3> restore database; 4> recover database; 5> alter database open; 6> } Starting restore at 09-MAR-07 RMAN-00571: =================================================

  • Access Button contained in a movie clip

    This is for beginners or those not familiar or having diffculty with getting embedded buttons to work. This is a how to on using actionscript in your main time line that listens for events for button(s) located inside of a movieclip. I spent hours tr

  • Audigy2 problems with directx 9

    I have GA-K8NNXP-940 M.B. with Realtek ALC658 onboard sound, running Windows XP SP2 w/DirectX 9.0c. I've been having continued sound problems with onboard ALC658 since DirectX 9.0c, so I uninstalled all the Realtek drivers and in the BIOS shut it dow

  • Can't access my online banking log in- plug in missing?

    can't access my online banking log in- plug in missing?