Skip to Content

HR_PAD_HIRE_EMPLOYEE - Employee Number

Hi,

I am using Function HR_PAD_HIRE_EMPLOYEE to hire a new employee. Everything works perfectly, except the function does not use the correct employee number range. We setup our config for the employee numbers to be internal and in the 90000000 range. But when I hire someone through the function, it starts from 1? How do I fix this?

Kind Regards

Deon

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Jan 08, 2017 at 06:43 AM

    Hi..

    Go to PA04 and change the Number range as internal, then go to feature NUMKR and change it and test. Check the function "HR_PAD_HIRE_EMPLOYEE" where logic is fectching for employee number range.

    Regards

    Vinodh L K

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 20, 2016 at 08:14 AM

    check feature NUMKR and user parameter UGR

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 04, 2017 at 10:57 AM

    I thought UGR is a field in the NUMKR structure

    it isn't, sorry

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 05, 2017 at 08:16 AM

    hi..

    Check the T.code pe03 - use NUMKR and Verify the Return value in feature , same return value number will be Checked in T.code Pa04 - NR status - Field NRLEVEL have the Current employee Number and next will be the new employee number.

    Note: Check how the logic is pulled NUMKR feature and use the same.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Vinodh,

      Our setup is as follow: The feature NUMKR basically refers everything to number range 01 which is setup as an internal number range 00000001 - 90000000. Number range 02 is setup to be external, range 90000001 - 99999999. When you use PA40, it somehow knows to use range 02 and also increments the numbers automatically for you (which is correct). However, when I process HR_PAD_HIRE_EMPLOYEE, then it uses the feature NUMKR and diverts to range 01 which is what I do not want. When I change the feature it revert to range 02, I get an error message that it is an external range, and that I should enter an employee number.. I am a bit confused :) How does PA40 then use the external number range and increment it?

      Deon

  • avatar image
    Former Member
    Jan 06, 2017 at 12:35 AM

    Hi, You should have NUMKR return value as02. then it will work. But External number range means you need to provide employee number.

    thanks,

    Sridhar

    Add comment
    10|10000 characters needed characters exceeded