2008 Nov 26 8:51 AM
Hi
I would like to know if there is a function module I can use to insert applicant qualifications data into HRP1001.
Hi
I would like to know if there is a function module I can use to insert applicant qualifications data into HRP1001.
2008 Nov 26 9:12 AM
Hi
You can use FM RH_INSERT_INFTY_1001_EXT to insert entries in HRP1001.For other HRPXXXX tables, use the FM RH_INSERT_INFTY. This transaction is for inserting Infotype 1039.
hope this helps
regards
Aakash Banga
2008 Nov 26 9:22 AM
Do you have example code using function module 'RH_INSERT_INFTY_1001_EXT' I am not sure what input to supply for import parameters.
2008 Nov 26 9:24 AM
2008 Dec 01 4:13 PM
This should add a qualification to an employee.
data: ls_hrsobid type hrsobid,
lst_profile type hrpe_relaq.
data: lv_pernr type persno.
lv_pernr = '1234'.
call function 'HRWPC_MAP_PERNR_TO_HRSOBID'
exporting
pernr = lv_pernr
PLVAR =
importing
hrsobid = ls_hrsobid
exceptions
internal_error = 1
others = 2.
lst_profile-ttype = 'Q'. "Qualification
lst_profile-tbjid = '50046562'.
lst_profile-sbegd = sy-datum.
lst_profile-sendd = '99991231'.
lst_profile-vbegd = sy-datum.
lst_profile-vendd = '99991231'.
lst_profile-istat = '1'. "planning status
append lst_profile to lt_profile.
call function 'RHPP_Q_PROFILE_WRITE'
exporting
plvar = ls_hrsobid-plvar
otype = ls_hrsobid-otype
objid = ls_hrsobid-sobid
VTASK = 'D'
tables
profile = lt_profile
ERR_PROFILE =
CHANGE_PROFILE =
exceptions
no_authority = 1
error_during_insert = 2
wrong_otype = 3
object_not_found = 4
object_required = 5
no_scale_defined = 6
scale_not_clear = 7
time_not_valid = 8
proficiency_not_valid = 9
wrong_date_format = 10
undefined = 11
others = 12
.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |