‎2006 Nov 21 9:08 AM
hi all,
i have two table having address of customer and contact person
how can i compare them to find out both are having same address
how can i do this.
how can i compare two non text fields.
thanks
SAI
‎2006 Nov 21 9:10 AM
loop at itab1.
read table itab2 with key name = itab1-name.
if sy-subrc = 0.
write : 'name is same'.
endif.
endloop.
Regards
- Gopi
‎2006 Nov 21 9:10 AM
loop at itab1.
read table itab2 with key name = itab1-name.
if sy-subrc = 0.
write : 'name is same'.
endif.
endloop.
Regards
- Gopi
‎2006 Nov 21 9:11 AM
U can simply compare two fields like
LOOP FIRST TABLE..
READ TABLE2 AND COMPARE ..
‎2006 Nov 21 9:22 AM
Hi,
If the contact person and Customer name is same then the comparison is simple as other have put it.
For every customer there will be contacy person, using this read the contact person details from the second table. Then you can compare individual fields.
Thanks...