cancel
Showing results for 
Search instead for 
Did you mean: 

Materials becoming inactive in CIF Integration model

Former Member
0 Kudos

Dear Experts,

We have developed a custom program to CIF the master data and transaction data by calling RIMODGEN and RIMODAC2 using SUBMIT program / JOB_SUBMIT.

We have created a variant for CFM1 & CFM2 and use them during the RIMODGEN & RIMODAC2 job submit from our custom program.

During the first run for the day, we clear the materials in the CFM1 variant (updated during earlier run – previous day) and update the materials to the CFM1 variant based on the entries in BDCP2 table and submit RIMODGEN.

On subsequent runs, we keep appending the new materials to the CFM1 variant. But when we do that, the materials added during first run is becoming inactive ( Checked in CFM5 ) and the newly added materials alone stays active in integration model.

I tried to clear and freshly update the CFM1 variant with materials from first run & subsequent runs using the FM’s: RS_VARIANT_CONTENTS(Read) & RS_CHANGE_CREATED_VARIANT(Update variant).

By doing this, I am getting an information message as “Model AUTO_CIF/XXXCLNT100/AUTO_CIF is empty and will not be saved to the database” and the new materials is not even appearing in the IM as per CFM5.

Kindly advise on how to retain all the materials in the IM with active status.

Regards,

Srinivas

Accepted Solutions (1)

Accepted Solutions (1)

rupesh_brahmankar3
Active Contributor
0 Kudos

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

Answers (1)

Answers (1)

0 Kudos

Hi Srinivas,

It looks as if the "old" materials are not present in the new integration models, please make sure aside from adding the new materials to the model, you keep the old ones as well.

Regards,
Tiago