Skip to Content
0
Former Member
Jul 12, 2007 at 02:49 PM

nested loop using two dynamic tables

31 Views

Hi all,

i'm trying to create a nested loop with two dynamic tables.

However, i cannot yet.

for example;

<table1> has two fields : kunnr and menge, then

<table2> has three fields : kunnr, matnr and menge.

The field kunnr is key field for those two tables.

and the loop will seem like below :

loop at <table1> assigning <line1>.

....loop at <table2> assigning <line2> [where kunnr = <table1>kunnr].

......bla... bla.. bla...

....endloop.

endloop.

However, i could not handle to use this where condition.

Any solution offered will be appreciated.

Thnkx....