Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Nicolas, I think you are running into a "flush" issue. The ALV grid is a "front-end control" that does much of its processing on the front'end computer, and only communicates back to the ABAP program when it feels It needs to. I know with the OO ALV grid there is a method to force a "flush." Hopefully there is something similar for the function module-based ALV grid. Do a little snooping and maybe some Googling and I'll bet you'll find the answer. Cheers, Terry
| | | ---------------Original Message--------------- From: Nicolas de los Reyes Sent: Thursday, September 15, 2011 7:39 PM Subject: Editable ALV is Not Taking Changes Hi, I am developing an editable ALV (not OO) and although changes are made on output data, changes are not transferred to the corresponding internal table (changes only work only if user does double click on field after editing). I need to manage modified data on USER-COMMAND routine, but itab keeps unchanged. Thanks! (Editable field was set as editable --> fieldcat-edit = 'X') CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC' EXPORTING i_callback_program = sy-repid i_callback_pf_status_set = 'F_SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' is_layout_lvc = wa_layout it_fieldcat_lvc = it_fieldcat i_save = c_x it_events = it_events TABLES t_outtab = it_output EXCEPTIONS program_error = 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. ENDIF. | | __.____._ Copyright © 2011 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | TerryB SAP ABAP Enthusiast
Contributed 100 posts in a group to earn a Bronze Achievement Popular White Papers In the Spotlight _.____.__ |