08-21-2006 12:55 PM
HI All
Is there any Function Module that converts the ALV GRID display to Basic list display?
i need to and some functionality to the existing program so i cannot change the program.
Can any one help me out.it is an urgent Requirement
08-21-2006 12:57 PM
Hi,
use ALV Method : set_ready_for_input for this.
Code :
DATA : g_grid TYPE REF TO cl_gui_alv_grid.
IF g_grid->is_ready_for_input( ) EQ 0.
* set edit enabled cells ready for input
CALL METHOD g_grid->set_ready_for_input
EXPORTING
i_ready_for_input = 1.
ELSE.
* lock edit enabled cells against input
CALL METHOD g_grid->set_ready_for_input
EXPORTING
i_ready_for_input = 0.
ENDIF.
Regards
Appana
08-21-2006 12:57 PM
Hi,
use ALV Method : set_ready_for_input for this.
Code :
DATA : g_grid TYPE REF TO cl_gui_alv_grid.
IF g_grid->is_ready_for_input( ) EQ 0.
* set edit enabled cells ready for input
CALL METHOD g_grid->set_ready_for_input
EXPORTING
i_ready_for_input = 1.
ELSE.
* lock edit enabled cells against input
CALL METHOD g_grid->set_ready_for_input
EXPORTING
i_ready_for_input = 0.
ENDIF.
Regards
Appana
08-21-2006 5:57 PM
Hello Vijay
Function group SLVC contains the function module LVC_TRANSFER_TO_SLIS by which you can convert from the Grid control structure (LVC_...) to the old-fashioned SLIS_... structure.
While it is obvious how the standard structures are converted I cannot tell anything about the TABLES parameter IT_DATA.
Nevertheless, hope I could help.
Regards
Uwe
08-21-2006 6:01 PM