Skip to Content
avatar image
Former Member

Can APO macro use variables for iteration (From Period, To Period)?

Hello experts,

We need to determine the number of frozen month based on production horizon from product master. Is there any standard SNP function to accomplish this or we have to write a BAPI to do it? Once we got the number of frozen month, we want to use it to determine the From Period for macro iteration. Can this be done?

Thanks for your help

Phuoc Hoang

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 30, 2014 at 08:56 AM

    Hi Phuoc,

    I can only guess what the frozen month is your case but for a start you should be able to get the production horizon using either of the following 2 functions that pull out numerical values from product master. I filtered these from my personal pivoted excel sheet on macro functions

    MAT()

    MATLOC()

    How to make the start date of your macro iteration conditional on above value less current bucket start or end date is something that I too wish to know. You might like to write your own FM and use it as a macro function.

    This might help you.

    Thanks

    BS.

    Add comment
    10|10000 characters needed characters exceeded