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

decrease 13 month from sy-datum

Former Member
0 Likes
1,043

Hi,

there is simple way to decrease 13 month from sy-datum?

Regards

1 ACCEPTED SOLUTION
Read only

JozsefSzikszai
Active Contributor
0 Likes
981

hi Tal,

you can use FM CALCULATE_DATE. For the months parameter you have to enter -13 (minus thirteen), the date you give in system format (YYYYMMDD)

hope this helps

ec

Hi,

there is simple way to decrease 13 month from sy-datum?

Regards

5 REPLIES 5
Read only

JozsefSzikszai
Active Contributor
0 Likes
982

hi Tal,

you can use FM CALCULATE_DATE. For the months parameter you have to enter -13 (minus thirteen), the date you give in system format (YYYYMMDD)

hope this helps

ec

Read only

0 Likes
981

Hi Eric

i put

month -13

date 20.03.2008

i get : 00190220

what is wrong?

Regards

Read only

0 Likes
981

hi

Sorry ignore

Regards

Read only

0 Likes
981

I already told!

"the date you give in system format (YYYYMMDD)"

for today: 20080320

Read only

0 Likes
981

hi,

you can use this FM also, /SAPHT/DRM_CALC_DATE

-somesh

  • reward if it is helpful