Skip to Content
0
Former Member
May 17, 2010 at 11:53 AM

Functional module /table vs changing parameter

1424 Views

Hi ,

I am working in release 6.0 .

In program i have internal table and i have to pass it's content to FM. In FM I tried to declare TABLE parameter but it was not accepted because table parameter is obsolete. I declare Change parameter. like it was suggested in error message dialog.The parameter is declared after same table like internal table from program .

When I run program I saw that only one record is passed to FM parameter. Question is how to pass whole body content of IT to FM parameter .

Thanks

Source code /

- gt_cartscan & cartscan are created after the same DB table.

loop at scantbl.

gt_cartscan-zzcartag = scantbl-zzcartag.

append gt_cartscan.

endloop.

call function 'Z_WM_UPD_ZDTS_GR'

changing

cartscan = gt_cartscan.