‎2007 Mar 08 8:57 PM
Hi folks,
I need some help in the abap code. I have some records in a database table A and I need to validate the records in the table with the records in an internal table based on the employeeid. if there are records in the internal table then continueotherwise insert the record from the table into the itab and append it.
My approach:
I first read all the records fromt he database table into the internal table,
select * from A into corresponding fields of itab_A where vpid = empnum and endda = v_enddate and begda = v_startdate.
if sy-subrc = 0.
append itab_A.
endif.
Now, I want to validate the records in itab_A with another itab_B. itab_B has some records that are common with itab_A in that case justcontinue otherwise insert the record in itab_B
also itab_A and itab_B have different table structure with few common fields.
my question is how to validte between two internal tables?
Thanks,
Sk
‎2007 Mar 08 9:06 PM
‎2007 Mar 08 9:06 PM
‎2007 Mar 08 9:15 PM