Skip to Content
0

Display error mesage but program should not terminate.

Nov 17, 2016 at 04:58 AM

73

avatar image

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.

10 |10000 characters needed characters left characters exceeded

Which BAdI definition are you using? The logic to code is BAdI-dependent.

0
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Ashok Mohan Nov 17, 2016 at 11:43 AM
0

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

MESSAGE 'Custom Message' TYPE 'E'.

Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
Nov 17, 2016 at 12:37 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Janakiram P Nov 18, 2016 at 01:34 AM
0

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

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

Share
10 |10000 characters needed characters left characters exceeded