‎2007 Oct 16 6:22 AM
Hi all,
I am trying to insert the data in custiom infotype.
for insertion i am using the following function
HR_INFOTYPE_OPERATION.
EXPORTING
infty = '9044'
number = INT_P9044-PERNR
SUBTYPE = INT_P9044-SUBTY
OBJECTID = int_p9044-OBJPS
LOCKINDICATOR = int_p9044-SPRPS
VALIDITYEND = INT_P9044-ENDDA
VALIDITYBEGIN = INT_P9044-BEGDA
RECORDNUMBER = INT_P9044-SEQNR
record = INT_P9044
operation = 'INSS'
TCLAS = 'A'
DIALOG_MODE = '0'
NOCOMMIT = 'X'
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
RETURN = INT_RETURN_9044
KEY =
.
but it is giving error num: 001.
message is : Personnel number not yet assigned
what is the solution for this.
thanking u.
with regards,
giri.
‎2007 Oct 16 6:28 AM
Are you calling it from portals???
If yes then check the Enddate IT0105 subtype 001 of the employee and the ENDDA you are passing.
Else, check the Enddate IT0001 of the employee and the ENDDA you are passing.
Regards,
Amit
Reward all helpful replies.
‎2007 Oct 16 6:28 AM
Are you calling it from portals???
If yes then check the Enddate IT0105 subtype 001 of the employee and the ENDDA you are passing.
Else, check the Enddate IT0001 of the employee and the ENDDA you are passing.
Regards,
Amit
Reward all helpful replies.
‎2007 Oct 16 6:33 AM
Hi
check the field
operation = 'INSS'
It is just
operation =<b> 'INS'</b> only
correct it and see
and since it is custom infotype check all the parameters correctly
Regards
Anji