2023 Mar 17 12:01 PM
Conversion of type "h" to type "g" is not supported.
it arizes when i try to add LVC_T_SCOL in my structure and it work well without it.
I use method "gc_alv_table->display( )." of salv table displaying.
LKGJHU02 - point of the mistake. How to fix that and is it possible to colorize rows in salv table the other way.
2023 Mar 20 12:47 PM
For SALV, see demo program SALV_DEMO_TABLE_COLUMNS.
(Program to generate demo data: BCALV_GENERATE_ALV_T_T2)
2023 Mar 17 4:16 PM
For CL_GUI_ALV_GRID, see the demo program BCALV_TEST_GRID.
(Program to generate demo data: BCALV_GENERATE_ALV_T_T2)
2023 Mar 20 9:47 AM
2023 Mar 20 9:56 AM
I'm not sure that many people want to play guessing games. Maybe you should provide all your information
2023 Mar 20 10:45 AM
i ve got an salv table and it displays well after i use "gc_alv_table-display( ). "if i add lvc_t_scol in my structure i m getting conversion mistake. I know, i can colorize with "set_table_for_first_display" and calling a new screen. But is it possible to do it without calling a new screen and overriding layout? And how adding an lvc_t_scol calls an
date type conversion? Also i need to colorize rows,not columns
2023 Mar 20 12:52 PM
Sorry. You don't have to convert anything, you just need to tell SALV that this component of type LVC_T_SCOL is the one to be used for the color (SALV doesn't understand implicitly that a component of type LVC_T_SCOL is the one to be used for the colors). See my other answer for SALV.
Yes you can change the color without need to recreate your SALV instance and without need to call a new screen.
2023 Mar 20 12:47 PM
For SALV, see demo program SALV_DEMO_TABLE_COLUMNS.
(Program to generate demo data: BCALV_GENERATE_ALV_T_T2)