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: 

How to get the current year??

Former Member
0 Kudos

Hi all,

How to get the current Year??

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

DATA: CURRENT_YEAR(4) TYPE N.

CURRENT_YEAR = SY-DATUM(4).

Max

2 REPLIES 2

Former Member
0 Kudos

Hi

DATA: CURRENT_YEAR(4) TYPE N.

CURRENT_YEAR = SY-DATUM(4).

Max

Former Member
0 Kudos

Hi,

Current Year & month are available in table MARV.

I hope this helps,

Regards

Raju Chitale