cancel
Showing results for 
Search instead for 
Did you mean: 

Macro logic

gurucharanscm
Contributor
0 Kudos

Hi Experts, Can you please let me know what will be the output of the below two snippets of the DP macro?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

rajkj
Active Contributor
0 Kudos
  • FISCAL_BDATE returns the bucket starting date value as a whole number with reference to 0001/01/01 based on the specified time bucket and fiscal period variant. Similarly, FISCAL_EDATE returns a whole number that of bucket end date.
  • Average of these two values should give you a value representing  the mid bucket approx.
  • Month macro function returns the month of the mid bucket date value as a number for instance, March as 3.

Pl check the following link for details.

http://help.sap.com/saphelp_SCM700_ehp02/helpdata/en/1d/310eb0d0ee11d4b2e40050da385632/frameset.htm

Thanks,
Rajesh

Answers (0)