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

hi

Former Member
0 Likes
446

Hi

I have a requirement to get a date which is 30 business days

ahead the current date i.e I have to add 30 business days

to current date.

Regards.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
426

Hi,

Use BKK_ADD_WORKINGDAY

See the sample below.

CALL FUNCTION 'BKK_ADD_WORKINGDAY'

EXPORTING

i_date = sy-datum

i_days = 30

i_calendar1 = ‘99’

  • I_CALENDAR2 =

IMPORTING

e_date = date_out

  • E_RETURN =

.

I have used factory calendar 99 which is a general business calendar. You can use one acc to your requirement.

Regards,

Gaurav.

Hi

I have a requirement to get a date which is 30 business days

ahead the current date i.e I have to add 30 business days

to current date.

Regards.

2 REPLIES 2
Read only

Former Member
0 Likes
427

Hi,

Use BKK_ADD_WORKINGDAY

See the sample below.

CALL FUNCTION 'BKK_ADD_WORKINGDAY'

EXPORTING

i_date = sy-datum

i_days = 30

i_calendar1 = ‘99’

  • I_CALENDAR2 =

IMPORTING

e_date = date_out

  • E_RETURN =

.

I have used factory calendar 99 which is a general business calendar. You can use one acc to your requirement.

Regards,

Gaurav.

Read only

Former Member
0 Likes
426

Hi,

Try this,

call function 'RP_CALC_DATE_IN_INTERVAL'

exporting

date = sy-datum

days = 3

months = 0

signum = '+'

years = 0

importing

calc_date = wa_date.

write: / wa_date.

Regards,

Padmam.