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

How to pass Internal Table dynamically to a subroutine

$
0
0

Hi all,

 

I want to pass an internal table to a PERFORM. so that i have written code as

 

PERFORM fetch_data using it_table.

 

FORM fetch_data using p_it_table type z_table.

 

 

ENDFORM.

 

            Here it_table has got the structure z_table. I want to pass another internal table , say it_table2 of structure z_table2, to the same perform.

 

Is it possible to pass different type of internal table to the same perform? Please explain.

 

 

Thanks,

Rohith.


Viewing all articles
Browse latest Browse all 8584


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