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: 

Fetch actual working days

Former Member
0 Kudos

hi experts

i need to retrive the following data

1. actual working days of company

eg: toal calender years 28 or 30 or 31

company working days = total calender days in a month - day off' +public holidays.

2. actual working days of employee = actual working days of company - leaves.

this is from 2002

3. total absences = all kinds of absences as of my knowledge we can get this 2001

individually but i want to get in total.

please help me

regards

5 REPLIES 5

raymond_giuseppi
Active Contributor
0 Kudos

Look at FM <b>RKE_SELECT_FACTDAYS_FOR_PERIOD</b> for factory calendar.

For HR purpose :

<b>Absences (Infotype 2001)</b>

Definition

Absences are times when employees are not at work. Employees are absent if their planned working time, as stipulated in their work schedules, is not fully worked. Types of absences include:

• Leave

• Illness

• Health spa

• Lateness

<b>Attendances Infotype (2002)</b>

Definition

You can use the Attendances infotype (2002) to store special attendances for employees.

In the Human Resources (HR) component, you can record attendances that define or add to an employee’s monthly work schedule.

A typical attendance is a business trip. The employee is not at his or her normal workplace, but nonetheless is still working for the enterprise.

Attendances are divided into attendance

Look also at FM <b>BAPI_TIMEAVAILSCHEDULE_BUILD</b>

Regards

0 Kudos

HI EXPERTS,

I NEED THE FUNCTION MODULES TO FIND TOTAL ABSENCE DAYS

TOTAL ATTENDENCE DAYS OF AN EMPLOYEE

PLEASE HELP ME.

REGARDS

0 Kudos

Check this out..

HRWPC_RFC_EP_READ_ABSENCEDAYS

~Suresh

0 Kudos

Look at these BAPI

HRTIM00BAPIABSATT BAPIs attendances/absences
BAPI_EMPATTABS_GETDETAIL BAPI: Orginal and Derived Data from Attendances/Absences
BAPI_EMPATTABS_GETLIST BAPI: List of Attendances/Absences for Online Interface
BAPI_PTMGRATTABS_MNGCHANGE Change Attendances/Absences
BAPI_PTMGRATTABS_MNGCREATION BAPI: Creates Attendances/Absences
BAPI_PTMGRATTABS_MNGDELETE Delete Attendances/Absences
BAPI_PTMGRATTABS_MNGFROMWF Create/Change/Delete Attendances/Absences from Workflow 

Regards

0 Kudos

hi

i dont need RFC , will you please give me FM for non RFC.

Regards

adi