I am doing some changes related to error messages in HCM Payroll.
I put the message into a table and call them and this works fine.
But now I'd like to supress this error message once it has been showed in past periods of the payroll.
Example: payroll of june 2022 triggers an error message. Then when I have payroll of july this message will be showed again and this has to be blocked. Once the message has been showed in a past payroll period it should not be showed anymore.
code:
WHEN 'E27'.
PERFORM append_line TABLES gt_error
USING 'This amount'.
PERFORM append_line TABLES gt_error
USING 'is over the limit'.
The error message 27 has been showed in a past period it should not be showed again.