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 to add rows to list after displaying list in alv's?

Former Member
0 Kudos
105

how to add rows to list after displaying list in alv's?

1 ACCEPTED SOLUTION

Former Member
0 Kudos
83

Hi,

You can add rows to ALV existing list by follwoing this:

Keep a pushbutton "ADD" or implement the functionality if any user doubleclicks on the ALV LIST.

whenevr user clicks "ADD" or double clicks ,

then refersh the existing internal table and add some more rows to the internal table to which you are going to pass to FM(ALV_GRID_...) and call the FM.

Revert back if nay issues.

Reward with points if helpful.

Regards,

Naveen.

4 REPLIES 4

Former Member
0 Kudos
83

hi,

use fieldcatalogues to add fields in alv's list display.

Reward with points if helpful.

Former Member
0 Kudos
84

Hi,

You can add rows to ALV existing list by follwoing this:

Keep a pushbutton "ADD" or implement the functionality if any user doubleclicks on the ALV LIST.

whenevr user clicks "ADD" or double clicks ,

then refersh the existing internal table and add some more rows to the internal table to which you are going to pass to FM(ALV_GRID_...) and call the FM.

Revert back if nay issues.

Reward with points if helpful.

Regards,

Naveen.

Former Member
0 Kudos
83

Append the rows to the internal table and call the function module "REFRESH_ALV_DISPLAY", which will refresh the alv grid and displays the updated internal table entires

Former Member
0 Kudos
83

Hi,

u will get an application toolbar by default when u create a alv.there + button will be present in that.place ur cursor in the grid where u want u add a row and click on that button.

rgds,

bharat.