Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8667

Re: How to pass Internal Table dynamically to a subroutine

$
0
0

Hi,

 

You can use:

 

Type table .

 

For example:

 

FORM  display_results

  CHANGING

   t_table TYPE table .

 

DATA: ob_salv_table TYPE REF TO cl_salv_table .

 

  TRY.

      cl_salv_table=>factory(

        IMPORTING

          r_salv_table = ob_salv_table

        CHANGING

          t_table      = t_table ).

    CATCH cx_salv_msg.

  ENDTRY.

 

ob_salv_table->display( ).

 

ENDFORM.                    "display_results


Viewing all articles
Browse latest Browse all 8667

Trending Articles



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