cancel
Showing results for 
Search instead for 
Did you mean: 

Program for creating a model is locked by User

Former Member
0 Kudos

Hi Guys,

We have created a process chain to create the Integration Model and to activate the Integration Model using this prg RIMODGEN. So, This prg we have created variants for different location wise. This process chain contains 13 processes For each location, which is running in parallel. Some time we are getting the error message " Program for creating a model is locked by User

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

tibor_nagy
Contributor
0 Kudos

Dear Pullaiah,

Locking happens if there is any overlap of models or duplicate scheduling of jobs with same variant.

See include LCIFIF01

CALL FUNCTION 'ENQUEUE_ECIF_IMOD'

EXPORTING

mode_cif_imod = 'E'

modelname = i_modid

logsys = i_logsys

apoapp = i_appl

EXCEPTIONS

foreign_lock = 1

system_failure = 2

OTHERS = 3.

So this means for you, you get the lockentry if the modelname, logsys and apoapp is the same. So please check again your variants if there is one with the same integrationmodels.

This can be the only reason we you get here this entry in your joblog.

Regards,

Tibor

Former Member
0 Kudos

Thank you for your reply. I verified there is no duplicate varients.

how to resolved this issue.

Former Member
0 Kudos

Dear Tibor,

I verified in Dev SYS there is no duplicate (combinations)varients.

Please clarify this solution.

Regards

Pullaiah