cancel
Showing results for 
Search instead for 
Did you mean: 

Commonly used macros in SNP

Former Member
0 Kudos

Hi,

Can somebody refer me the commonly used macros in SNP?

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi visu

are you talking about the macros in addition to the ones in the standard SNP book?

i normally create the macros if there is a business requirement

some that come up are

to mark holidays with a different color or

to have months with a different number of working days colored differently or

to change the logic of the days of supply

to do some calculations based on the location/ material or to pop up messages

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Harish

was just goin through ur reply...I was just curious to know how do we mark the holidays using macros..it would be of grt help...thanks in advance

Regards

Vinay

Former Member
0 Kudos

Hi Vinay

One example would be to use the macro function BUCKET_WDAYS() which returns the number of workdays in a bucket (based on the calendar). So if you have daily buckets and the above macro returns 0 it must be a non-workday, though this assumes that any non-working day is a holiday!

Regards

Ian

Former Member
0 Kudos

Hi Ian..

Thanks for the reply.

Regards

Vinay