Hi Yash,
Change your code for this one:
SELECT employee title forename surname gender salary
from zemployees
into corresponding fields of TABLE it_details1
where zemployees-employee in s_Emplye.
select employee address2 address3 email contact
from zpersonal_detail
into corresponding fields of TABLE it_details2
FOR ALL ENTRIES IN it_details1
WHERE employee = zemployees-employee.
Best regards.