11-02-2015 11:59 AM
Hi Experts,
I have a requirement to while saving a purchase order we need to validate with condition and if condition get success need to display error message in status bar like 'Enter purchase requisition', So i implemented logic in customer exit - EXIT_SAPMM06E_013 and its working fine. But the error message displaying in information box instead of status bar.
First information box message showing like 'Enter purchase requisition'.
then second showing like 'System error (error in method PO_POST)'.
Anyone can suggest some good place my requirement should work properly.
Thanks,
11-02-2015 12:35 PM
This Customer Exit is executed too late and don't manage error messages, it's not its purpose, only provided for update of some customer tables.
Hint: Try BAdI ME_PROCESS_PO_CUST method CHECK or PROCESS_ITEM (and not method POST) - many threads are available
Regards,
Raymond
11-02-2015 12:43 PM
Hi Raymond,
I tried with this BADI and Methods its validating before saving the purchase order. and if i restrict with sy-ucomm = 'MESAVE'. then same information message only getting.
Can you suggest some other suitable place.
Thanks,
11-06-2015 12:40 PM
Hello,
do you have try with the command:
Message "write message here" TYPE 'E' display like 'A' ?
You can use a message number too.
Best regards!
Helena
11-06-2015 12:50 PM
I think that this is a personal setting in the GUI.
Goto SAP GUI Options->Interaction Design->Notifications and check the settings for 'Messages'.
Rich
11-07-2015 5:13 PM
Hi,
I am not sure about it but somtimes it depends how you want to display your message,
as Richard wrote.
Try to change the setting of display a message,
Goto SAP GUI Options->Interaction Design->Notifications and check the settings for 'Messages'.
Regards
Ebrahim