Application Development and Automation 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: 
Read only

date after adding few days

Former Member
0 Likes
1,146

i want date after adding few days to it.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,113

Hi

u have to shedule the job

SE36 and set ur program after three days.

regards:

Prabu

12 REPLIES 12
Read only

Former Member
0 Likes
1,113

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

Read only

Former Member
0 Likes
1,114

Hi

u have to shedule the job

SE36 and set ur program after three days.

regards:

Prabu

Read only

0 Likes
1,113

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?

Read only

Former Member
0 Likes
1,113

Hi,

data:

W_date type d.

W_date = w_date + 10.

in w_date u can find the date after 10 days.

Regards.

Manjari.

Read only

Former Member
0 Likes
1,113

Something like...

data: new_date type datum.

new_date = sy-datum + 10.

Darren

Read only

Former Member
0 Likes
1,113

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

Read only

Former Member
0 Likes
1,113

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.

Read only

Former Member
0 Likes
1,113

use FM DATE_IN_FUTURE

Read only

Former Member
0 Likes
1,113

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.

Read only

0 Likes
1,113

thank u all

Read only

Former Member
0 Likes
1,113

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

Read only

Former Member
0 Likes
1,113

thank u