We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE: [sap-abap] Date calculation (add months and years to a date and get the result in date format)

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by shurasap (Sr. Programmer Analyst)
on Dec 21 at 4:59 PM
Hi,

Take a look on FM 'MONTH_PLUS_DETERMINE' or 'SEPA_MANDATE_ADD_MONTH_TO_DATE' using something like N_Years*12 + M_Months.

HTH, Stan

---------------Original Message---------------
From: immersap
Sent: Tuesday, December 21, 2010 4:48 PM
Subject: Date calculation (add months and years to a date and get the result in date format)

Dear forum users,
I need to know a way (FM or whatever) how to add years and months to a date (Type sy-datum / d) so that I get a a new date.
For example:
01.01.2000 + (10 years +2 months) = 01.03.2010 <<< That`s what has to come out
Background: In my program the beginning date is given and then there are time specifications made in months and years.
Thank`s in advance

__.____._
Copyright © 2010 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Mark as helpful
View this online
  
Most Popular White Papers

In the Spotlight
Which response to your Toolbox.com Groups post was the most helpful? Use 'Best Answer' to mark highest quality content.
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language