SAP ALV – ALV Samples in SAP (cl_salv_table and cl_gui_alv_grid)
ALV is a very usual topic of the search keywords about ABAP.
Recently,I make some research about ALV,such like ALV tree,drag and drop effects of ALV,how to display two alv on one screen.
What is the difference between package SLIS and SALV_TABLE?
Before try to use the data,we should init data for flight sample and sbook sample of ALV.Program SAPBC_DATA_GENERATOR can init the data
of this two sample.
ALV_T_T2 is used for alv tree sample.We can init the data with function
module BCALV_GENERATE_ALV_T_T2.
Difference between SLIS and SALV_TABLE
1 cl_salv_table in package salv_table does not support editable grid,but SLIS can.
2 drag and drop effects of alv are only avaliable for SLIS
3 For full screen ALV,SALV_TABLE is much more easier to use.If we want to use SLIS to achieve the fullscreen effect,we only can use function module API to achieve this,with cl_gui_alv_grid is impossible.
There are still many points we can talk about ALV.You can find many other blogs introducing ALV on sapgeek .Try to avoid repeating.I will focus on talking about some other areas of ALV in later blogs,such like drag and drop effects,and then extends to SAP control framework(SAP GUI Programing)
