cancel
Showing results for 
Search instead for 
Did you mean: 

Error for COM routine using application program (return code 40.134)

Former Member
0 Kudos

Hi,

when i am trying to load data for a Material from a Planning Book/ Data View in Interactive Planning Book....facing the below error...

Error for COM routine using application program (return code 40.134)

Message no. /SAPAPO/OM102

can you please guide me to solve this error...

Thanks,

Sai Ganesh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Good answer!

Former Member
0 Kudos

Hello Ganesh,

I know it would be hard on memory 🙂 but was eager to know whether and how did you fix this eventually. I am not meeting any success following the suggestions above. I have ditto issue now pestering me.

Thanks

Guru

Former Member
0 Kudos

Hello Ganesh,

I see it's 4 years ago's discussion, maybe it's hard to memory, but longed to know how you fixed the issue as we met the same issue today. Hope can get your reply!

Thanks

Mark

tibor_nagy
Contributor
0 Kudos

Dear Sai,

The error may be due to the fact that the new key figure(s) exist(s) in

the database but not in the time series (LiveCache).

The reason for the error message is inconsistencies between key figure

description in LiveCache and APO DB.

The key figure descriptions exist in the DB, but not LiveCache.

In that case, the solution would be to de-initialise the relevant

planning area (SPP_PLANAREA) since these inconsistencies cannot be

repaired by help of any report.

As any existing planning data would be lost, you would need to backup

the planning area data to an infocube and then retrieve it after the

initialisation using transaction /SAPAPO/TSCUBE.

This should resolve the issue.

Regards,

Tibor

Former Member
0 Kudos

Hi Tibor,

Sorry to open up an old issue.

Having encountered a ditto issue, I was unable to correct the same despite initializing the planning area multiple times over. The initialization is showing as successful in background but in reality no time series network is  created

What could be the issue ? and how to fix the same.

Thanks

Guru

wilian_segatto
Contributor
0 Kudos

Hello Sai!

COM error 40,134 means "Key figure does not exist". It seems that there is an inconsistency between the key figure descriptions in liveCache and in the database key figure(s) of the planning area, normally created if you add key-figure to existing planning areas. This issue can also happen during system copy.

You can schedule the consistency report /SAPAPO/TS_LCM_CONS_CHECK in background. It might solve your issue.

There are more consistency checks: report /SAPAPO/TS_LCM_REORG and transaction /n/SAPAPO/OM17 for APO-time-series.

In the meantime I ask you to implement note 1283440 in case it is relevant to your system.

It improves the report /SAPAPO/TS_LCM_CONS_CHECK regarding the repair of key-figure inconsistencies.

Will