cancel
Showing results for 
Search instead for 
Did you mean: 

Macro result not populating in keyfigure

former_member332160
Participant
0 Kudos

Hi Expert,

Macros are not working correctly in planning book (SAP System version 3.0)

when i am running the below macro coresponding result is not populating in keyfigure.

Please provide input on this.

Accepted Solutions (0)

Answers (2)

Answers (2)

RahulHanda
Active Contributor
0 Kudos

Hi Jeet

Your macro is correct and it should give you values assuming your version this might be one of the factors but still check below:

  • Have you defined it as default macro?
  • When you see in planning book, it should be on detailed level i.e. material & location, then only it will show you value. Drill down to lowest level material and location.

Let me know what's the case.

Regards

Rahul

former_member332160
Participant
0 Kudos

Hi Rahul,

Thanks for replay!!!

This macro present under all three level- Start, default, and directly executed macro.

RahulHanda
Active Contributor
0 Kudos

Hi Jeet,

What about the other question?

Also check whether key figure is quantity/number type key figure but not a date/time as an example.

Check in operator/function whether this function is valid for your version being quite old. Double click on operator/function and check in Copy From whether you have MATLOC or not.

Regards

Rahul

former_member332160
Participant
0 Kudos

Please find the screen shot of planning book.

RahulHanda
Active Contributor
0 Kudos

Jeet

How are you loading data? Could you try this way (considering this planning book could load at product and location level):

  • Open planning book in new session with this planning book.
  • Click selection window, select APO Location Product (INTERN_MATLO) in header.
  • Put one material and location as filter which contains this value in product master.
  • Load the same into planning book and check results.

Plus you have not replied above questions i.e.

  • Also check whether key figure is quantity/number type key figure but not a date/time as an example in RSA1.
  • Check in operator/function whether this function is valid for your version being quite old. Double click on operator/function and check in Copy From whether you have MATLOC

Please share complete information and let us know what's the case.

Regards

Rahul

Former Member
0 Kudos

Hi Jeet,

Can you share more information on your issue.

Does the macro works fine earlier and you're not seeing the data now ?

Did you changed or updated PA Time series, KFs?

Did you changed/updated PB / Dataview ?

Did you changed/updated the macro ?

Did any Planned/unplanned resources (Servers, LC etc) happened.?

You can try the following and execute the macro again interactively.

Run consistency check on respective PA.

Reactivating all the macro for the PB in /sapapo/advm.

Regards

Vinoth