11-17-2016 4:58 AM
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.
11-17-2016 11:43 AM
Tr displaying the message with type 'E'. You can edit the field afterwards.
MESSAGE 'Custom Message' TYPE 'E'.
11-17-2016 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
11-18-2016 1: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'.
11-18-2016 7:26 AM
Which BAdI definition are you using? The logic to code is BAdI-dependent.