Skip to Content

Getting Error in Information box instead of status bar.

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,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 02, 2015 at 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

    Add comment
    10|10000 characters needed characters exceeded

    • 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,

  • avatar image
    Former Member
    Nov 06, 2015 at 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

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 07, 2015 at 05: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


    1.JPG (160.7 kB)
    Add comment
    10|10000 characters needed characters exceeded