Hello all ,
I have came across a really strange situation.
I have done my coding in BADI ME_HOLD_PO as follows :
if im_ekko-bedat is not initial.
if im_ekko-bsart ne 'ZSTM'.
if im_ekko-bedat < sy-datlo.
message 'Purchase order date is in the past' type 'E'.
Now the problem is that the above message is not coming as an error message (at status bar) instead its coming like a message with that of type 'A' i.e the message is being displayed as a pop up and the screen is reseted with the press of enter.