‎2007 May 09 10:00 AM
Hi experts can anyone please tell me the difference between the 2 function modules:
REUSE_ALV_GRID_DISPLAY and REUSE_ALV_GRID_DISPLAY_LVC . I have seen in the coding for editable ALV that they have made use of the former FM rather than the regular REUSE_ALV_GRID_DISPLAY.
( Source: <a href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_editable.htm">Editable ALV from sapdevelopment.co.uk</a> ) So can anyone explain as to whether its actually possible to code the editable ALV using the REUSE_ALV_GRID_DISPLAY FM or not. Thanks
‎2007 May 09 10:04 AM
hi
'REUSE_ALV_GRID_DISPLAY' is for the SLIS type pool.
'REUSE_ALV_GRID_DISPLAY_LVC' is for the LVC type pool which of course has a better functionality.
1) Common in display result
REUSE_ALV_GRID_DISPLAY_LVC and REUSE_ALV_GRID_DISPLAY have similar display view
2) Common in usage
REUSE_ALV_LIST_DISPLAY and REUSE_ALV_GRID_DISPLAY have very similar parameters for
function call (types from slis)
one rarely use fm REUSE_ALV_GRID_DISPLAY_LVC as class cl_gui_alv_grid provides more
power and functionality.
regards
Navjot
reward if helpfulll
Message was edited by:
navjot sharma
‎2007 May 09 10:04 AM
REUSE_ALV_GRID_DISPLAY uses SLIS Type group
and
REUSE_ALV_GRID_DISPLAY_LVC uses LVC_.. Structures
And coming to your second question, You can edit the fields using REUSE_ALV_GRID_DISPLAY but you cannot disable the editable fields
So you cannot write the same code using REUSE_ALV_GRID_DISPLAY
better to use REUSE_ALV_GRID_DISPLAY_LVC or OOPS ALV
‎2007 May 09 10:11 AM
Hi Navjot & chandrasekhar,
Thanks for your replies. I do still have 1 small doubt. In the example at :
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_editable.htm
he had declared the SLIS type-pool eventhough he was making use of the REUSE_ALV_GRID_DISPLAY_LVC FM. Could you please say as to why he had to declare the SLIS type pool even for this FM. Sorry am new to ALV's
‎2007 May 09 10:17 AM
hi ,
though he declare SLIS he did not use that anywhere in the program , you can remove and checkout