Getting ttTable does not exists in current context - Converted Abl to C# 10.2.200

A newly converted C# code from abl code is throwing “Getting ttDMRActn does not exists in current context”,in upgrade from 9.05 to 10.2.200. I have already done this type of codes in 10.1 , but never seen this error before.

Code snippet :

Any change is needed in code ?

Thanks