05-08-2006 3:23 PM
I am trying to add a qualification (relationship type A032) to table HRP1001. A BDC program is not an option so I need to update the table in some other way - perhaps by using a suitable function module.
Does anyone have any advice on the best way to do this?
Thankyou.
05-08-2006 3:39 PM
Try FM 'HR_INFOTYPE_OPERATION'. Example:
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = p2006-infty
number = pernr-pernr
subtype = p2006-subty
validityend = p2006-endda
validitybegin = p2006-begda
record = p2006
operation = 'MOD'
nocommit = 'X'
IMPORTING
return = l_return
key = l_key.
05-08-2006 3:39 PM
Try FM 'HR_INFOTYPE_OPERATION'. Example:
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = p2006-infty
number = pernr-pernr
subtype = p2006-subty
validityend = p2006-endda
validitybegin = p2006-begda
record = p2006
operation = 'MOD'
nocommit = 'X'
IMPORTING
return = l_return
key = l_key.
05-08-2006 3:43 PM
Check out FM "RH_CHECK_POSITION_FOR_UPDATE"
OR
Why dont you write own program which insert values in HRP1001?
Hope thisll give you idea!!
<b>P.S award the points.!!! !!!</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise"