cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to understand the logic of macro

former_member343632
Participant
0 Kudos

Hi Experts,

I am learning macro in APO DP and got confused with the logic in one of the macros.

I am trying to know what does Area mean in the macro?

I am attaching the sample macro ...

Please explain me.

Thanks in advance

Regards,

Prabhat

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Prabhat

Area is mathematical function which gets used in APO macro.

When you defined Area, you also require provide the date range. Area will sum all the values defined with date range and provide this information to next step defined in the macro. So in you example you are calculating the sum of Total demand defined within the number range.

Please also find below the details about different APO macro functions. I hope this information will help you.

Operators and Functions in Macros - Planning Area Administration - SAP Library

Thanks

Amol

Answers (2)

Answers (2)

Sasi2005
Contributor
0 Kudos

Hi Prabhat,

I would agree with Ada, this is a SNP macro to calculate Days supply value. Not sure why that logic understand is required from a DP perspective.

Regards

Sasi

former_member187488
Active Contributor
0 Kudos

Hi,

Area means an area of cells -- not a whole row, not a whole column ...
The macro you mentioned is an SNP macro which calculates days of supply.
If you do not work on SNP, no need to understand this maybe ...

Best Regards,
Ada