05-15-2018 11:09 AM
Hello,
I have an requirement to convert classical report program into ALV/ interactive report i.e when click on radio button classical it should show output in Classical and then if clicked on alv button output should as ALV grid/ list . Is there anyway to write program in classical and convert into ALV/ Interactive.
Have attached my code. Please suggest and am new to SAP ABAP.
Thanks in Advance.
05-15-2018 11:38 AM
Hi Dinesh,
"when click on radio button classical it should show output in Classical and then if clicked on alv button output should as ALV grid/ list
Create two radio buttons, for instance R_CLASSIC and R_ALV.
"Is there anyway to write program in classical and convert into ALV/ Interactive.
To show alv, the respective class or FM should be called like below.
DATA : lr_table TYPE REF TO cl_salv_table.
cl_salv_table=>factory( IMPORTING r_salv_table =lr_table
CHANGING t_table = it_final ) .
lr_table->display( ).
Regards
Rajkumar Narasimman
05-15-2018 11:38 AM
Hi Dinesh,
"when click on radio button classical it should show output in Classical and then if clicked on alv button output should as ALV grid/ list
Create two radio buttons, for instance R_CLASSIC and R_ALV.
"Is there anyway to write program in classical and convert into ALV/ Interactive.
To show alv, the respective class or FM should be called like below.
DATA : lr_table TYPE REF TO cl_salv_table.
cl_salv_table=>factory( IMPORTING r_salv_table =lr_table
CHANGING t_table = it_final ) .
lr_table->display( ).
Regards
Rajkumar Narasimman