2009 Aug 24 9:12 AM
Hi folks,
I am trying to keep some validations for attachments in ME51N Tcode. Before saving the document, system will check for the attachment.If it is empty it will prompt a error message saying its mandatory.After seeing the message when user attach the attachment and try to save the screen again it showing a system error.Can we use error message in the user exits.If not what is the alternative for that.Could any suggest me..
Thanks in advance,
Shyam.
Hi folks,
I am trying to keep some validations for attachments in ME51N Tcode. Before saving the document, system will check for the attachment.If it is empty it will prompt a error message saying its mandatory.After seeing the message when user attach the attachment and try to save the screen again it showing a system error.Can we use error message in the user exits.If not what is the alternative for that.Could any suggest me..
Thanks in advance,
Shyam.
2009 Aug 24 9:26 AM
Hi Shyam,
We can use Error message in user exit.
also we can put validation in the enhancement.
you can try with error message with any message you want to display.
Regards,
Vijay
2009 Aug 24 9:30 AM
Hi,
Customizing: Tools -> System Modifications -> User-Defined Validations. For parameter and function module.
function: enhancement EDMLELDV, for example function module EXIT_SAPLEPU1_001
-Thanks & Regards
Saurabh Goel
2009 Aug 24 9:32 AM
what you can do for each user exit is usually documented by sap, either in function module documentation, in SPRO, or in sap notes. If you can't send an error message in this user exit, use another user exit
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |