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: 

ALV GRID

Former Member
0 Kudos

Hi Experts,

can any one tel for append function module for grid display

in list diaplay the function module is REUSE_ALV_BLOCK_LIST_HS_APPEND

in this way there is any append funcmodule for Grid Display??

8 REPLIES 8

Former Member
0 Kudos

Hi

[http://abapreports.blogspot.com/2008/06/alvblocklistappend-sample-report-in-sap.html]

Regards,

Sravanthi

0 Kudos

Hi Sir ,

Thnks for ur reply u said the ans for list display im asking about GRID append

0 Kudos

In ALV using objects here is how you will do it.

You have to create a button in methos which handles toolbar event of grid.

E.g. handler_toolbar FOR EVENT toolbar OF cl_gui_alv_grid

IMPORTING

e_object e_interactive

CLEAR wa_toolbar.

MOVE c_APPEed TO wa_toolbar-function.

MOVE icon_append TO wa_toolbar-icon.

MOVE 'append' TO wa_toolbar-quickinfo.

MOVE c_append TO wa_toolbar-text.

MOVE ' ' TO wa_toolbar-disabled.

MOVE 0 TO wa_toolbar-butn_type.

APPEND wa_toolbar TO e_object->mt_toolbar.

and then in an PBO event handle the functioncode of this button

and add a blank line in the output table and refresh the grid.

Like,

CALL METHOD g_grid2->refresh_table_display

EXPORTING

is_stable = wa_stable

i_soft_refresh = c_check

EXCEPTIONS

finished = 1

OTHERS = 2.

Former Member
0 Kudos

hi,

there is no function module by which we can append grid display..

regards

kanika

Former Member
0 Kudos

Hi Surendra,

To my knowledge there no append function module for GRID Display..

the other one i found for appending block list is REUSE_ALV_BLOCK_LIST_APPEND.

Hope this would help you.

Regards

Narin Nandivada

Former Member
0 Kudos

hi.

There is no FM for the Append.

You can Add the line in the TAble and Refresh the Grid Display.

Refer to the following link.

http://www.sapdevelopment.co.uk/reporting/alv/alvobjgrid/alvobject_refresh.htm

Regards

Sumit Agarwal

Former Member
0 Kudos

Hi,

Refer to program BCALV_EDIT_04 for Delete and append rows in ALV.

Regards,

Shiva Kumar

Former Member
0 Kudos

Hi Surendra.

I would like to suggest a few,

HR_APPEND_ALV - Call APPEND ALV with Basic Functions

HR_APPEND_APP_LOGALV

HR_CH_APPEND_ALV

HR_CH_APPEND_ALV_ADR

HR_CH_APPEND_ALV_CHECKDIALOG

HR_CH_APPEND_ALV_CREATE_TABINF

Hope that's usefull.

Good Luck & Regards.

Harsh Dave