Skip to Content

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

urgent: date calculation!

experts,

i have question regarding date calculations.

how can i compute l_date where l_date = three days after the present date?

do i have to use a function module for this? if yes, what function module?

thank you so much...

Tags:
Former Member
Former Member replied

Hi see this,

parameters input_date type sy-datum.

data output_date type sy-datum.

CALL FUNCTION <b>'RP_CALC_DATE_IN_INTERVAL'</b>

EXPORTING

date = input_date

<b>days = 3</b>

months = '00'

<b>signum = '+'</b>

years = '00'

IMPORTING

calc_date = output_date.

write : 'Output DATE', output_date.

Hope ur problem is solved now.

<b>Reward points if useful</b>

Thanks & Regards

ilesh 24x7

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question