on 04-28-2006 8:45 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your help. I have assinged you points.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.