Hello,
What is the purpose of custom developed program for CIF?
Why don't you use the background job for RIMODGEN & RIMODAC2 for your master and transaction data variants?
It would not make sense to reactivate an old version of a Material Integration Model. It would synchronize only the materials existing at that time. Newly created materials would be excluded from the IM.
You can easily spot inactive Integration Model versions through field "ACTIVE" in table CIF_IMOD.
Best Regards,
R.Brahmankar