usage of getlasterrortext..

Hi all,

I would like to know how can get the error stored in nav when i try to transfer records from one table to another table which has different datatypes using the getlasterrortext function.I have tried a lot but it doesn’t seems to work…

any answer would be appreciate

…With regards,


If you have tried “a lot”, then please let us know what you tried, so that we are not suggesting the same. It also depends on how you have your code. Calling it with in an codeunit which calls another codeunit or?

Show us your code, just writing GETLASTERRORTEXT won’t gonna help to log the Error. It depends how you have written it.