2016 Jan 12 9:58 AM
HI All,
I am trying a error message in BADI- BADI_MATN1.
How ever it gives runtime error saiyng that
No - MESSAGE E... statements are allowed either in conversion exists
for output conversion (performed by function modules called
CONVERSION_EXIT_xxxxx_OUTPUT).
Kindly guide.
Thanks,
SD
2016 Jan 12 10:18 AM
Hi,
Check implementations of the badi BADI_MATN1.
In transaction SE18 you should find it.
Menu -> implementation -> view
Regards.
David Cárceles.
2016 Jan 12 10:32 AM
HI David,
I know how to implement BADI.
My problem is error message in badi BADI_MATN1.
Please go through my query again and kindly help me out.
2016 Jan 12 10:42 AM
Well the message is "Error message not allowed" and you want "Send an Error message", not possible, so use an "Abort" message.
For reference look in BC - ABAP Dictionary online help for Domains, Input and Output Conversions.
Only A messages are meaningful in output conversion, but A, E and S messages can be triggered in input conversion (although S messages are not very meaningful here). E messages result in an error dialog. Exceptions are not intercepted in the call.Error in a WRITE statement or a PBO are not meaningful, so break the transaction with Abort message to protect database consistencies and trigger some ROLLBACK.
Regards,
Raymond
2016 Jan 13 10:23 AM
Hi,
Try using information message display like 'E' (error).
Thanks,
Ajinkya