on 11-23-2007 3:13 AM
Dear Freinds,
Could any one please give me sample code specifically for the infotype 0008, as we have to have upload data . For the wagetype and amounts are the table
control being used in infotype 0008 . Secondly i would like to know is when you are
uploading the data , if we have record in infotype 0008 we have to change the data.
Hence could any one please give me code for infotype 0008 . I studied the document that we have to use for infotype 0008 especially the funciton module HR_INFOTYPE_OPERATION. So Please any of you please give me sample code for infotype 0008.
Regards
Latha.
Hi,
Just to add, I would use the code above using HR_INFOTYPE_OPERATION before a BDC session because it is much faster then a BDC.
thanks.
Jamie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Please find the below example
data: l_f_return like bapireturn1,
l_f_empl like pernr-pernr,
l_f_mod like pspar-actio,
l_f_sty like p0001-subty value '0'.
l_f_empl = pernr-pernr.
l_f_mod = 'INS'.
clear : l_f_return.
call function 'BAPI_EMPLOYEET_ENQUEUE'
exporting
number = pernr-pernr
validitybegin = sy-datum.
call function 'HR_INFOTYPE_OPERATION'
exporting
infty = '0008'
subtype = l_f_sty
number = l_f_empl
validityend = g_f_p0008-endda " enddate
validitybegin = g_f_p0008-begda " begind date
record = g_f_p0008 " g_f_p0008 like P0008
operation = l_f_mod
importing
return = l_f_return
key = personaldatakey
exceptions
others = 0.
commit work.
call function 'BAPI_EMPLOYEET_DEQUEUE'
exporting
number = pernr-pernr
validitybegin = sy-datum.
Reward if helps.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try tr create a BDC recording in SHDB for entering IT8 through PA30.
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.