Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

About HR infotype 0024, How to use the function moudle:RHPP_Q_PROFILE_WRITE

Former Member
0 Kudos
686

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Kudos
425

Hi,

Use FM:- BAPI_QUALIPROF_CHANGE.

3 REPLIES 3
Read only

Former Member
0 Kudos
426

Hi,

Use FM:- BAPI_QUALIPROF_CHANGE.

Read only

0 Kudos
425

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.

Read only

Former Member
0 Kudos
425

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