Skip to Content
0
Former Member
Dec 20, 2006 at 11:56 AM

Table control - bug??

25 Views

Hi all.

I'm trying to fill a table control with data coming from an internal table.

I'm doing things just like I've done thousands times before (and in other screen in same program), and it doesn't work!!!

the problem is: There is a loop to fill the table control

loop with control tc_acoes_adm.

module fill_acoes_adm.

endloop.

and, the module that fills it:

MODULE fill_acoes_adm OUTPUT.

READ TABLE gi_acoes_adm INDEX tc_acoes_adm-current_line.

ENDMODULE. " fill_acoes_adm OUTPUT

but, inside the module, the "tc_acoes_adm-current_line" is always 0. Thus, the table control is never filled with data from internal table gi_acoes.

any idea will be welcome!!

thanks in advance,

Hermes.