2007 Jul 10 6:37 AM
hi experts
cud u plz tell me is der any function module with the help of which we can populate the infotype table from our own customized database table against a particular wage type.....plz let me know....
2007 Jul 10 6:39 AM
Hi
check the fun module
HR_INFOTYPE_OPERATION
use the operation = INS or MOD to insert records or modify records.
<b>Reward points for useful Answers</b>
Regards
Anji
2007 Jul 10 6:39 AM
Hi
check the fun module
HR_INFOTYPE_OPERATION
use the operation = INS or MOD to insert records or modify records.
<b>Reward points for useful Answers</b>
Regards
Anji
2007 Jul 10 6:42 AM
Hi,
This is a Function Module .......
used to upload that data into tables.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '0002'
NUMBER = EMPLOYEENUMBER
VALIDITYEND = VALIDITYEND
VALIDITYBEGIN = VALIDITYBEGIN
RECORD = P0002
OPERATION = CREATE
NOCOMMIT = NOCOMMIT
IMPORTING
RETURN = RETURN
KEY = PERSONALDATAKEY
EXCEPTIONS
OTHERS = 0.
Regards,
Padmam.
2007 Jul 10 6:46 AM
Hi,
take a look at the function module RP_ANSAL_FROM_WAGETYPES.
HR_INFOTYPE_OPERATION
<b>Reward points</b>
Regards
2007 Jul 10 7:05 AM
Hi,
check out the following program it might help you
tables:pernr.
infotypes:0021,0106.
data: rec_p0021 type p0021,
rec_q0106 type q0106,
rec_p0106 type p0106.
data w_return type bapireturn1.
start-of-selection.
get pernr.
read table p0106 index 1.
rec_p0106 = p0106.
rec_p0106-stras = '2235 Burns Rd'.
read table p0021 index 1.
rec_p0021 = p0021.
rec_p0021-favor = 'test-639111'.
Enqueue personnel number
call function 'BAPI_EMPLOYEE_ENQUEUE'
exporting
number = pernr-pernr
importing
return = w_return.
call function 'HR_INFOTYPE_OPERATION'
exporting
infty = '0021'
number = pernr-pernr
subtype = '2'
record = rec_p0021
validityend = P0021-ENDDA
validitybegin = P0021-BEGDA
operation = 'MOD'
dialog_mode = '2'
view_identifier = '07'
secondary_record = rec_p0106
importing
return = w_return.
end-of-selection.
***************please reward points if the information is helpful to you****************
2007 Jul 18 7:46 AM