Issuing an Error in Table Maintenance Event
How can I issue an error in the table maintenance event without exiting the screen.
When an event is triggered (Before Save), it will perform a check in the data changed or created. It will issue an error when the changes are not correct. But when I press enter or click on the check button, it will exit the table maintenance screen.
What do I have to do in order to issue an error but will still go back to the table maintenance view.
Making the message as information or type I, will not work because it will still save.
Marc Ng replied
How are you? You can implement the check in the PAI of your table maintenance screen. Hope it helps....
PROCESS AFTER INPUT. CHAIN. FIELD field_a. FIELD field_b . MODULE check_val ON CHAIN-REQUEST. ENDCHAIN. MODULE check_val. IF field_a IS INITIAL OR field_b IS INITIAL. MESSAGE e398(00) WITH 'test'. ENDIF. ENDMODULE.