Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cache Issue - Return message showing previous entry

Former Member
0 Likes
566

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
510

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

3 REPLIES 3
Read only

Former Member
0 Likes
511

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

Read only

Former Member
0 Likes
510

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

Read only

Former Member
0 Likes
510

Hi Vikrant/ VIvekanand,

Thank you for your replies.

Thanks,

Aravindan.