Skip to Content
0
Former Member
Jan 23, 2013 at 01:51 PM

Passing internal table to a internal sub routine

489 Views

Hi ABAPers,

Was wondering if someone could help me with the issue that I am facing below. Here is the code:

REPORT Zxxxx.
data: begin of d1 occurs 3,
f1(10),
f2(5),
end of d1.

perform sr1 tables d1.


form sr1 tables td1 like d1.
write: / td1-f1.

endform.

When trying to compile this I get the below error:

The tables parameter TD1 only supports declarations with "STANDARD TABLE" possible.

Appreciate any help.

Thanks.

M