cancel
Showing results for 
Search instead for 
Did you mean: 

HR_INFOTYPE_OPERATION Question

Former Member
0 Kudos

Hi Gurus,

I have read in the forums that the Function Module HR_INFOTYPE_OPERATION gets invoked when an Inbound IDoc is posted. I would appreciate if somebody could confirm.

Thanks.

Regards,

bw_newbie

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Use PNP logical database to start with then try to to debug this program and see why this program works.The solution is for the earlier question u have posted my bad I did not realize that

infotypes : 0002.

tables :pernr.

  • return structure

data: rec_return type bapiret1. "return code

start-of-selection.

get pernr.

rp-provide-from-last p0002 space sy-datum sy-datum.

p0002-nachn = 'test'.

call function 'BAPI_EMPLOYEE_ENQUEUE'

exporting

number = p0002-pernr

importing

return = rec_return.

call function 'HR_INFOTYPE_OPERATION'

exporting

infty = '0002'

number = p0002-pernr

subtype = p0002-subty

objectid = p0002-objps

recordnumber = p0002-seqnr

validityend = p0002-endda

validitybegin = p0002-begda

record = p0002

operation = 'MOD'

*tclas = ''

*lockindicator = p0002-sprps

*nocommit = ' '

importing

return = rec_return.

call function 'BAPI_EMPLOYEE_DEQUEUE'

exporting

number = p0002-pernr

importing

return = rec_return.

end-of-selection.

Regards

Vick

Message was edited by: vick vennav

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for your help. I have assinged you points.

Former Member
0 Kudos

Hello,

The bottom part of might help you.

Regards,

Ahmad