Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Editable alv using cl_salv_table

Former Member
0 Likes
1,121

Hi Team,

Please let me know is it possible to create a editable alv grid using cl_salv_table class. If it is possible then please do let me know how to do or any sample code links will be helpful?

Thanks in advance,

Sunil Kumar

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
785

That's a restriction with SALV.

But I remember reading a blog long time back where the writer has changed something in standard SAP code to amke SALV editable. If you want to use SALV only then you can search SCN for the same.

But do keep in mind that it will not be a recommended solution from SAP.

Hi Team,

Please let me know is it possible to create a editable alv grid using cl_salv_table class. If it is possible then please do let me know how to do or any sample code links will be helpful?

Thanks in advance,

Sunil Kumar

4 REPLIES 4
Read only

amit_khare
Active Contributor
0 Likes
786

That's a restriction with SALV.

But I remember reading a blog long time back where the writer has changed something in standard SAP code to amke SALV editable. If you want to use SALV only then you can search SCN for the same.

But do keep in mind that it will not be a recommended solution from SAP.

Read only

mvoros
Active Contributor
0 Likes
785

Hi,

please search forum before asking questions. You questions has been answered multiple times here on SDN. The answer is no, it's not supported. The blog about overcoming this limitation is [here|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/12187] [original link is broken] [original link is broken] [original link is broken];. The solution mentioned in blog is not correct. See comment from Rudolf Niessen.

Cheers

Read only

Former Member
0 Likes
785

Hi Team,

Closing this thread since it is not possible using cl_salv_table for creating the new entries. As per the link provided for cl_salv_table blog.

Thanks

Sunil Kumar

Read only

jyotheswar_p2
Active Participant
0 Likes
785

Hi

I am not sure about the cl_salv_table.But this can be acheived by using CL_ALV_GUI_GRID.

In field catalog put the EDIT field as 'X' and handle the same edited data by using CHECK_CHANGED_DATE and for saving take a funtion code in , handle it in PAI event.

revert me back if you any question on this.

Thanks & Regards

Jyo