Skip to Content

The macro attempted to modify a key figure that is not locked


In my planning area I choosen detailed lock, keyfigure specific lock and do not lock read only keyfig after that In interactive DP, I have 2 Planning Books A and B .when I load the selection for book A itu2019s loaded well because all are editable key fig but when I load book B I get error u201CThe macro attempted to modify a key figure that is not lockedu201D in this book 3are editable keyfig 3 are display. I am in SAP SCM 7.0,I had seen the SAP NOTE 851731but its too old i think now iam in advanced that that but that note is not there in my system .

Any ideas on why this is happening?



Edited by: sivaram2411 on Feb 3, 2012 1:52 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Feb 06, 2012 at 02:47 PM


    According to your setting in the palnning area ("do not lock read-only key figures"), if you have set a key figure as "Output Only" in /sapapo/mc8b or by a default macro, then this key figure could not get locked.

    It is not allowed to make changes to unlocked key figures. So if there's a macro that tries to update this key figure, you'll get the error message.

    If you have "do not lock read-only key figures" set, you must make sure that your macros do not make changes to those key figures that are output only (read only).

    Best Regards,


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.