Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

get the last 12 months usage

Hi Team,

i have a requirement like that i want to display date from last 12 months .

suppose based on sy-datum i want to range the date between (last 12 months date from sy-datum and sy-datum)

if user put the sy-daum like 13.05.2009 , the output comes 13.05.2008.

is there any function module ober there . please me know.

Thanks in Advance.


Former Member
Former Member replied

Would DateAdd(m, -12, CurrentDate) be what you're looking for?

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question