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

error meesage

Former Member
0 Likes
652

Hi All,

I have a small query.

In a User Exit iam validating some value in PM module.If that is not true it will stop the user from entering that value,by showing an error.

Everything is fine,only problem is the user cannot change the value again,its going in display mode,he need to go back and come in again to input a new value.

I suppose i need to do something at the time of issuing that error message.

please advice.

4 REPLIES 4
Read only

Former Member
0 Likes
534

Hi,

Why don't you use a message of some other type? For example, you could use an Information Message or a Warning Message?

Regards,

Anand Mandalika.

Read only

Former Member
0 Likes
534

Hi,

Which user exit are you using? See if using a field exit fulfills your requirements. Issuing an E type message within a field exit keeps the field open for input.

Regards

Read only

Former Member
0 Likes
534

Dear Anand,

The message should be as an error only.User should not be able to input undesired value.

Isnt there a way.

please advice.

Read only

0 Likes
534

Hi Alen,

Your requirement is :

1. The user should not be able to go ahead with any undesirable value.

2. The user should be able to enter a value in the field (i.e., the field should be editable) when the value he has entered has been detected to be unacceptable.

Now, I would still say that you could use the Information Message or a Warning Message. However, you would have to follow the message with an EXIT statement, so that the further processing will not be carried on. Without the use of the EXIT statement, the program will go on with the rest of the processing.

Sometimes, just using an exit statement may not suffice, but I can tell you that only if I know which user exit it is that you're using.

Regards,

Anand Mandalika.