passing an internal table to a badi
I have declared a variable outside the badi say
data: phead like STRUCTURE_head occurs 0 with HEADER LINE.
suppose this phead contains say 4 rows .
calling the method of the badi .
CALL METHOD user_exit->method1
thead = phead .
Here the parameter thead is of the type structure , so only the header line is passed . How do i pass all the four rows to the badi ?
Thanks in advance