Skip to Content

different employee code for different company

HI team ,

there is one situation we have 2 company A and B , if we transferred employee from A to B , then how can we recognize by just looking employee number .

Thanks

Tarun

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Aug 15, 2016 at 01:44 PM

    You can not change pers no; it is a key. Only new no's can be assigned based on comp code. It can be achieved by the personnel number assignment ranges, with the steps below.

    Note if the range depends on comp.code, then the pers number assignment happens when you complete IT 1 entry in hiring action and save the record; the pers.no assigned is available for display in the next infotype screen that is configured for the hiring pers.action. Usually this is IT 2; it depends on your installation configuration.

    1. Pers Number range: In txn PA04

    1.1 It is required to return a number in the NUMKR feature for which the range can be deleted in txn PA04. Hence it is better to display the number range first and correspondingly return a new number if the existing decision tree does not have company code to decide the number returned. See below.

    :

    1.2 Select change Intervals icon. It shows the current number range for each Number returned from the feature NUMKR (field NRNR), corresponding pers no.range, the column NR status being the last assigned pers number (which is sequentially assigned in hiring action), check box Ext ticked if it is for external assignment. The new numbering range needs to ensure that the last number already assigned is still consistent for the new range.

    If there is already a pers no last assigned for a range (as shown in NR Status), you can not delete nor change the line. If NR Status is zero or not filled, you can delete the line.

    Ensure following lines, assuming

    mmmm0000 to mmmm9999 is the range for comp aaaa and

    nnnn0000 to nnnn9999 is the range for comp bbbb

    rrrr0000 to rrrr9999 for external assignment (tick Ext checkbox)

    No From No. To No. NR Status Ext

    01 mmmm0000 mmmm9999 xxxxxxxx

    02 nnnn0000 nnnn9999 yyyyyyyy

    91 rrrr0000 rrrr9999 x

    Save it in a transport request; it is preferable to use same request in step 2.

    For example, the last number assigned is say 22335566 in the first range, and there are 2 ranges, then delete the line with no last number assigned.

    Your HR dept may want for comp A, range 30000000 to 59999999 and for comp B, range 40000000 to 79999999; and next range for external assignment. Or you may want to have gaps for future companies.

    The number range needs to be planned with your HR dept's SME (Subject Matter Expert).

    1.3 Navigate to Interval->Free Interval to show intervals not used

    2. Feature NUMKR changes:

    In txn PE03, enter feature name NUMKR;

    2.1 Structure changes:

    2.1.1 Select decision tree; press change. It shows the current decision tree.

    2.1.2 Navigate Go to -> Structure. The structure used for the feature is PME01 as per SAP standard, unless your implementation has changed it.

    2.1.3 The fields highlighted are set as active and can be used in the decision tree.

    2.1.4 If company code(structure field BUKRS) is not highlighted, select the field; then save in a transport request.

    2.1.5 It goes to the decision tree. Press Activate button. You can activate in the main PE03 screen also.

    Now you can use company code in decision tree.

    2.2. Decision tree

    2.2.1 Go back to PE03 screen. In change mode, go to the decision tree, change it as in the example below assuming the two company codes are aaaa, bbbb - these would not the actual comp.codes. You can change the feature when you have more companies.

    D BUKRS

    aaaa &NUMKR=01,

    bbbb &NUMKR=02,

    If existing company code has already been used in the decision tree, you need to comment out existing lines, since you'd not be able to change the range in PA04 if the last number is filled and not zero.

    2.2.2 Save the changes and activate.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 15, 2016 at 01:39 PM

    You can't if the employee keeps his/her employee number, but you should be able to differenciate by the Company Code or the Personnel Area.

    If you opt for a Number Range that is different for Company A than for Company B, you will then be able to "recognize by just looking employee number", but you would not be able to "transfer" the employee from Company A to Company B.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.