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: 

HR report

former_member1109645
Participant
0 Kudos

i ve a tast to develop a report in HR module to list the employees who have taken leaves for three days in a row , plz help me how to begin?

1 ACCEPTED SOLUTION

p291102
Active Contributor
0 Kudos

HI,

Go through this below link. Hope it helps to u.

http://www.sap-img.com/abap/sample-hr-reports-allocate-petrol-allowance.htm

Thanks,

Shankar

4 REPLIES 4

p291102
Active Contributor
0 Kudos

HI,

Go through this below link. Hope it helps to u.

http://www.sap-img.com/abap/sample-hr-reports-allocate-petrol-allowance.htm

Thanks,

Shankar

suresh_datti
Active Contributor
0 Kudos

Employee Absences are recorded in Infotype 2001. Write your report by reading this infotype for all employees.

~Suresh

Former Member
0 Kudos

Hello, Kannan.

One of the following is what you need in order to watch the absences you like:

1. SELECT * FROM pa2001 INTO TABLE get_2001

WHERE pernr IN s_pernr AND

begda <= p_date AND

endda >= p_date.

2. CALL FUNCTION 'HR_READ_INFOTYPE'

EXPORTING

TCLAS = 'A'

PERNR = P_PERNR

INFTY = '2001'

BEGDA = P_BEGDA

ENDDA = P_ENDDA

TABLES

INFTY_TAB = GT_2001.

Plz reward if it helps you,

R.R

raymond_giuseppi
Active Contributor
0 Kudos

Look at report RPTENT00

Extract of <a href="http://help.sap.com/saphelp_46c/helpdata/en/35/b09272906b0f32e10000009b38f9b8/frameset.htm">Time recording for multiple persons and infotypes</a>

<u> </u>

Time Recording for Multiple Persons and Infotypes

In some branches of industry, employees planned and actual working times can fluctuate, which makes it necessary for working times to be recorded manually. In order to support this activity as much as possible, the report RPTENT00 has a new data entry screen that enables time recording for multiple persons and infotypes. You can use this report to record several infotypes for several employees at the same time. Not all types of data can be recorded using this report. If you want to record more complex time data, you should use the standard transactions for maintaining time data or fast entry.

Time data recorded using this report is stored in the R/3 System as:

Absences in the Absences infotype (2001), including quota deduction

Attendances in the Attendances infotype (2002)

Substitutions in the Substitutions infotype (2003)

Employee remuneration information in the EE Remuneration Info infotype (2010)

Control information for time evaluation and time balance revisions in the Time Balance Revisions infotype (2012)

Step-by-step procedure

1.Start the report RPTENT00

2.Select the persons and time period, and determine various options and default values on the report selection screen

3.Execute the report

4.The system displays the existing time data for the persons and days selected on the display screen. Enter, change or delete the time data on the entry screen

5.Save the data

6.The system displays a log with any system message that occurred when the data was posted

7.Use the standard transactions for maintaining time data or fast entry to postprocess the incorrect records (error handling)

Selection screen for report RPTENT00

On the selection screen you can use the following functions to select the data to be processed:

1.You can use selection options from the logical database PNP and additional report-specific selection according to the work schedule rule and the employees' time management status to select the persons and processing period.

2.You can choose the data recording view (day or person view) and entry mode (display or maintain mode).

3.You can select the infotypes to be processed or displayed (any infotypes you have not selected are hidden during processing). You can choose up to four time balance revisions as checkboxes.

4.You can specify various default values (Absence or attendance type, substitution type or times).

You can store the selection screen as a variant that can be called at any time.

Selection options from the logical database PNP

You can use the standard selection options of the logical database PNP.

If no time interval is specified, the report uses the current week (Monday through Sunday) as the default.

Report-specific selection

In addition to the selection options of the logical database PNP, selections can be made according to the employees' work schedule rule and time management status.

Time data recording

<u> </u>

Regards