Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

date after adding few days

Former Member
0 Kudos

i want date after adding few days to it.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

u have to shedule the job

SE36 and set ur program after three days.

regards:

Prabu

12 REPLIES 12

Former Member
0 Kudos

Hi,

First of all how many days offset are you looking for ?

Just do this way :

Data : w_date type sy-datum.

w_date = sy-datum + Number of Days.

Regards,

Pramod

Former Member
0 Kudos

Hi

u have to shedule the job

SE36 and set ur program after three days.

regards:

Prabu

0 Kudos

Question

>

i want date after adding few days to it.

Answer:

>

> Hi

>

> u have to shedule the job

>

> SE36 and set ur program after three days.

>

>

> regards:

> Prabu

You can read minds?

Former Member
0 Kudos

Hi,

data:

W_date type d.

W_date = w_date + 10.

in w_date u can find the date after 10 days.

Regards.

Manjari.

Former Member
0 Kudos

Something like...

data: new_date type datum.

new_date = sy-datum + 10.

Darren

Former Member
0 Kudos

Hi,

data: date type sy-datum.

date = sy-datum + 360(you can add your days).

You can also Try FMs

HR_SEN_CALE_DAYS_DATE

WDKAL_DATE_ADD_FKDAYS

Regards,

Omkaram.

Edited by: Omkaram Yanamala on Oct 10, 2008 4:28 PM

Former Member
0 Kudos

Hi,

use following FM

call function 'RP_CALC_DATE_IN_INTERVAL'
         exporting
              date      = sy-datum
              days      = 10
              months    = 0
              signum    = '+'
              years     = 0
         importing
              calc_date = wa_date....

write: / wa_date.

Regards.

Eshwar.

Former Member
0 Kudos

use FM DATE_IN_FUTURE

Former Member
0 Kudos

hi,

use the following function module:

call function 'RP_CALC_DATE_IN_INTERVAL'

exporting

date = sy-datum

days = 10

months = 0

signum = '+'

years = 0

importing

calc_date = wa_date.

0 Kudos

thank u all

Former Member
0 Kudos

Use FM BKK_ADD_WORKINGDAY if you need to consider only working days by factory calendar.

Former Member
0 Kudos

thank u