03-22-2005 10:01 PM
I am trying to use ALV grid as as a display and edit function back to the database. Is this possible?
03-22-2005 10:30 PM
In short, it is possible. You need to use the USER_COMMAND parameter and write your update logic there.
Srinivas
03-23-2005 8:05 AM
Hi Scott,
have a look at reports beginning with BCALV_EDIT..
regards Andreas
03-23-2005 10:34 AM
Hi,
If you are using object oriented ALV, then define and implement method handle_data_changed. Internal table of type lvc_t_modi takes care of updated cell values like row ID, fieldname, actual value. Using this table you can make changes in database.
cheers,
-Tejal
03-23-2005 11:13 AM
Hi Scott
You can refer to the tuorial <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/an%20easy%20reference%20for%20alv%20grid%20control.pdf">"An Easy Reference for ALV Grid Control"</a>.
*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>