2014 Nov 27 4:11 AM
Hi Expert.
Please help me, here below i describe my business requirement and solution and problem.
Business Requirement : When Made Force UD through QA11 Long Text required.
Solution : I use Exit QEVA0007 and made code Like this
Code :
IF I_QAVE-LTEXTKZ <> 'X'.
* MESSAGE 'Sorry !! Please Maintain Long Text' TYPE 'E'.
MESSAGE E002(SY) WITH 'Sorry !! Please Maintain Long Text'.
ENDIF.
Problem : I want error message and stop to save transaction
BUT system give me warning message and save transaction.
argent please help me.
thanks and regards.
Pradip Patel.
2014 Nov 27 5:05 AM
hi Pradip,
Just read the user exit function documentation and they have mentioned that messages here will be displayed as information message. below is the info in the documentation
I think what you can probably do is try to get some other user exit for the validation purpose and trigger the error message as you require.
Try the below user exit and see if it helps for the validation part:
QEVA0010
Thanks,
Naveen
2014 Nov 27 4:53 AM
Hi Pradip,
In Warning message are you getting the same message you have mentioned here or any other message. If yes then please try with Leave List Processing and if it is in loop please exit from loop and after directly throw error message with leave list processing.
Regards,
Sagar
2014 Nov 27 5:01 AM
Thanks Sagar Pambhar for Reply.
Can you please correct sample code ??????.
IF I_QAVE-LTEXTKZ <> 'X'.
MESSAGE E002(SY) WITH 'Sorry !! Please Maintain Long Text'.
ENDIF.
thanks.
Pradip Patel.
2014 Nov 27 5:05 AM
hi Pradip,
Just read the user exit function documentation and they have mentioned that messages here will be displayed as information message. below is the info in the documentation
I think what you can probably do is try to get some other user exit for the validation purpose and trigger the error message as you require.
Try the below user exit and see if it helps for the validation part:
QEVA0010
Thanks,
Naveen
2014 Nov 27 6:15 AM
Thanks Naveen George For Reply.
When I use QEVA0010 Exit and Generate Error Message, here below mention problem.
1) After generate message system not provide option for correction error. (Eg. click on any button Error continue display).
2) This Exit is not working on SAVE UD transaction.
please Help
Thanks.
Pradip Patel.
2014 Nov 27 11:28 PM