Skip to Content
0
Former Member
Dec 01, 2006 at 08:42 AM

Extracting Required records only

25 Views

Hi all,

I have two internal tables as follows.

data: begin of itab_1 occurs 0,

rec_1(100),

end of itab_1.

data: begin of itab_2 occurs 0,

id(6) type c,

end of itab_2.

itab_1-rec_1 contents are as follows

name|id|designation|experience

chanra|000001|consultant|2

balu|000002|senior consultant|5

and so on...

itab_2-id contents are as follows:

id

000001

000002

and so on.

Now i want to extract those records only from itab_1 which matches the "id" in itab_1.

internal tables have the data already. can any one give me the logic code to accomplish the required records extraction.

Regards,

Yellappa.