2009 Oct 08 10:45 AM
Hi:
About HR infotype 0024,As qualification data goes to the OM Infotypes, How to use the function moudle:RHPP_Q_PROFILE_WRITE?
thank you.
2009 Oct 08 10:55 AM
2009 Oct 08 10:55 AM
2009 Oct 08 12:30 PM
thank you and the 'BAPI_QUALIPROF_CHANGE' can wok.
DATA:it_profile_add TYPE bapiqualific_tab OCCURS 0 WITH HEADER LINE,
it_profile_delete TYPE bapiqualific_tab OCCURS 0 WITH HEADER LINE,
it_return TYPE bapireturn1 OCCURS 0 WITH HEADER LINE.
it_profile_add-obj_id = '20000116'. "Q ID
it_profile_add-rating = '0001'. "精通程度
APPEND it_profile_add.
CALL FUNCTION 'BAPI_QUALIPROF_CHANGE'
EXPORTING
plvar = '01'
otype = 'AP' "申请者
sobid = '00000170' "PERNR NUMBER
IMPORTING
return = it_return
TABLES
profile_add = it_profile_add
profile_delete = it_profile_delete
ERR_PROFILE =
CHANGE_PROFILE =
.
READ TABLE it_return WITH KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE 'FAILED' TYPE 'I'.
ELSE.
MESSAGE 'SUCCESS' TYPE 'I'.
ENDIF.
2009 Oct 08 1:25 PM
Hi,
In Infotype 0024, the function module RHPP_Q_PROFILE_WRITE is used to get the details from the HRP tables and display them in the Infotype. For eg, it retrieves the languages learnt, levels and other details for that person and displays them on the infotype screen.
Thanks,
Harini