2010 Sep 11 7:22 PM
Hi,
I want to make a program to upload infotype 45.
please let me know how to do that, i want to use hr_infotype_operation FM.
Regards
Manu
Hi,
I want to make a program to upload infotype 45.
please let me know how to do that, i want to use hr_infotype_operation FM.
Regards
Manu
2010 Sep 11 8:30 PM
Hello Manu
For infotype 0045 you will need to make to callings of the FM HR_INFOTYPE_OPERATION, because there´s a link between the Loans ( IT 0045 ) and The Loan Payments ( 0078 ).
This is an example of how to call this FM
CLEAR p0045.
p0045-pernr = pernr.
p0045-subty = subty.
p0045-begda = begda.
p0045-endda = endda.
p0045-darbt = darbt.
p0045-dkond = dkond.
p0045-tilbt = tilbt.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '0045'
number = pernr
subtype = subty
record = p0045
operation = create
nocommit = nocommit
IMPORTING
return = return
key = bapikey
EXCEPTIONS
OTHERS = 0.
Do the same with the IT 0078, and do not forget to enqueue the employee before these operations using the FM
BAPI_EMPLOYEE_ENQUEUE and use the FM BAPI_EMPLOYEE_DEQUEUE after the operations.
Hope it helps
Kleber Santos
2010 Sep 12 6:30 AM
HI,thanks for the reply.
in infotype 45, there is data of infotyppe 78.
so i cannot call these two infotypes separately,
hope this help u understand my problem
Regards
Manu
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |