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

error in conversion

Former Member
0 Likes
483

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.

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
458

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.

2 REPLIES 2
Read only

amit_khare
Active Contributor
0 Likes
459

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.

Read only

Former Member
0 Likes
458

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