Quantcast
Channel: SCN : All Content - User Interface Development in ABAP
Viewing all articles
Browse latest Browse all 540

when using this class cl_salv_table=>factory to display the alv in report ,

$
0
0

I am not able to show the data in the excel  and other standard buttons are working fine .

 

  anybody helps will give rating more.

 

  Please see the attached screenshot which i have been attached .

 

DATA:go_alv TYPE REF TO cl_salv_table,

      go_columns TYPE REF TO cl_salv_columns,

      go_funs TYPE REF TO cl_salv_functions.

   DATA: gr_layout TYPE REF TO cl_salv_layout.

*

   TRY.

       CALL METHOD cl_salv_table=>factory

         IMPORTING

           r_salv_table = go_alv

         CHANGING

           t_table      = itab.

     CATCH cx_salv_msg.                                

   ENDTRY.

 

   go_funs = go_alv->get_functions( ).

   go_funs->set_all( ).

   go_columns = go_alv->get_columns( ).

   go_columns->set_optimize( 'X' ).

 

   go_alv->display( ).

 

  This was the code i am using in my report .

 

 

Thanks In Advance.

 

Message was edited by: vikram kunchala


Viewing all articles
Browse latest Browse all 540

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>