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

MV45AFZZ extra validations

luscruz
Participant
0 Likes
839

Hi all,

I'm trying to set some more validations on USEREXIT_SAVE_DOCUMENT_PREPARE.

If some of these validations are not true, is it possible to not allow to save?

Thanks,

Luis Cruz

1 ACCEPTED SOLUTION
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
809

Dude... You got to be kidding me. Have you at least tried it? The error message will be displayed, then the users can go back and change anything they want and then do Save again. In the worst case add

fcode = 'ENT1'.

before the error message.

6 REPLIES 6
Read only

Former Member
0 Likes
809

Hi,

Yes.

We can stop the transaction without saving.

Read only

0 Likes
809

Hi bala,

Can you tell me how?

Thanks,

Luis Cruz

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
809

MESSAGE ... TYPE 'E', obviously.

Read only

0 Likes
809

But in that case it exits the transaction, and all data are lost.

I need a solution that allow the user to change data, after the error message.

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
810

Dude... You got to be kidding me. Have you at least tried it? The error message will be displayed, then the users can go back and change anything they want and then do Save again. In the worst case add

fcode = 'ENT1'.

before the error message.

Read only

0 Likes
809

Thanks, that worked.

Only " message ... type 'E' " was terminating the program