hi,
LOOP AT it_new_source INTO wa_new_source.
READ TABLE SOURCE_PACKAGE WITH KEY
/bic/fcckjobno =wa_source-/bic/fcckjobno
/bic/fcckjitid = wa_source-/bic/fcckjitid
BINARY SEARCH
INTO wa_source.
Why u r using read table ??? every time it gives u same value bcoz you are fetching data base on wa_source.
use field symbol , it will also increse speed and try to use hased table.
and try to rewrite below logic.
because move-corresponding syntax will take too much time if many number of fields in structure.
MOVE-CORRESPONDING wa_new_source TO ls_target_key.
MOVE-CORRESPONDING wa_source TO wa_new_source.
MOVE-CORRESPONDING ls_target_key TO wa_new_source.
MODIFY it_new_source FROM wa_new_source.
Regards,
Satyen.