‎2016 Apr 18 5:34 PM
Dear Experts,
I have to change the logic inside the method CHECK_FIELDS of CL_HRPA_INFOTYPE_0021.
What is the way to change the code inside the method "CHECK_FIELDS" ?
When I try to change the code of the method "CHECK_FIELDS" , the system lock the code (even if I inserted the change key).
Thanks in advance for your help.
Antonio
‎2016 Apr 19 2:01 AM
Here's a quick and dirty way to do your change
1. copy your Class to a custom class
2. change the configuration table V_T582ITVCLAS to link the check class to your new custom class.
As I have said, it's dirty because you have to consider that this is already a custom class that might be impacted if you want to change.
On the other hand, you can try implementing BADI HRPAD00INFTYBL and add logic to MODIFY_COMPUTATIONS or something to add new customer specific checks then filter implementation to INFTY 0021.
Thanks.
‎2016 Apr 19 2:01 AM
Here's a quick and dirty way to do your change
1. copy your Class to a custom class
2. change the configuration table V_T582ITVCLAS to link the check class to your new custom class.
As I have said, it's dirty because you have to consider that this is already a custom class that might be impacted if you want to change.
On the other hand, you can try implementing BADI HRPAD00INFTYBL and add logic to MODIFY_COMPUTATIONS or something to add new customer specific checks then filter implementation to INFTY 0021.
Thanks.
‎2016 Apr 19 9:07 PM
Hi Benedict, thank you for your reply,
As you suggest the first proposal is the dirty way but and I will use that as last option.
Regarding the implementation of the BADI HRPAD00INFTYBL, in your opinion, is it possible to disable some consistency check of some field by implementing MODIFY_COMPUTATIONS filtering to INFTY 0021 ?
Thank you for your help .
Ciao,