Skip to Content
0
Former Member
May 25, 2010 at 07:28 AM

Loop at dynamic internal tables.

1065 Views

Hi,

I want to Loop at a dynamic internal table based on some field restrictions (for internal table is too large to loop it for all the entries).

I have tried: -

Loop at <tab> assigning <wa1> where aufnr = wa-aufnr.

Also i tried it using replacement paths: -

Data: lws_temp type string value 'aufnr = wa-aufnr'.

Loop at <tab> assigning <wa1> where (lws_temp).

In both cases, it is giving following error: -

In Loop...where ' the line type of the table must be statically defined.

Can I do it, and if it is not possible then how do we restrict entries in such case. I cannot define a static internal table in this case.

Regards,

Shreya