Skip to Content
avatar image
Former Member

Steps to generate Alert macros in APO

Hi APO expert,

I am very new to macros in APO, I want to defined one macro on urgent basis.

Logic is I want to trigger an alert for certain order categories for period.

This period is defined in extra tab of product master.

Can you guide me for step by step generation of this macro.

Thanks in advance!!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    May 02, 2012 at 01:48 PM

    Hi Rushikesh,

    Pl check the following procedure to define an alert macro.

    1. Create a macro (to save time, you can copy the alert macro from any standard macro book or check the following screenshot).

    2. Use macro function to retrieve the period

    If the extra field is maintained at location product master

    MATLOC_EXTRA(n ; ACT_PRODUCT ; ACT_LOCATION ; ACT_VERSION ) //for numeric value

    MATLOC_EXTRA_C (n ; ACT_PRODUCT ; ACT_LOCATION ; ACT_VERSION ) //for non-numerics

    or at product master level

    MAT_EXTRA(n ; ACT_PRODUCT ; ACT_VERSION )

    3. Build your logic to trigger alert. (I did not understand what do you mean by order category.. so helpless here)

    4. Complete the macro implementation and activate it

    5. Execute it in interactive planning and test the result

    6. If the requirement is met, you can setup a background job

    I hope it will be useful to you.

    Thanks,

    Rajesh


    pastedImage_0.png (21.7 kB)
    Add comment
    10|10000 characters needed characters exceeded