Hi Sander,
Thanks for your response. Actually i have commented that part of open cursor code.Basically i am trying to read the data from the file in AL11 server,which i am placing it in Internal table.After which the i am comparing the data which i got from the internal table with a standard table (CRMD_TERR_ACCREL). So data from the internal table should not be present in the standard table. These data will be placed in the Extract structure (E_T_DATA). This is the functionality of the code.
So initially, when the code was working fine,i was not able to extract the data to BW. That is infopackage is running for a longtime and when i check the job log in Source system side,it shows a dump "TSV_TNEW_OCCURS_NO_ROLL_MEMORY". But the idocs generated by the job were transferred to BW successfully. So this error which i am facing at present.So i tried to modify the function module to overcome this.Please let me know,how to resolve this issue.
Regards
Angavai