Skip to Content
author's profile photo Former Member
Former Member

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

Hi Guyz,

We have implemented Key Figure Specific Locking functionality in demand Planning.Now we are getting a problem when executing some macros which will change attributes of rows conditionally.

Actually we trying to change the properties of rows through macro, then it is giving the following message.

The following error message is coming whenever executing.

<b>

"The macro attempted to modify a key figure that is not locked".</b>

Please somebody help me in this issue as i was hit badly with this issue.

Thanks in advance.

Regards,

Jagadeesh.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2006 at 11:21 PM

    Hi Jagadeesh,

    Can you post here the a pseudo code of your macro here?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 08, 2007 at 05:56 AM

    I am also getting this error when trying to update Key Figures using macros. My macro is very simple

    Adjusted Sales Orders = Sales Orders + Sales Order Adjustments.

    Any help would be greatly appreciated. Does anyone have a solution for this problem?

    Thanks

    Lachlan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      In general you can change the Read-Only/Change attribute of a key figure by using a macro. However, this is not possible if you want to change a read-only key figure of a planning area for which there is no active key figure specific lock and in which the read-only key figures are not locked.

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.