Skip to Content
author's profile photo Former Member
Former Member

hi all alv input enabled fields are not updating in internal table

hi all

in my alv, i have created 2 input enabled fields to be input or modify when the first list is displayed, but these two fields are not updating i mean internal table is not holding data of these 2 input enabled fields, other fields are updating.

it is working fine when i use REUSE_ALV_LIST_DISPLAY', but when i use

REUSE_ALV_GRID_DISPLAY FM the above problem starts.

i have to use only REUSE_ALV_GRID_DISPLAY fm.

could any one through light on this.

thanx

rocky

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 03, 2007 at 02:23 PM

    Hi,

    Check this . You need to write code for "i_callback_user_command"

    *&---------------------------------------------------------------------*
    * Form  f_user_command1                                                *
    *&---------------------------------------------------------------------*
    * This form will handle the user command from fm REUSE                 *
    *----------------------------------------------------------------------*
    form f_user_command1 using p_ucomm type sy-ucomm
                         rs_selfield type  slis_selfield.
    
      data p_ref1 type ref to cl_gui_alv_grid.
      call function 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        importing
          e_grid = p_ref1.
      call method p_ref1->check_changed_data.
      case p_ucomm.
        when '&DATA_SAVE'.
           " Write your code for save
      endcase.
      rs_selfield-refresh = c_x.             " Grid refresh
    
    endform.                                 " F_user_command1
    *
    

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.