cancel
Showing results for 
Search instead for 
Did you mean: 

"Person already hired" error for new hire form

Former Member
0 Kudos

Hi There,

We are currently having problems with a form that is supposed to create a new hire.

The form runs without a start object so no Personnel Number is initially provided, however I have linked the PERNR field in the form to infotype 0000 and used the SAP_PA service default value settings to set the personnel number to the next value in the number range that we are using.

For the most basic update, all required fields for infotype 0000 and 0001 have been completed, however when the form is checked we receive the error "Person already hired"

Is there a specific reason why this error is occurring, this error does not appear when we try and create a new hire manually with the next personnel number in the number range.

Any help would be greatly appreciated.

Thanks,

Tom

Accepted Solutions (1)

Accepted Solutions (1)

former_member201275
Active Contributor
0 Kudos

Remove IT0000 from SAP_PA -> Infotypes and Operations and just make use of the pre-defined MASSN, MASSG and etc for for Process and Form.

You get this message because MASSN and MASSG are populated by your operation, wheras they should be updated with the appropriate values when they are passed from the form.

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Guys,

Thanks for the answers, the error was occurring because Infotype 0000 was included in the SAP_PA service.

Removing this and using the predefined MASSN and MASSG fields to create the 0000 Infotype entry allowed a new hire to be created successfully in the backend.

Thanks again,

Tom

leelamohan_kavali
Active Contributor
0 Kudos

Dear Tom,

Is it PA30 issue or some other issue..? Because when I've seen your screen shot it seems totally different.

Ur's Mohan

Former Member
0 Kudos

Hi Tom,

Can you please check the note 1546592 if this is any help.

Thanks,

Sriram

Former Member
0 Kudos

Dear Tom,

Please check the following:

1. Number range settings for Personnel Number

2. Check the Form logic that whether it generates the personnel number which is already been used in the existing number range.

Thanks

Manish