Skip to Content
0
Former Member
Jun 03, 2010 at 03:55 PM

internal table in a form routine

21 Views

Hi,

I have a problem when I try to use an internal table to pass it into a form/Perform subroutine.

Here is my code :

DATA: BEGIN OF i_table_exple OCCURS 0,

ncont TYPE char18,

cdmvt TYPE char1,

END OF i_table_exple.

perform test_form using i_table_exple.

form test_form using i_table like i_table_exple.

loop at i_table.

write : / i_table-ncont.

write : / i_table-cdmvt.

endloop.

endform.

when I try to activate it, I have an error : "i_table" is neither specified under "tables" nor is it defined as an internal table

I think the way I pass my table to the form is not correct, but I don't know how to deal with it.