Skip to Content

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

function module for date

hi experts,

i want a function module thats gives me the date 30 days back cpmpareing system date...

can u please suggest me on that...

thx.

Rajan

points ll be rewarded ...

Tags:
Former Member
Former Member replied

Hi

Why you need a fun module for this

simply substract 30 days from date

data: date1 like sy-datum, date2 like sy-datum.

date2 = date1 - 30.

date2 will give you the required date

Regards

Anji

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