Hi Yoppie,
In case you are trying to access the view "idmytableview" from different view, Just check if the view "idmytableview' is loaded. If this view is not loaded, this corresponding view or its contents will not be available and returns Undefined.
If not, in which context are you getting this error.
Regards,
Ravikiran