cancel
Showing results for 
Search instead for 
Did you mean: 

COM routine error in Background job.

Former Member
0 Kudos

Hello All,

During background process of a job, we found a "Error for COM routine using application program (return code 40.301)" for a CVC. It caused a backgroung job to fail.

Could you please throw light, why this error comes only for this CVC ( as had the same instance before for the same CVC ) & how to fix it ?

Reagrds

Rahul Chitte

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rahul,

Check is there any other job/jobs starting parallelly along

with this job. This may ends up sometime in conflicting

leading to this error.

Another possibilitity could be during this job, is there

any other job accessing the same data (analyse the

job logs/application logs)

In case found if any on the above charactristics, in your

test system, try postponing/preponing the jobs and check

whether job is running successful.

Regards

R. Senthil Mareeswaran.

Former Member
0 Kudos

Hello Senthil,

Thank you once again for your reply.

There is no parallel job running parallel to this job, so no chance that this data is shared with other job to throw this error.

Secondly, I replicated the issue in Q, its cann't be repliciated. i.e no com routine error. it ended in green.

Thank you

Regards

Rahul Chitte

Former Member
0 Kudos

Senthil,

I also ran the /SAPAPO/TS_PSTRU_CONS_CHECK for that CVC under Selection Condition tab.

The logs were in green state.

Regards

Rahul Chitte

Former Member
0 Kudos

Hi,

Please check below mentioned SDN thread if it helps:

There is mention of OSS notes SAP Notes 863244, 944254.

Secondly, if the issue is specific to some CVCs, it may be practical to delete the CVCs and recreate .

Regards

Datta

Former Member
0 Kudos

Hello Datta,

Thank you for teh inputs.

I have read the link before & the notes are not relevant too.

Yes, I agree that a deleting a CVC is a viable option.

Thank you

Regards

Rahul Chitte

Answers (2)

Answers (2)

Former Member
0 Kudos

Rahul,

Also try running the below transactions which will check and correct

if there are any inconsistencies

/SAPAPO/PSTRUCONS

/SAPAPO/TSCONS

Regards

R. Senthil Mareeswaran.

Former Member
0 Kudos

Senthil,

I hope you are referrinng to run, /SAPAPO/TS_PSTRU_CONS_CHECK.

The prog. you mentioned above are no longer found in SCM 5.0.. ..

Regards

Rahul Chitte

Former Member
0 Kudos

HI Rahul,

COM routine errors are generally related to LC errors. There are a number of possible causes for it, the CVC was created when a macro was running or it was deleted from MPOS but not from LC etc etc.,

Solution to this is go /n/sapapo/msdp_admin --> Go to your planning area --> Double Click --> Look for Extras in Menu --> Go to Consistency check and do a time series consistency check.

Remember to click Check for Live Cache Anchor and leave 'Repair' unselected.

This will return what is the error. Once you see the error, you can go back and select the 'Repair' Also and then execute again. This should resolve the problem.

Hope this is helpful.

Thanks

Mani Suresh

Former Member
0 Kudos

Hello Suresh,

Thank you very much for the reply.

I have done the consistency check earlier but it doesn't helps.

I think, I will ask the suer to delete the CVC & re-create it.... if you have anything for else to suggest please let me know..

Thank you

Regards

Rahul Chitte