CIT Monitor: Change unchangeable CITs
Attention: The actions on this post are done by changing the SAP standard code. Do it at your own risk.
There are certain CIT stages that don’t allow us to change CITs through the CIT Monitor. You can always change them by table, but if you have a business scenario where the users should be allowed to do this type of changes, you would need something more.
This blog explains how the “enhance” the CIT Monitor to allow these CITs to be changeable.
CIT in status 0 where there is not an active contract for the Consumer ID
You cannot change CITs with this status, because there is a standard validation that prevent you to do any change on the CIT. To allow the CIT to be changeable, the better option that I found is:
Include: LFKKKBIX_CIT_CHANGEF03
Form: check_cit
Add the following code at the begging of the Form
CHECK is_cit_all_disp-citstatus <> '0'.
This code prevents this standard check of CITs in status Raw, and allows you to do change the CIT with the CIT Monitor. Because CITs without an active contract for the Consumer ID always fail during transfer, this change will not create an inconsistency in your system.
Change Rated CITs
You cannot change CITs with this status, because there is a standard validation that prevent you to do any change on the CIT. To allow the CIT to be changeable, the better option that I found is:
Include: LFKKBIX_CIT_MONF04
Form: function_change
Delete the following code, that raises the message s885:
LOOP AT lt_cit_disp_chk INTO ls_cit_edit WHERE citstatus = cl_fkkbix_co=>gc_citstatus_4. "#AG_DISPTAB * CIT4 is not allowed MESSAGE s885(fkkbix). RETURN. ENDLOOP.