Application Development 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: 

Getting Error in Information box instead of status bar.

former_member244346
Participant
0 Kudos

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,

5 REPLIES 5

raymond_giuseppi
Active Contributor
0 Kudos

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

0 Kudos

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,

Former Member
0 Kudos

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

0 Kudos

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

former_member184158
Active Contributor
0 Kudos

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