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: 

bapi or report to show the total no of leave taken by a employee

Former Member
0 Kudos

HI EXPECTS,

I WANT A BAPI OR REPORT TO DISPLAY THE NO OF LEAVE TAKEN BY AN EMPLOYEE AND HOW MUCH LEAVE ARE LEFT FOR THE EMPLOYEE.PLEASE HELP ME IN SOLVING THE PROBLEM.

THANK U

4 REPLIES 4

Former Member
0 Kudos

Hi Rohit,

Check the FM : HR_GET_LEAVE_DATA

and BAPI : BAPI_TIMEQUOTA_GETDETAILEDLIST

Regards.

Former Member
0 Kudos

Try this Function Modules,Below Function Modules are related to get Leave data

G_LEAVE_REPORT

HR_GET_LEAVE_DATA

HR_GET_LEAVE_DATA_INIT_BUFFER

RH_MWB_EVPATH_GET_ALL_LEAVES

HR_GET_LEAVE_FEATURE

GauthamV
Active Contributor
0 Kudos

Don't use all caps in posts

You can write a simple report using PA0001,PA0416 tables for your requirement.

Former Member
0 Kudos

Hi,

Create simple report for employee leave calculation , use the info type 0005 (PA0005),and 0001 (PA0001). otherwise use the below function module.

HR_GET_LEAVE_DATA

HR_RU_GET_LEAVE

HR_DK_GET_LEAVE_DATA

HR_DK_GET_LEAVE_ENTITLEMEN

G_LEAVE_REPORT