Skip to Content
0
Former Member
Jul 01, 2007 at 06:01 PM

help with hr function

11 Views

hallow

i have to a log for pa and in table fields i have the fields that have change

lets say i have lot of employee and i wont to take one employee and check if hire

(massn = a1 ) what is the best way to take employee and bring all the field yhat change for him?

regards

CALL FUNCTION 'HREIC_GET_LOGGED_INFTY_CHANGES'

EXPORTING

is_log_key = is_log_key

IMPORTING

et_infty_modif = et_infty_modif.

SORT et_infty_modif BY pernr bdate btime infty.

LOOP AT et_infty_modif INTO wa_et_infty_modif.

CALL FUNCTION 'HR_INFOTYPE_LOG_GET_DETAIL'

EXPORTING

logged_infotype = wa_et_infty_modif

auth_check = 'X'

use_archive = ' '

TABLES

infty_tab_before = infty_tab_before

infty_tab_after = infty_tab_after

fields = fields.

endloop.