Application Development 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: 

How do i add a row in a ALV grid?

former_member216029
Participant
0 Kudos

Hi,

Does ALV Grid provide ADD/delete row option by default(like sort/search etc)?

How do i add/delete a row in ALV grid?

Thanks in advance.

Regards

Dev

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

check this program BCALV_EDIT_04

it is default Functionality , when you have editable ALV option. but this is only for ALV Grid using CL_GUI_ALV_GRID class.

4 REPLIES 4

former_member188685
Active Contributor
0 Kudos

check this program BCALV_EDIT_04

it is default Functionality , when you have editable ALV option. but this is only for ALV Grid using CL_GUI_ALV_GRID class.

0 Kudos

Hi Thank's,

How do i make it editable(i thought ALV cells are editable by default unless specifically indicated)?

Thanks in advance.

Regards

Dev

0 Kudos

you need to mention in fieldcatalog if you want to edit a particular column. if you want all the columns then the option will at the layout level.

fieldcat-edit = 'X'.  " for editing the column

layout-edit = 'X' . "for complete layout edit.

check the programs BCALV_EDIT_01 to BCALV_EDIT_08

0 Kudos

Thanks Vijay,

it helped.

Cheers

Dev