Skip to Content
0
Former Member
Dec 09, 2008 at 08:01 AM

Compare and replace.

21 Views

hello all,

I have an internal table with the following output.

A B

1 2

3 4

5 6

2 7

7 10

Now i have to compare these two columns.

ex: for field B the first record is 2 we have to check whether 2 is present in A .

we can see 2 is present in A now for that entry the related entry in B is 7.Again we have to check whether 7 is present in A .we can see 7 is there in A for this entry the related entry is 10.

like this we have to compare for the whole table .

Here 10 is the last entry now we have to replace as,

A B

1 10

3 4

5 6

2 10

7 10

Regards,

Vaasu.