‎2009 Oct 26 6:43 AM
Hi,
While testing my function module I am directly assigning values to the fields. If I assign an invalid entry to one of the fields it throws an error message as expected. But the problem is even if I go back and correct the value and execute it again, it throws the same error message. I can understand that the cache is still holding the previous entry made by me. Please help me in solving this.
Thanks in advance,
Aravindan
‎2009 Oct 26 6:46 AM
Hi,
It isnt related to any cache. You will have to clear and refresh the variables holding the error messages so that when you go back, they will be set to intial and get populated as per the newly entered values.
Just after the code for displaying the error message, clear those variables in the function module code
Vikranth
‎2009 Oct 26 6:46 AM
Hi,
It isnt related to any cache. You will have to clear and refresh the variables holding the error messages so that when you go back, they will be set to intial and get populated as per the newly entered values.
Just after the code for displaying the error message, clear those variables in the function module code
Vikranth
‎2009 Oct 26 6:47 AM
Debug to find out whether you are clearing all variables and refreshing all tables before use.
Are you using message statement to display messages,ideally you should use RAISING statement.
Let me know if you need any further input.
Thanks,
Vivekanand
‎2009 Oct 26 8:14 AM
Hi Vikrant/ VIvekanand,
Thank you for your replies.
Thanks,
Aravindan.