‎2007 Oct 09 2:32 PM
Hi,
what are the parameters that are present in functiom module ' resuse_alv_list_display' but not present in 'reuse_alv_grid_display'..
and what are the functions of those parameters???
please help me out
thanks and regards
Nikesh kumar
‎2007 Oct 09 2:37 PM
Hi,
If you look at the parameters,you can see more options in GRID.The following are those extra options which you cannot see in LIST.
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IT_ALV_GRAPHICS =
IT_ADD_FIELDCAT =
IT_HYPERLINK =
I_HTML_HEIGHT_TOP =
I_HTML_HEIGHT_END =
IT_EXCEPT_QINFO =
If the caller specifies an EXIT routine, this routine must have the following form:
FORM top_of_page.
Module REUSE_ALV_COMMENTARY_WRITE can then be called within the EXIT routine. This module is responsible for formatting the header information and also ensures online HTML formatting. In the print preview or in batch mode, the text passed is then output in the normal format.
If module REUSE_ALV_COMMENTARY_WRITE cannot be used, you must use two parameters instead. In I_CALLBACK_TOP_OF_PAGE you pass the form routine that is responsible for normal formatting in batch mode or in the print preview mode. The form routine that is responsible for online formatting, is passed in parameter I_CALLBACK_HTML_TOP_OF_PAGE. If one of these parameters is not filled, top-of-page is not output in the respective mode.
In function module documentation,if you click those parameters,you can see the explanation.
If you need more information,get back.Otherwise,kindly close the thread by rewzarding points for useful replies.
Regards
vasu
‎2007 Oct 09 2:50 PM
‎2007 Oct 09 3:12 PM
HI,
a)Grid cannot handle high volumes.
b) Alv grid (using oo concept) requires
designing the screen layout .
Hence, in one screen, we can show more
then one alv grid
(we cannot show more than
one alv list on one screen)
c) ALV grid uses ActiveX controls
present on the Presentation Server.
Hence, it consumes More Memory
on the presentation server.
d) ALV LIST is Display Only.
Whereas ALV Grid Can Be made EDITABLE for entry purpose.
e) In alv grid, these options are possible,
but not in alv list.
without horizontal lines
without vertical lines
without cell merging during sorts
display total lines above the entries
ALV LIST Can be coded using only FMs
ALV GRID Can be coded using FMs and object oriented concepts
ALV LIST Can be displayed hieraicharlly
ALV GRID cannot be displayed hierarichally
Regards,
Padmam.
‎2007 Oct 09 3:19 PM
Hi,
you said:
i want to wat is der in list <b>that grid don have</b>??
Comparison of functions:
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
<b>* I_INTERFACE_CHECK = ' '</b>
<b>* I_BYPASSING_BUFFER =</b>
<b>* I_BUFFER_ACTIVE = ' '</b>
<b>* I_CALLBACK_PROGRAM = ' '</b>
<b>* I_CALLBACK_PF_STATUS_SET = ' '</b>
<b>* I_CALLBACK_USER_COMMAND = ' '</b>
<b>* I_STRUCTURE_NAME =</b>
<b>* IS_LAYOUT =</b>
<b>* IT_FIELDCAT =</b>
<b>* IT_EXCLUDING =</b>
<b>* IT_SPECIAL_GROUPS =</b>
<b>* IT_SORT =</b>
<b>* IT_FILTER =</b>
<b>* IS_SEL_HIDE =</b>
<b>* I_DEFAULT = 'X'</b>
<b>* I_SAVE = ' '</b>
<b>* IS_VARIANT =</b>
<b>* IT_EVENTS =</b>
<b>* IT_EVENT_EXIT =</b>
<b>* IS_PRINT =</b>
<b>* IS_REPREP_ID =</b>
<b>* I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0</b>
IMPORTING
<b>* E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =</b>
TABLES
<b> t_outtab =</b>
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
<b>* I_INTERFACE_CHECK = ' '</b>
<b>* I_BYPASSING_BUFFER = ' '</b>
<b>* I_BUFFER_ACTIVE = ' '</b>
<b>* I_CALLBACK_PROGRAM = ' '</b>
<b>* I_CALLBACK_PF_STATUS_SET = ' '</b>
<b>* I_CALLBACK_USER_COMMAND = ' '</b>
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
<b>* I_STRUCTURE_NAME =</b>
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
<b>* IS_LAYOUT =</b>
<b>* IT_FIELDCAT =</b>
<b>* IT_EXCLUDING =</b>
<b>* IT_SPECIAL_GROUPS =</b>
<b>* IT_SORT =</b>
<b>* IT_FILTER =</b>
<b>* IS_SEL_HIDE =</b>
<b>* I_DEFAULT = 'X'</b>
<b>* I_SAVE = ' '</b>
<b>* IS_VARIANT =</b>
<b>* IT_EVENTS =</b>
<b>* IT_EVENT_EXIT =</b>
<b>* IS_PRINT =</b>
<b>* IS_REPREP_ID =</b>
<b>* I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0</b>
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
I_HTML_HEIGHT_TOP =
I_HTML_HEIGHT_END =
IMPORTING
<b>* E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =</b>
TABLES
<b> t_outtab =</b>
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
.
As you can see, at last in SAP BASIS 6.20, 'REUSE_ALV_LIST_DISPLAY' does not have parameters that are not in 'REUSE_ALV_GRID_DISPLAY' ,
Hope it helps,
Regards,
John.