Hi,
I have a requirement as follows:
Internal table 1 <ITAB1> contains following data (5 rows)
KDKG
__ (blank)
EB
EC
EA
__ (blank)
Internal table 2 <ITAB2> contains following data (5 rows)
KDKG
EA
EB
ED
__ (blank)
__ (blank)
I want to update <ITAB1> from data in <ITAB2> only if the entries in <ITAB1> are different from the one in <ITAB2> i.e.
in the above example, only field ED should be updated in <ITAB1> at postion 1 (which is a blank). fields EA and EB should not be updated in <ITAB1> since they are already present in <ITAB1>.
Also, use of loops should be avoided as far as possible since this logic is a part of a loop already.
Can any one please suggest a good way of doing this???