"Person already hired" error for new hire form
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.
Glen Anthony replied
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.