Skip to Content

Display error mesage but program should not terminate.

Hello everyone,

I have a requirement in which i have to restrict an entry by an error msg (in BADI) but the user can resume editing afterwards. It should not terminate the transaction.

Regards Jay.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 17, 2016 at 11:43 AM

    Tr displaying the message with type 'E'. You can edit the field afterwards.

    MESSAGE 'Custom Message' TYPE 'E'.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 17, 2016 at 12:37 PM

    Look for a BAdI executed during PAI, before commit start, preferably a 'check' method with allow to return an error message or an exception. Your question is very general?

    Regards,
    Raymond

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 18, 2016 at 01:34 AM

    If you are using MESSAGE to display error try using display like 'E'.

    For e.g. MESSAGE 'Test' TYPE 'S' DISPLAY LIKE 'E'.

    Add comment
    10|10000 characters needed characters exceeded