Skip to Content
avatar image
Former Member

Macro to clear values for a key figure for one product on detail level

Hi Experts

I am looking the key figure at detail level for 5 products and I wanted to put 0 in one of the product.

I am not able to find out the macro which ll help me in doing the same.

Regards

Hitesh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 21, 2009 at 04:48 AM

    Hi Hitesh,

    You need to be little more clear about the issue, becuase deleting data is varies from DP to SNP keyfigures.

    if it is a DP keyfigure, we can write a macro to make the keyfigure as ZERO, and to make the same at detail level you need choose the aggregation when you generate background job for macro, in Mass processing.

    and you can create a temp'ry selection profile for the 5 materials to satisfy your requirement and use the same in mass processing

    If it is SNP keyfigure, you can not make the same with macro, we have specific transaction codes to delete the live cache orders. if it is SNP order, just let me know what keyfigure it is? if i am able to find the Tcode i can suggest you .

    Hope this information will help you

    Yarala

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Sorry Hitesh,

      apparently i do not have any ...

      But are you not able to find the standard macros from Dev system?

      Please ref to 9AEXAMPLE planning book which is made for standard macros, there will be few other plannign books also ... please check

      Yarala

  • avatar image
    Former Member
    Jul 21, 2009 at 02:40 PM

    Hi,

    Why don't you use transaction /SAPAPO/TSCOPY - Copy/Version Management to copy 0 from one KF to another KF.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 11, 2009 at 12:23 PM

    still working on

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Hitesh

      sorry for late answer (holidays)

      If you are in background you should not use drill drown (this is for interactive only)

      In background you can automaticallly select the aggregation level you want.

      So you need 2 differents macros: one for interactive, one for background... The background one is a simpler version of the first.

      I hope it helps

      Julien