cancel
Showing results for 
Search instead for 
Did you mean: 

Error for deleting APO planning version

Former Member
0 Kudos

Hello Gurus,

We have tried to delete an APO planning version 001 using transactions /SAPAPO/MVM and e /SAPAPO/VERDELLD without success, because there are messages below:

Planning version 001 could not be deleted in liveCache

Connection to the LiveCache could not be established

Deletion of a planning version failed because associated transactional simulations still exist.

We have already checked and corrected LC inconsistencies for planning version 001 using transaction /SAPAPO/OM17.

Can you help us?

Thanks in advance.

Januario Faria.

Accepted Solutions (0)

Answers (7)

Answers (7)

0 Kudos

Hi Januario,

Kindly let me know what was the root cause for your issue?

Thanks

Former Member
0 Kudos

Hi Wilian.

Iu2019m sorry for the delay of my reply. I was on vacation last week.

The OM17 didnu2019t show any inconsistency.

Our versions: SCM 5.1, LC 7.7.04.25

Thank you.

Best regards,

Januario Faria.

Former Member
0 Kudos

Hi Willian,

We have already done these activities but the problem persists.

Thank you.

Januario.

wilian_segatto
Contributor
0 Kudos

Hi Januário!

Did OM17 pick any inconsistency?

If you debug the LiveCache call, you will be able to see what objects are being sent to LCA... Maybe you'll find an answer there...

What is your release and Support Package level of the "SCM" component and what is your LiveCache version?

Regards,

Will

Former Member
0 Kudos

Olá Willian

Yes, our LC ES named u2018LCAu2019

The Return Code is 222.

Thank you.

Januario Faria

wilian_segatto
Contributor
0 Kudos

From Note 519014 - Handling Planning Version Management:

Return code 222: The version cannot be deleted because a

transactional simulation exists for this version. The

transactional simulation should therefore be deleted first via

application transaction.

The Planning Version cannot be deleted as it still contains transactional simulations.

Please run /SAPAPO/OM17 and execute the consistency check for all items in your planning version 001.

Then correct the inconsistencies....

After that, run transaction /SAPAPO/CDPSS0 and check if there are Simulation Versions over there and delete the relevant one(s).

After that try deleting the Planning Version again.

Hope that solves your issue!

Will

Former Member
0 Kudos

Hi Marcelo.

Yes, we have already checked it, but thereu2019s no simulation version in this transaction.

Thank you.

Januario Faria

wilian_segatto
Contributor
0 Kudos

Olá Januário!

Is your LiveCache connection in /LC10 named 'LCA'?

Are you able to provide us the return code that comes back from the LiveCache in the variable et_rc (last column)?

This would help us.

Will

Former Member
0 Kudos

Hi Rishi,

Thanks for your reply.

We have already run program /SAPAPO/OM_REORG_DAILY daily, but the problem persists.

Best regards.

Januario Faria.

Former Member
0 Kudos

You check if exists any simulation version based in this version 001?

Check /sapapo/cdpss0

Best Regards.

Marcelo

Former Member
0 Kudos

Hi Januario

Verify Livecache is running 'green' in transaction LC10.

Run program /SAPAPO/OM_REORG_DAILY (Refer to OSS Note 679118). This should delete stopped transactional simulations that are older than eight hours.

RIshi Menon