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 message in user exit USEREXIT_SAVE_DOCUMENT_PREPARE

Former Member
0 Likes
2,014

Hi All,

I have a requirement where i need to issue an error message in the user exit USEREXIT_SAVE_DOCUMENT_PREPARE of include MV45AFZZ.

When i issue an error message, all the fields will be disabled for input.

Is there a way to avoid this?

Kindly help.

Hi All,

I have a requirement where i need to issue an error message in the user exit USEREXIT_SAVE_DOCUMENT_PREPARE of include MV45AFZZ.

When i issue an error message, all the fields will be disabled for input.

Is there a way to avoid this?

Kindly help.

4 REPLIES 4
Read only

Former Member
0 Likes
1,174

Hi,

It is not the proper exit to raise error messages.

Try to implement one fr the specific purpose. There are several exits available whch shud help u out.

Read only

former_member215917
Active Participant
0 Likes
1,174

Also, it could be that they have some different way of giving messgaes like using some in-built macros etc.

You can try reading its help.

Gouri.

Read only

former_member404244
Active Contributor
0 Likes
1,174

Hi,

As you are throwing the error message ,the data won't be saved in the DB table , so u can use very well correct the data on the screen and save...

Regards,

Nagaraj

Read only

Former Member
0 Likes
1,174

Hi,

Check if the USEREXIT_CHECK_VBAK or USEREXIT_CHECK_VBAP helps.

You should select some user exit which is called within the PAI, in the chain.... endchain for the particular field, for which error should be displayed.

Then the screen will not be locked for input.

Please provide more details of which fields validation is to be done for more help,

Regards,

Janani