Need to declare number of internal tables equal to the number of diff company codes in a table, the table names also should be different