2009 Aug 04 1:18 AM
Hi All,
The requirement for me is to read the payroll data and change few fields and save the data back to cluster. Is it possible? What should be my steps in the program?
Appreciate your time.
Thanks.
2009 Aug 04 7:33 AM
Hi,
Following is the FM to read data from B2 cluster
CALL FUNCTION 'HR_FORMS_TIM_GET_B2_RESULTS'
EXPORTING
pernr = pernr-pernr
begda = g_edate2
endda = g_edate
IMPORTING
tim_b2 = ls_tim_b2
EXCEPTIONS
wrong_cluster_version = 1
no_read_authority = 2
cluster_archived = 3
technical_error = 4
OTHERS = 5.To update the data try FM 'HR_INFOTYPE_OPERATION' .
Regards
Milan
Hi All,
The requirement for me is to read the payroll data and change few fields and save the data back to cluster. Is it possible? What should be my steps in the program?
Appreciate your time.
Thanks.
2009 Aug 04 7:33 AM
Hi,
Following is the FM to read data from B2 cluster
CALL FUNCTION 'HR_FORMS_TIM_GET_B2_RESULTS'
EXPORTING
pernr = pernr-pernr
begda = g_edate2
endda = g_edate
IMPORTING
tim_b2 = ls_tim_b2
EXCEPTIONS
wrong_cluster_version = 1
no_read_authority = 2
cluster_archived = 3
technical_error = 4
OTHERS = 5.To update the data try FM 'HR_INFOTYPE_OPERATION' .
Regards
Milan
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |