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

performance issue for this function-module(HR_TIM_REPORT_ABSENCE_DATA)

Former Member
0 Likes
811

Hi Friends

I am having performance issue for this function-module(HR_TIM_REPORT_ABSENCE_DATA) and one my client got over 8 thousend employees . This function-module taking forever to read the data. is there any other function-module to read the absences data IT2001 .

I did use like this .if i take out this F.M 'HR_TIM_REPORT_ABSENCE_DATA_INI' its not working other Function-module.please Suggest me .

call function 'HR_TIM_REPORT_ABSENCE_DATA_INI'

exporting "Publishing to global memory

option_string = option_s "string of sel org fields

trig_string = trig_s "string of req data

alemp_flag = sw_alemp "all employee req

infot_flag = space "split per IT neccessary

sel_modus = sw_apa

importing

org_num = fdpos_lines "number of sel org fields

tables

fieldtab = fdtab "all org fields

field_sel = fieldnametab_m. "sel org fields

To Read all infotypes from Absences type.

RP_READ_ALL_TIME_ITY PN-BEGDA PN-ENDDA.

central function unit to provide internal tables: abse orgs empl

call function 'HR_TIM_REPORT_ABSENCE_DATA'

exporting

pernr = pernr-pernr

begda = pn-begda

endda = pn-endda

IMPORTING

SUBRC = SUBRC_RTA

tables

absences = absences_01

org_fields = orgs

emp_fields = empl

REFTAB =

APLTAB =

awart_sel_p = awart_s[]

awart_sel_a = awart_s[]

abstp_sel = abstp_s[]

i0000 = p0000

i0001 = p0001

i0002 = p0002

i0007 = p0007

i2001 = p2001

i2002 = p2002

i2003 = p2003.

Thanks & Regards

Reddy

5 REPLIES 5
Read only

Former Member
0 Likes
727

guessing will not help you much, check with SE30 to get a better insight

SE30

what is the total time, what are the Top 10 in the hitlist.

Siegfried

Read only

Former Member
0 Likes
727

Cross posts:

Read only

0 Likes
727

I am sorry Rob .I didt see

Read only

0 Likes
727

Don't worry - Julius will take care of it (unless you close one of them before he does).

Rob

Read only

Former Member
0 Likes
727

Thanks Experts