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

Function Module to calculate age

Former Member
0 Likes
8,092

Hi Abapers,

Kindly suggest some function module which can calculate age of a person by taking date of birth till date.

Thanks in advance,

Radhika

5 REPLIES 5
Read only

Former Member
0 Likes
2,680

Hi Radhika,

There is a function module which should solve your problem. It is a typical HR related function module called "HR_AUPBS_AGE" you need to pass the personnel/employee number and the date till which you want to calculated the age.

Please award points if you find it helpful.

Read only

Former Member
0 Likes
2,680

It's Works perfect!

Thanks Satish.

Read only

AnoopMayamkote
Participant
0 Likes
2,680

HR_ECM_CALC_AGE

Read only

Former Member
0 Likes
2,680

This is perfect but what type of changes we can do for

Fetch NOYRS by passing BEGDA EQ PA0002-BEGDA and ENDDA EQ SY-DATUM in FM :HRCM_TIME_PERIOD_CALCULATE

this is my requirement. I am unable to fetch data. Please guide me about this.

Read only

sveabecker
Product and Topic Expert
Product and Topic Expert
0 Likes
2,680

Dear raval.hely as this question has already a best answer accepted, please ask a new question if you need further help. This question will be closed.

Regards, Svea

SAP Community Global Moderator


----- Stay up-to-date with SAP Community and subscribe to What's New today! -----