2010 Jun 01 4:07 AM
Hi ,
Requirement is i have to raise a error message if my ( IF condition ) is not successful...Problem is error message is coming a like a cancel window with EXIT , if i click on EXIT it is ending the complete transaction code me22n which should not happen .
i tried using message statement as Warning is fine but allowing to go further tabs in item level which should not do as per the requirement.
finally it should work like a error message or any other message type but should not allow the user to go any other Tabs.if the condition fails.
Let me know your suggestions.
Thanks In Advance.
Nicole.
Hi ,
Requirement is i have to raise a error message if my ( IF condition ) is not successful...Problem is error message is coming a like a cancel window with EXIT , if i click on EXIT it is ending the complete transaction code me22n which should not happen .
i tried using message statement as Warning is fine but allowing to go further tabs in item level which should not do as per the requirement.
finally it should work like a error message or any other message type but should not allow the user to go any other Tabs.if the condition fails.
Let me know your suggestions.
Thanks In Advance.
Nicole.
2010 Jun 01 6:26 AM
Nicole,
Which enhancement are you using. If it's BADI or exit, Read the documentation, it can explain you which type of messages you can trigger from that exit/badi.
--
Reddy
2010 Jun 01 9:25 AM
hi Nicole,
Firstly, read the document of the exit. if it mentioned how to raise error message, you are lucky.
if not, my suggestion is to trigger a standard error message which has the style you need .
then located the error message raising codes, use the same way to give the message.
if still not work, look at the programs after the user exit and you may find the error message raising way.
Good Luck!
Kangbo.
2010 Jun 02 3:16 AM
Hi,
Thanks for replies.....
i'm writing the code in Implicit enhancement point in the standard include .
Thanks,
Nicole.
2010 Jun 02 11:57 AM
Hi Nicole,
Cann't you use the same message type 'E' with display like addition..
If it is not possible, Please try to display the message with message type 'S' but immediately use Leave to screen addition pointing to the desired screen of ME22n.
Hope this works with your implicit Enhancement.
Regards,
Naresh.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |