cancel
Showing results for 
Search instead for 
Did you mean: 

hr_infotype_operation not updating the records in infotye 0008

Former Member
0 Kudos

hi all,

i am using hr_infotype_operation to update IT0008 but it is not updating the infotype 0008 though every thing is correct and there is no

error massage in RETURN parameter of FM hr_infotype_operation .

thanks for your help.

please find how i have used the FM below.

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

infty = cc_0008

number = wa_p0008-pernr

subtype = wa_p0008-subty

  • OBJECTID =

  • LOCKINDICATOR =

validityend = wa_p0008-endda

validitybegin = wa_p0008-begda

  • RECORDNUMBER =

record = lt_p0008 "wa_p0008

operation = 'INS'

  • tclas = 'A'

dialog_mode = '2'

  • nocommit = 'X'

  • VIEW_IDENTIFIER =

  • SECONDARY_RECORD =

IMPORTING

return = return

  • KEY =

.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

thnks guy but i got the solution onmy own

Former Member
0 Kudos

Hi ,

I am facing the same problem, can you tell me how you solved the problem ?

Former Member
0 Kudos

hi,

You can use hr_maintain_masterdata infotype to update any infotype. Like this 0008 infotype also u can update.

Otherwise if you want to use hr_infotype_operation, just put it in bapi_employee_enquue and bapi_employee_dequue fm. Then you will get it.

regards,

sekhar.

0 Kudos

You may want to lock the ee's record prior to calling this function. I had to do this before or it would complain that the record is not locked.

Rgds.

Former Member
0 Kudos

Hi Anuj,

Use the FM : BAPI_BASICPAY_CREATE.

It will be useful.

Regards,

N.L.Narayana.

former_member206403
Active Contributor
0 Kudos

hi may be you will have to depend on a bdc or lsmw for that

Regards

sameer