‎2007 Sep 20 10:48 AM
Hello,
I use REUSE_ALV_GRID_DISPLAY. I have changes in three fields to be done. How can I read those changes? Is there any function module to read the whole line that is changed?
Selfield parameter reads only one field. Thats not enough
‎2007 Sep 20 10:59 AM
hi
read all the parameters into an internal table where ever it effects
modify table and reproduce into the alv grid
if any body changes in grid that should first effects to the internal table
and then ztable
‎2007 Sep 20 11:07 AM
Hi,
Problem is you need a user command like SAVE to get the changes. If you have a user command the selfield just has the value of the last changed field, see below:
if not selfield-tabindex is initial.
read table gt_protocol assigning <l_protocol>
index selfield-tabindex.
assign selfield-fieldname to <field>.
assign selfield-value to <value>.
assign component <field>
of structure <l_protocol> to <prot_field>.
<prot_field> = <value>.
perform update_table using <l_protocol>
changing rc message.
endif.
The question is:
<b>How can I get all changes into my user_command form ?</b>
‎2007 Sep 20 2:48 PM