2010 Oct 01 8:26 AM
Hi Guys,
I had try to create an LSMW for loading qualification , proficiency for infotype 0024 using recording method , but it does not work for me due the search help in recording .
Now I had planned to load the records with some other method . can any help me or suggest me any BAPI or direct input methods available for this infotype 0024 .
Appreciate you help in this .thanks in advance .
Regards,
Veera
2010 Oct 01 8:37 AM
2010 Oct 01 9:06 AM
Try using the BAPI "BAPI_QUALIPROF_CHANGE''.
Sample code...
DATA: ls_24 TYPE bapiqualific_tab.
DATA: itab_24 LIKE STANDARD TABLE OF ls_24.
DATA : itab_del LIKE STANDARD TABLE OF ls_24,
itab_chan LIKE STANDARD TABLE OF ls_24.
DATA:return1 TYPE bapireturn1.
ls_24-obj_id = '90000932' .
ls_24-begda = '20100401'.
ls_24-endda = '20100830' .
Is_24-rating = '0001' .
APPEND ls_24 TO itab_24 .
CLEAR ls_24.
***
CALL FUNCTION 'BAPI_QUALIPROF_CHANGE'
EXPORTING
plvar = '01'
otype = 'P' "Person
sobid = '100' " Employee no#
IMPORTING
return = return1
TABLES
profile_add = itab_24
profile_delete = itab_del
change_profile = itab_chan.
IF return1-type <> 'E'.
WRITE 'Qualif Added' .
COMMIT WORK.
ELSE.
WRITE:'failed'.
ENDIF.
Cheers,
Krishna Kishore
2010 Oct 01 9:31 AM
Hi ,
Is there any BAPI used to create .I guess the BAPI which you have mentions is for change.
Regards,
Veera
2010 Oct 01 11:32 AM
Please have a look at the Documentation!!
It is clearly stating that it can be used for CREATE,DELETE & CHANGE the Qualification records.
Please see below Documentation..
FU BAPI_QUALIPROF_CHANGE
____________________________________________________
Short Text
Create, delete, and change qualifications profile
Functionality
You use this method to edit the Qualifications subprofile of the selected planning object in the period specified.
This enables you to:
Add any new qualifications that a person has attained (including the proficiencies of these qualifications) to the person's qualifications profilen
Change the proficiencies of existing qualifications
Delete qualifications from a person's qualifications profile
Notes
Settings in Customizing determine which object types can have a Qualifications subprofile. For more information, refer to the IMG steps Maintain Relationships and Define Profile View.
Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.
Authorizations
Related Methods
Further information
For more information, refer to the R/3 Library (Personnel Development -> Qualifications and Requirements -> Profiles).
Edited by: krishna kishore on Oct 1, 2010 4:27 PM