Dominique,
good morning. thanks a lot for promptly.
your code fixed it - further, there was a name conflict in my layer list that caused the issue.
i will mark your reply as solving the issue.
your 2 answers improved my application issues to a great extent.
thanks a lot.
regards
ravichandran.