Editing Checkbox in 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'

Hai all,
I am able to get the checkbox in the Output ALV LIST but the edit option is not working,i am unable to edit.
fcat-edit = 'X' .
This is working only for Grid DISPLAY and not 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' .
Is it possible to edit the check box in 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' .Please let me the syntax.

Try
fcat-input = 'X' .
regards
shiba dutta

Similar Messages

  • ALV Tree with editable checkbox

    Hi all,
    I have a ALV Tree with editable checkbox (for all the parent & leaf  nodes) , as one of the column.On clicking of a button in toolbar , i should get the nodes which are checked in checkbox.
    But the problem is i am not able to get the nodes which are checked through checkbox in the PAI of the screen,when the button is clicked.
    I tried using    
    CALL METHOD wf_tree->get_checked_items             
                           IMPORTING
                           et_checked_items = lint_selected_node.
    but the return table is not containing any entries , even if check boxes are checked in ALV tree.I tried the GET_CHECKED_ITEMS method in event handler method of AFTER_USER_COMMAND and also CHECKBOX_CHANGE , but no success.
    lfs_item_layout-fieldname = 'CHECK'.
      lfs_item_layout-class = cl_gui_column_tree=>item_class_checkbox.
      lfs_item_layout-editable = 'X'.
      lfs_item_layout-CHOSEN = 'X'.
      APPEND lfs_item_layout TO lint_item_layout.
    CALL METHOD wf_tree->add_node
        EXPORTING
          i_relat_node_key = p_lfs_final_key
          i_relationship   = cl_gui_column_tree=>relat_last_child
          i_node_text      = l_node_text
          is_outtab_line   = p_gfs_final
          is_node_layout   = lfs_node
          it_item_layout   = lint_item_layout
        IMPORTING
          e_new_node_key   = p_loc_qmnum_key.
    Friends ,if you can suggest something.
    Thanks
    Abhijeet

    hi ,
    i have written below code for registering the CHECKBOX_CHANGE event of CL_GUI_ALV_TREE.
    APPEND lfs_event TO lint_events.
        lfs_event-eventid = cl_gui_column_tree=>eventid_CHECKBOX_CHANGE.
      APPEND lfs_event TO lint_events.
      CALL METHOD wf_tree->set_registered_events
        EXPORTING
          events                    = lint_events
        EXCEPTIONS
          cntl_error                = 1
          cntl_system_error         = 2
          illegal_event_combination = 3.
      IF sy-subrc EQ 0.
    *    MESSAGE X208(00) WITH 'ERROR'.                          "#EC NOTEXT
      ENDIF.
          SET HANDLER lo_event_receiver->handle_checkbox_change FOR wf_tree.
    *      SET HANDLER lo_event_receiver->handle_button_click FOR wf_tree.
        ENDIF.
    Also according to below code , i have put a break point in the event handler method of CHECKBOX_CHANGE event , so that control shall come here when check box is checked on ALV tree ...
    CLASS lcl_event_receiver DEFINITION.
      PUBLIC SECTION.
        METHODS:
    *      handle_checkbox_change FOR EVENT checkbox_change OF cl_gui_alv_tree,
    *              importing fcode.
    *      handle_button_click FOR EVENT AFTER_USER_COMMAND OF cl_gui_alv_tree
    *        IMPORTING ucomm,
          handle_CHECKBOX_CHANGE for event checkbox_change of cl_gui_alv_tree
            importing CHECKED
                      FIELDNAME
                      NODE_KEY.
    ENDCLASS.                    "lcl_event_receiver DEFINITION
    *       CLASS lcl_event_receiver IMPLEMENTATION
    CLASS lcl_event_receiver IMPLEMENTATION.
      METHOD handle_checkbox_change.
        data : lint_selected_node TYPE LVC_T_CHIT.
        BREAK abhijeetg.
    *   CHECKED
    *   FIELDNAME
    *   NODE_KEY
    *    case fcode.
    *      when 'SELALL'.
    *        perform select_all.
    *    CALL METHOD WF_TREE->GET_OUTTAB_LINE
    *      EXPORTING
    *        I_NODE_KEY     =
    **      IMPORTING
    **        e_outtab_line  =
    **        e_node_text    =
    **        et_item_layout =
    **        es_node_layout =
    **      EXCEPTIONS
    **        node_not_found = 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 method cl_gui_cfw=>dispatch.
        CALL METHOD wf_tree->get_checked_items
          IMPORTING
            et_checked_items = lint_selected_node.
        break abhijeetg.
      ENDMETHOD.         
    ENDCLASS.
    So according to you , I should get the control in the break point , but its not happening with this .. any thing missing ???
    Edited by: abhijeet_7013 on Jun 21, 2011 10:31 PM

  • How to add an editable checkbox to an alv grid

    Hi..
    I need to add an editable checkbox to a alv grid.
    I wouls appreciatet it if anyone could provide some sample code.
    The standard example  BCALV_EDIT_05 is an oops example... I need a simple example
    Please help
    thanks
    Karen

    hi
    after you pass a field as checkbox in fieldcat
    then in layout populate edit
    ex wa_layout-edit = 'X'.
    try the following code
    REPORT  ZALV5.
    TYPE-POOLS: slis.
    tables: mara.
    DATA: begin of it_mara OCCURS 0,
          matnr like mara-matnr,
          mbrsh like mara-mbrsh,
          matkl like mara-matkl,
          meins like mara-meins,
          ersda like mara-ersda,
          ernam like mara-ernam,
          W_CHK type c ,
         END OF it_mara.
    *data: it_mara like  mara occurs 0 with header line.
    data:it_feildtab type slis_t_fieldcat_alv,
         wa_fieldcat type slis_fieldcat_alv.
    *DATA: i_private TYPE slis_data_caller_exit,
    data:     i_selfield TYPE slis_selfield,
          W_exit(1) TYPE c.
    PARAMETERS: p_title TYPE sy-title default 'ALV'.
    START-OF-SELECTION.
      SELECT matnr mbrsh matkl meins  ersda ernam FROM mara
        INTO corresponding fields of  table it_mara.
    wa_fieldcat-col_pos   = '1'.
    wa_fieldcat-fieldname = 'W_CHK'.
    *wa_FIELDCAT-KEY = 'X'.
    *wa_fieldcat-tabname   = 'IT_MARA'.
    *wa_fieldcat-seltext_s = 'units of measure'.
    wa_fieldcat-checkbox = 'X'.
    APPEND wa_fieldcat TO it_feildtab.
    CLEAR wa_fieldcat .
    CLEAR wa_fieldcat.
    wa_fieldcat-col_pos   = '2'.
    wa_fieldcat-tabname   = 'IT_MARA'.
    wa_fieldcat-fieldname = 'MATNR'.
    wa_fieldcat-key = 'X'.
    wa_fieldcat-hotspot = 'X'.
    wa_fieldcat-seltext_s = 'no'.
    APPEND wa_fieldcat TO it_feildtab.
    CLEAR wa_fieldcat .
    wa_fieldcat-col_pos   = '3'.
    wa_fieldcat-fieldname = 'MBRSH'.
    *wa_FIELDCAT-KEY = 'X'.
    wa_fieldcat-tabname   = 'IT_MARA'.
    wa_fieldcat-seltext_s = 'Ind.sec'.
    APPEND wa_fieldcat TO it_feildtab.
    CLEAR wa_fieldcat .
    wa_fieldcat-col_pos   = '4'.
    wa_fieldcat-fieldname = 'MATKL'.
    *wa_FIELDCAT-KEY = 'X'.
    wa_fieldcat-tabname   = 'IT_MARA'.
    wa_fieldcat-seltext_s = 'Description'.
    APPEND wa_fieldcat TO it_feildtab.
    CLEAR wa_fieldcat .
    wa_fieldcat-col_pos   = '5'.
    wa_fieldcat-fieldname = 'MEINS'.
    *wa_FIELDCAT-KEY = 'X'.
    wa_fieldcat-tabname   = 'IT_MARA'.
    wa_fieldcat-edit      = 'X'.
    wa_fieldcat-seltext_s = 'units of measure'.
    APPEND wa_fieldcat TO it_feildtab.
    CLEAR wa_fieldcat .
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
           EXPORTING
                i_title                 = p_title
                i_selection             = 'X'
                i_zebra                 = 'X'
               I_SCREEN_START_COLUMN   = 0
               I_SCREEN_START_LINE     = 0
                I_SCREEN_END_COLUMN     = 0
               I_SCREEN_END_LINE       = 0
                i_checkbox_fieldname    = 'W_CHK'
              I_LINEMARK_FIELDNAME    =
              I_SCROLL_TO_SEL_LINE    = 'X'
                i_tabname               = 'IT_MARA'
              i_structure_name        = 'IT_MARA'
               IT_FIELDCAT             = it_feildtab
              IT_EXCLUDING            =
              I_CALLBACK_PROGRAM      =
              I_CALLBACK_USER_COMMAND =
               IS_PRIVATE             = I_PRIVATE
         IMPORTING
                es_selfield             = i_selfield
                e_exit                  = w_exit
           TABLES
                t_outtab                = it_mara
           EXCEPTIONS
                program_error           = 1
                OTHERS                  = 2.
      IF sy-subrc <> 0.
       MESSAGE i000(0k) WITH sy-subrc.
      ENDIF.
      LOOP AT it_mara WHERE W_CHK = 'X'.
        WRITE: /  it_mara-ersda, it_mara-ernam.
      ENDLOOP.
    reward if helpful
    prasanth

  • Checkbox in REUSE_ALV_HIERSEQ_LIST_DISPLAY

    Hello Freinds,
    I need to have checkboxes in both the header as well as the item level data records. I have used the FM REUSE_ALV_HIERSEQ_LIST_DISPLAY for ALV display. But the problem is that the checkbox appears only for header level records and not in item level records.
    I have tried to add checkbox through field catalog also. But in that case the checkbox appears in disabled form.
    Kindly advice as how can we achieve checkbox for both header and item level records.

    Hello Harsh,
    I am also kind of facing the same issue. I have used the FM REUSE_ALV_HIERSEQ_LIST_DISPLAY for ALV display. And I need to add checkbox at item level.
    I have tried to add checkbox through field catalog. Following is the code I'm writing.
    l_wa_fieldcat-fieldname = l_c_flag.
    l_wa_fieldcat-tabname   = l_c_item.
    l_wa_fieldcat-checkbox  = abap_true.
    *l_wa_fieldcat-edit_mask = abap_f.
    l_wa_fieldcat-edit      = abap_true.
    l_wa_fieldcat-key       = abap_true.
    l_wa_fieldcat-seltext_m = l_c_flag.
    APPEND l_wa_fieldcat to em_it_fieldcat.
    But in this case the checkbox appears in disabled form.
    Can you please help? Could you be a bit elaborate on your answer i.e. the code snippet? Many thanks.
    Regards,
    Debapriya

  • In ALV O/p , need Editable Checkbox for particular based on signal lights..

    Hi,
    I have requiremnt liek this in my ALV
      There are 4 records in the output consisting of fields checkbox , traffic lights. here, 2 are Red and 2 are Green.
    now Green light checkboxes should be (Enabled mode)checked with Edit mode. Red light check boxes should be diabled mode with unchecked. how to do this..
    I had wriiteen the following code but it is giving me the dump.
      DATA : ls_listrow LIKE LINE OF i_final,
             ls_stylerow TYPE lvc_s_styl,
             ls_styletab TYPE lvc_t_styl.
      LOOP AT i_final INTO wa_final.
        IF wa_final-light = '1'.  "Disabled
          ls_stylerow-fieldname = 'CHK'.
          ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
        ELSEIF wa_final-light = '3'. "Enabled
          ls_stylerow-fieldname = 'CHK'.
          ls_stylerow-style = cl_gui_alv_grid=>mc_style_enabled.
        ENDIF.
        APPEND ls_stylerow TO ls_styletab.
        INSERT LINES OF ls_styletab INTO TABLE ls_listrow-cellstyles.
        MODIFY i_final FROM ls_listrow.
      ENDLOOP.
    Iam getting DUMP at INSERT line stmt.
    Awaiting for ur reply.
    Regards,
    Deepthi.

    I modified your code at modify statement , just check it once,.
    DATA : ls_listrow LIKE LINE OF i_final,
    ls_stylerow TYPE lvc_s_styl,
    ls_styletab TYPE lvc_t_styl.
    LOOP AT i_final INTO wa_final.
    IF wa_final-light = '1'. "Disabled
    ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
    ELSEIF wa_final-light = '3'. "Enabled
    ls_stylerow-style = cl_gui_alv_grid=>mc_style_enabled.
    ENDIF.
    ls_stylerow-fieldname = 'CHK'.
    APPEND ls_stylerow TO ls_styletab.
    INSERT LINES OF ls_styletab INTO TABLE ls_listrow-cellstyles.
    "Modify statement need some changes here...
      MODIFY i_final INDEX sy-tabix FROM  ls_list row TRANSPORTING cellstyles.
      CLEAR: ls_listrow, ls_styletab.
    ENDLOOP.

  • In ALV O/p , need Editable Checkbox for particular cell based on signal lig

    Hi,
    I have requiremnt liek this in my ALV
    There are 4 records in the output consisting of fields checkbox , traffic lights. here, 2 are Red and 2 are Green.
    now Green light checkboxes should be (Enabled mode)checked with Edit mode. Red light check boxes should be diabled mode with unchecked. how to do this..
    I had wriiteen the following code but it is giving me the dump.
    DATA : ls_listrow LIKE LINE OF i_final,
    ls_stylerow TYPE lvc_s_styl,
    ls_styletab TYPE lvc_t_styl.
    LOOP AT i_final INTO wa_final.
    IF wa_final-light = '1'. "Disabled
    ls_stylerow-fieldname = 'CHK'.
    ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
    ELSEIF wa_final-light = '3'. "Enabled
    ls_stylerow-fieldname = 'CHK'.
    ls_stylerow-style = cl_gui_alv_grid=>mc_style_enabled.
    ENDIF.
    APPEND ls_stylerow TO ls_styletab.
    INSERT LINES OF ls_styletab INTO TABLE ls_listrow-cellstyles.
    MODIFY i_final FROM ls_listrow.
    ENDLOOP.
    Iam getting DUMP at INSERT line stmt.
    Awaiting for ur reply.
    Regards,
    Deepthi.

    Check this sample code..may be it will give u some idea...
    *& Report  Z_DEMO_JG1
    REPORT  z_demo_jg1 LINE-COUNT 10(2) NO STANDARD PAGE HEADING.
    TABLES: ekko.
    TYPE-POOLS: slis.
    "ALV Declarations
    TYPES: BEGIN OF t_ekko,
    ebeln TYPE ekpo-ebeln,
    ebelp TYPE ekpo-ebelp,
    statu TYPE ekpo-statu,
    aedat TYPE ekpo-aedat,
    matnr TYPE ekpo-matnr,
    menge TYPE ekpo-menge,
    meins TYPE ekpo-meins,
    netpr TYPE ekpo-netpr,
    peinh TYPE ekpo-peinh,
    field_style TYPE lvc_t_styl,
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
    wa_ekko TYPE t_ekko.
    *ALV data declarations
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    DATA: it_fieldcat TYPE lvc_t_fcat,
    wa_fieldcat TYPE lvc_s_fcat,
    gd_tab_group TYPE slis_t_sp_group_alv,
    gd_layout TYPE lvc_s_layo, "slis_layout_alv,
    gd_repid LIKE sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
    PERFORM data_retrieval.
    PERFORM set_specific_field_attributes.
    PERFORM build_fieldcatalog.
    PERFORM build_layout.
    PERFORM display_alv_report.
    **& Form BUILD_FIELDCATALOG
    ***Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
    wa_fieldcat-fieldname = 'EBELN'.
    wa_fieldcat-scrtext_m = 'Purchase Order'.
    wa_fieldcat-col_pos = 0.
    wa_fieldcat-outputlen = 10.
    wa_fieldcat-emphasize = 'X'.
    wa_fieldcat-key = 'X'.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'EBELP'.
    wa_fieldcat-scrtext_m = 'PO Item'.
    wa_fieldcat-col_pos = 1.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'STATU'.
    wa_fieldcat-scrtext_m = 'Status'.
    wa_fieldcat-col_pos = 2.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'AEDAT'.
    wa_fieldcat-scrtext_m = 'Item change date'.
    wa_fieldcat-col_pos = 3.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'MATNR'.
    wa_fieldcat-scrtext_m = 'Material Number'.
    wa_fieldcat-col_pos = 4.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'MENGE'.
    wa_fieldcat-scrtext_m = 'PO quantity'.
    wa_fieldcat-col_pos = 5.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'MEINS'.
    wa_fieldcat-scrtext_m = 'Order Unit'.
    wa_fieldcat-col_pos = 6.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'NETPR'.
    wa_fieldcat-scrtext_m = 'Net Price'.
    wa_fieldcat-edit = 'X'.
    "sets whole column to be editable
    wa_fieldcat-col_pos = 7.
    wa_fieldcat-outputlen = 15.
    wa_fieldcat-datatype = 'CURR'.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'PEINH'.
    wa_fieldcat-scrtext_m = 'Price Unit'.
    wa_fieldcat-col_pos = 8.
    APPEND wa_fieldcat TO it_fieldcat.
    CLEAR wa_fieldcat.
    ENDFORM. " BUILD_FIELDCATALOG
    **& Form BUILD_LAYOUT
    ***Build layout for ALV grid report
    FORM build_layout.
    *Set layout field for field attributes(i.e. input/output)
    gd_layout-stylefname = 'FIELD_STYLE'.
    gd_layout-zebra = 'X'.
    ENDFORM. " BUILD_LAYOUT
    **& Form DISPLAY_ALV_REPORT
    *Display report using ALV grid
    FORM display_alv_report.
    gd_repid = sy-repid.
    CALL
    FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
    EXPORTING
    i_callback_program = gd_repid
    i_callback_user_command = 'USER_COMMAND'
    is_layout_lvc = gd_layout
    it_fieldcat_lvc = it_fieldcat
    i_save = 'X'
    TABLES
    t_outtab = it_ekko
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc ne 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. " DISPLAY_ALV_REPORT
    **& Form DATA_RETRIEVAL
    ***Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
    SELECT ebeln
    ebelp
    statu
    aedat
    matnr
    menge
    meins
    netpr
    peinh
    UP TO 10 ROWS
    FROM ekpo
    INTO CORRESPONDING FIELDS OF TABLE it_ekko.
    ENDFORM. " DATA_RETRIEVAL
    **& Form set_specific_field_attributes
    *populate FIELD_STYLE table with specific field attributes
    form set_specific_field_attributes .
    DATA ls_stylerow TYPE lvc_s_styl .
    DATA lt_styletab TYPE lvc_t_styl .
    LOOP AT it_ekko INTO wa_ekko.
    IF wa_ekko-netpr GT 10.
    ls_stylerow-fieldname = 'NETPR' .
    ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
    APPEND ls_stylerow TO wa_ekko-field_style.
    MODIFY it_ekko FROM wa_ekko.
    ENDIF.
    ENDLOOP.
    endform. " set_specific_field_attributes

  • ALV Edit Checkbox is giving entire grid color changes

    Dear Members,
    I am Using ALV grid controller, I need a checkbox on the grid, When I used following code
          WHEN 'CHK'.
            MOVE 'Status'(027) TO:
            FS_FIELDCAT-REPTEXT_DDIC,
            FS_FIELDCAT-SELTEXT_L,
            FS_FIELDCAT-SELTEXT_M,
            FS_FIELDCAT-SELTEXT_S.
            MOVE 'X' TO: FS_FIELDCAT-CHECKBOX,
                         FS_FIELDCAT-EDIT.
    My check box working fine, but when i use this edit = 'X'.
    The total grid is displayed in different color (Grayed out).
    Please tell me any one is it possible to retain the same color before I having this editable field
    Regards
    Ramu

    thanks dude
    already searched didnt find my solution i have done  everything still the problem exist
    step1 : declared a field as cbox of type c character 1
    step2. populated the layout with box_fieldname
                                 and             box_tabname
    step3 : in the field catalog populated checkbox as X edit as X input X
    in the reuse_alv_grid_display
    passed layout

  • How to manage two editable checkboxes in ALV class

    Hi all,
    I need to make two checkboxes fields appear only in some rows and I found this link:
    ALV one  cell as checkbox based on some conditions
    but it's not completely what I need, because I have to make the second checkbox editable only when the first one has been flagged, so it would be more useful a class alv.
    How can I solve my problem?
    Thanks,
       Francesco

    Try this:
    1-http://www.sapfans.com/forums/viewtopic.php?t=84933
    2-http://www.sapfans.com/forums/viewtopic.php?t=69878
    3-http://www.sapfans.com/forums/viewtopic.php?t=88376
    4-http://www.sapfans.com/forums/viewtopic.php?t=40968
    5-http://www.sapfans.com/forums/viewtopic.php?t=6919
    Regards
    Neha

  • Set editable/non-editable checkbox in alv grid

    Hi all,
    How to set a checkbox in alv grid in editable/non-editable. i am using alv gird display function module for this. i tried to used method  cl_gui_alv_grid=>mc_style_disabled. but its not working. is it possible to have this functionality in grid? please help. thanks in advance.

    Hi,
    Try like this.
    CALL METHOD gr_alvgrid->set_table_for_first_display
    EXPORTING
    I_BUFFER_ACTIVE =
    I_CONSISTENCY_CHECK =
    I_STRUCTURE_NAME =
    IS_VARIANT =
    I_SAVE =
    I_DEFAULT = 'X'
    is_layout = gs_layout
    IS_PRINT =
    IT_SPECIAL_GROUPS =
    IT_TOOLBAR_EXCLUDING =
    IT_HYPERLINK =
    CHANGING
    it_outtab = gt_list[]
    it_fieldcatalog = gt_fieldcat
    IT_SORT =
    IT_FILTER =
    EXCEPTIONS
    invalid_parameter_combination = 1
    program_error = 2
    too_many_lines = 3
    OTHERS = 4
    regards
    Rajesh kumar

  • Help with an editable checkbox export value

    Hi,
    I have a form where clients can select their preferred plan. I have used checkboxes and set the export value to the plan cost, which then gets tallied at the bottom. However, I now need to make the value of the plans editable so the sales agents can sell the plans for whatever price they choose to. How do I make the checkbox exported value match the text field of the price?
    Rebecca.

    That's not the way to go about it. What you should do is use a script that checks if a box is ticked, and if so, adds the value in the corresponding text field to the total, instead of trying to edit the export value of the box itself.

  • Editable cell in "REUSE_ALV_HIERSEQ_LIST_DISPLAY"

    Hello experts,
        Do anyone know how to make an editable row in a HIERSEQ ALV LIST.
    I am using FM REUSE_ALV_HIERSEQ_LIST_DISPLAY for displaying my ALV.
    Rgds
    Sandeep

    Hi,
    Please refer to the standard demo program
    BCALV_TEST_HIERSEQ_LIST_EVENTS
    Thanks,
    Sriram Ponna.

  • Checkbox in REUSE_ALV_HIERSEQ_LIST_DISPLAY appearing in disabled mode.

    Hi
    I have created check-box in REUSE_ALV_HIERSEQ_LIST_DISPLAY which is appearing in disabled mode. I want to change it into select-able mode. Please advise.

    Hi Manu,
    you can set that field editable by making change in field catalog -
    wa_fieldcat-edit = 'X'
    Regards,
    Harsh Bansal

  • Editable Checkbox and select the checked line in ALV output

    HI,
    I am looking for an ALV output using LIST_DISPLAY with an editable check box in each item in the output.It should be editable and also the line which is checked should be selected for further action.
    Can you please help...
    Thanks in Advance
    Regards,
    Gangolu

    Hi
    1) Declare your intertable with a field named <CHECK>.
    For example:
    data: begin of i_sales occurs 0,
                 matnr like vbap-matnr,
                 erdat like vbak-erdat,
                 check type c, "checkbox
    end of i_sales.
    2) In your field catalog, put the first column as check box like below:
    v_fieldcat-col_pos = 1.
    v_fieldcat-fieldname = 'CHECK'.
    v_fieldcat-seltext_m = 'check'.
    v_fieldcat-checkbox = 'X'.
    v_fieldcat-input = 'X'.
    v_fieldcat-edit = 'X'.
    append v_fieldcat to gt_fieldcat.
    3) Call function 'REUSE_ALV_GRID_DISPLAY'
        FUNCTION 'REUSE_ALV_GRID_DISPLAY'
            EXPORTING
                I_CALLBACK_PROGRAM = sy-repid
                I_CALLBACK_PF_STATUS_SET = 'GUI_SET'
               I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
    4) You must have a form called <USER_COMMAND> if you want to select that line and perform some action on it
    Example:
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM R_SELFIELD TYPE SLIS_SELFIELD.
    Case R_UCOMM.
    endcase
    Regards
    Dean Q.

  • Unable to uncheck checkbox in UIX editable table

    It seams that in editable table is unable to uncheck checked checkbox. After submit checkbox is stays checked. To check it works fine. To uncheck it in imput form also works fine. Problem is only in editable table. version jdev10.1.2. Thank you. Jara

    this is the UIX code
    <switcher childName="${uix.current.Iid.inputValue == bindings.Iid.inputValue ? 'edit' : 'noEdit'}">
    <case name="edit">
    <checkBox model="${bindings.IsDefault}" readOnly="false"/>
    </case>
    <case name="noEdit">
    <checkBox model="${uix.current.IsDefault}" readOnly="true"/>
    </case>
    </switcher>

  • How to make an checkbox editable and uneditable within a single alv output.

    Hi,
    How to make an checkbox editable and uneditable within a single alv output depending on condition.
    I have used Reuse_alv_grid_display.
    In my output every checkbox is editable. i have used edit = 'X'.
    I want editable checkbox for correct value and uneditable checkbox for incorrect value in a single alv

    >
    Mukilansap wrote:
    > I want editable checkbox for correct value and uneditable checkbox for incorrect value in a single alv
    Use alv styles to achieve this, set the style for each record before displaying the ALV. Structure LVC_S_STYL.
    Take a look at the example BCALV_EDIT_02, it is OOPS based, but check how the style table is filled.
    regards,
    Advait

Maybe you are looking for

  • New SCSI Hard Drive Won't Boot

    Hello, I have a problem. My original SCSI drive died on me and I took it out and converted over to only ATA drives. Ever since I did that, my computer has always been a bit lagging. Slow. Not too fast. Anyway, I bought another SCSI drive and I'm tryi

  • Video editing terminology, etc.

    OK, so I'm learning FCE with Tom Wolsky's book which I cannot imagine doing without and I'm finding that this forum is teaching me a ton as well. However, I need to better understand terminology & technical aspects of video editing (codec, compressio

  • Correcting stock difference

    Stock transfer is between two plants via two step process. There is a difference in the MB5t & MMBE report, after the stock transfer being done. Is there any program to clear the differences between these two reports?

  • Centrally Switched and Flex Local Switched WLAN - same SSID

    Hi All I am currently working on a WLAN migration from lightweight to autonomous and would like advice on whether the following scenario is possible. We've deployed an 8500HA pair at the customer's central HQ with the plan that SSIDs at the central H

  • ORA-01502

    I have truncated specifuic partitions of some of the tables of my databse. While I was viewing the alert logs,I could see a lot of DBA jobs failing with the error, ORA-12012: error on auto execute of job ORA-01502: index or partition of such index is