Hi all,
I did some code like when invalid combinations....then need to raise a request,at that time it showing the error message, but after that error message...when press enter....that work order starts genrating(means start processing).So i need to stop the processing after error message displays even click on enter or save...need to show the same error message.Could u plz help me on this.
Plz check the code below:
IF VIQMEL-QMART = ZCL_CONSTANTS=>C_QMART_M1.
IF VIQMEL-PRIOK = ZCL_CONSTANTS=>C_PRIOK_1 OR
VIQMEL-PRIOK = ZCL_CONSTANTS=>C_PRIOK_2.
IF RIWO00-AUART <> ZCL_CONSTANTS=>C_AUART_PM03.
MESSAGE e208(ZPM).
ENDIF.
ELSEIF RIWO00-AUART = ZCL_CONSTANTS=>C_AUART_PM03.
MESSAGE e208(ZPM).
ENDIF.
ENDIF.