07-24-2008 6:16 AM
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??
07-24-2008 6:21 AM
Hi
[http://abapreports.blogspot.com/2008/06/alvblocklistappend-sample-report-in-sap.html]
Regards,
Sravanthi
07-24-2008 6:29 AM
Hi Sir ,
Thnks for ur reply u said the ans for list display im asking about GRID append
07-24-2008 7:15 AM
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.
07-24-2008 6:24 AM
hi,
there is no function module by which we can append grid display..
regards
kanika
07-24-2008 6:28 AM
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
07-24-2008 6:29 AM
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
07-24-2008 6:30 AM
Hi,
Refer to program BCALV_EDIT_04 for Delete and append rows in ALV.
Regards,
Shiva Kumar
07-24-2008 6:52 AM
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