Update Employee Number

Hi to All
I have a question regarding employee number updating. Situation is some thing like this:
I introduced a new employee in a system assigning him employee number e.g. *0001*. I haven't defined any assignment yet. Now after a week I required to change employee number from *0001* to *0100*. Is it possible if this employee number haven't referenced any forward.
Regards
Majid

You can change the employee number, never change the person_id. Apply the same logic that we use for Business group transfers or Global deployment.

Similar Messages

  • Structural authorization - creation of employee number

    Hello Experts,
    We are facing an issue with strutural authorization in creation of employee number,
    I have tested without assigning stuctural authorization and it process the hiring action and generates the employee number
    (Hiring action is carried through the adobe form which inturn calls the ABAP Function module),
    for the same user if i assign Strctural profile with Function module RH_GET_MANAGER_ASSIGNMENT ( User is assigned to an employee who is Chief ) the hiring action which has to happen through adobe form is not happening and when we check in the program it is throwing an error as Failed strutural authorizations.
    I checked whether the employee which has to generate lies within the organization unit of the manager ( who is chief) and it does lies with in the same org unit.
    can you please help me in analysing why the employee is not getting gereating though the user is having proper HR authorizations and Strutural authorization assigned.

    Hi.
    After 2½ days of frustration I finally nailed this.
    Function group RHAC, that handles the authority checks, initially buffers a table called VIEW containing all objects available for the user. As stated earlier in this conversation, SAP handles creation of relations in HRP1001 (links PA and OM). At this point the new employee number is appended to buffered table VIEW in function group RHAC.
    When execution the PA40 activity through CALL TRANSACTION, the creation of the relations are not handled - and the same goes for updating the buffered table VIEW. The table can be updated using the function module RH_VIEW_ENTRY_INSERT from the same fundtion group:
    This example might be useful
      data: ls_view_entry type hrview,
            ls_related_object type hrobject.
      ls_view_entry-plvar = '01'.
      ls_view_entry-otype = 'P'.
      ls_view_entry-objid = lv_pernr.
      ls_view_entry-begda = '18000101'.
      ls_view_entry-endda = '99991231'.
      ls_view_entry-maint = 'X'.
      ls_related_object-plvar = '01'.
      ls_related_object-otype = 'S'.
      ls_related_object-objid = lv_ny_objid.
      call function 'RH_VIEW_ENTRY_INSERT'
        exporting
          view_entry     = ls_view_entry
          related_object = ls_related_object.
    Best regards
    Poul Steen Hansen
    Senior Technical Consultant
    EDB Consulting Group A/S, Denmark

  • Structural authorization - creation of employee number in webdynpro or abap

    Hello Experts,
    We are facing some problems with the combination of structural authorizations and the creation of a new employee.
    When we use PA40 to create a new employee this does not give any problem.
    In the webdynpro we first execute a call transaction PA40 to apply infotype 0000 and 0001. This works well.
    Except that the call transaction does not set the connection between PA and OM. (so we did program this ourselves)
    In PO13 and the table HRP1001 the same relations are made as when we use PA40 in the sap gui.
    After this we do call transactions PA30 for the next infotypes.
    When we check the SU53 it gives a message: problems with structural authorizations object P (with the employeenumber) starting at 01.01.1800, enddate is empty.
    The employee is manager and connected with his userid in infotype 0105.
    We use in the structural profile the function module  RH_GET_MANAGER_ASSIGNMENT
    We checked with transaction HRHAUTH.
    User has been adjusted to the tables T77UA etc.
    We do not use workflow in this webdynpro
    We used the trace function when this was executed, but it did not give more information about missing structural authorizations.
    This issue was before on SDN (Structural authorization - creation of employee number) but unfortunally there was no solution there for the issue!
    Hope one of you can help me to find the solution!
    With kind regards,
    Rita Mensink

    Hi.
    After 2½ days of frustration I finally nailed this.
    Function group RHAC, that handles the authority checks, initially buffers a table called VIEW containing all objects available for the user. As stated earlier in this conversation, SAP handles creation of relations in HRP1001 (links PA and OM). At this point the new employee number is appended to buffered table VIEW in function group RHAC.
    When execution the PA40 activity through CALL TRANSACTION, the creation of the relations are not handled - and the same goes for updating the buffered table VIEW. The table can be updated using the function module RH_VIEW_ENTRY_INSERT from the same fundtion group:
    This example might be useful
      data: ls_view_entry type hrview,
            ls_related_object type hrobject.
      ls_view_entry-plvar = '01'.
      ls_view_entry-otype = 'P'.
      ls_view_entry-objid = lv_pernr.
      ls_view_entry-begda = '18000101'.
      ls_view_entry-endda = '99991231'.
      ls_view_entry-maint = 'X'.
      ls_related_object-plvar = '01'.
      ls_related_object-otype = 'S'.
      ls_related_object-objid = lv_ny_objid.
      call function 'RH_VIEW_ENTRY_INSERT'
        exporting
          view_entry     = ls_view_entry
          related_object = ls_related_object.
    Best regards
    Poul Steen Hansen
    Senior Technical Consultant
    EDB Consulting Group A/S, Denmark

  • How to Create an Custom Employee Number Generation ...

    Dear Friends,
    We are Implementing HRMS Suite Version12i, for one of the Client in Middle east.
    One question about Custom Person Numbering.
    How to create custom employee numbering Based on the User Person Type?
    Example:
    Two person types
    o Permanent Employee
    o Probationary employees
    We Need to give two different numbering schemes for each person type.
    eg Permanent Employee will use a seq begin 100000 whereas Probationary employees (other user type) will use a sequence beginning 200000.. Can any pls let me know how to handle the Custom Employee Number Generation (with Setups)
    With regards
    Swpana

    Hi,
    Could you please help me to write/or send a sample of a Person Number Generation Formula.
    I don't see the noteid : 279458.1 on metalink,I get the following message:
    Article or Bug cannot be displayed. Possible reasons are:
    The article Id or bug number was entered incorrectly. Please check and try again.
    The article Id or bug number does not exist (was referenced incorrectly).
    The article or bug is not classified as publicly accessible ("non-public").
    The content is being updated and it is temporarily unavailable but will be made available again soon.
    If you still have questions about why you could not access this article or bug, please use Feedback.
    Please help!!

  • Custom Employee Number Generation Using Fast Formulas

    Hi,
    I have a requirement to generate custom employee numbers like "EMP100001". we have already created a business group with the setting of Employee number generation as Automatic. but we need to generate custom employee number as Format given above instead of automatic number generation.
    I have created my own PL/SQL Package to generate custom employee number as per Person Type. Also created a Fast Formula Function with the following parameters -
    Name = Get_Custom_Number
    Data Type = Text
    Class = External Funtion
    Alias Name = NULL or what you want the alias to be
    Description = Returns the next custom number value
    Definition = CUSTOM_EMP_NUMBER_GENERATION.Get_Custom_Number (PL/SQL Function)
    Proving the following Context usages and Parameters details to the Fast Formula Function -
    Context usages:-
    Number = 1
    Context Name = BUSINESS_GROUP_ID
    Data Type = Number
    Parameters as defined in PL/SQL function
    1 p_legislation_code Text Input Only
    2 p_person_type Text Input Only
    3 p_person_number Text Input Only
    4 p_party_id Number Input Only
    5 p_person_id Number Input Only
    6 p_national_id Text Input Only
    7 p_date_of_birth Date Input Only
    Than i created a Fast Formula using the following navigation
    Total Compensation > Basic > Write Formula
    with following details -
    Name = EMP_NUMBER_GENERATION
    Type = Person Number Generation
    Description = Returns next Employee number
    and wrote my formula code.
    When i created a Employee from Enter and Maintain People screen it is showing automatic number instead of my custom employee number.
    I m not able to find where i m missing the logic or some parameters?
    If anyone has come across such situation, please provide some pointers here.
    Thanks
    Renu

    What is the application release?
    Please review these docs and see if it helps.
    Is it Possible to Update Generate Employee Number Method From Automatic to Manual? [ID 393827.1]
    Need To Change The Employee Numbering From Automatic To Manual [ID 291634.1]
    Unable to Switch From Auto to Manual for Employee Number Generation in Shared Hr [ID 452044.1]
    How to Prefix a Zero on Custom Employee Numbers [ID 822425.1]
    How To Implement Custom Person Numbering Using FastFormula Based on User Person Type Instead of System Person Type [ID 372696.1]
    Thanks,
    Hussein

  • To update Employee Data with Function module

    Hi
    CRM employee master and HR employee master need to be mapped
    for the labor cost posting function to work.
    In BP transaction (Change in BP role : Employee),
    I could update "Personnel number" and "User Name"
    under Identification Tab
    now I need to do same job with Function module in report program.
    Anybody knows that what Function module should I use ?
    I tryed to do it with Function "CRMXIF_PARTNER_SAVE"
    but I only succesed to update imformations under Adress tab in BP transaction.
    thank you.

    Use FM BAPI_BUPA_CREATE_FROM_DATA.
    Rg,
    Harshit

  • Employee Number Not generated

    Hi All,
    I have an issue .Please share ur knowledge in it and help me solve it .
    I am creating employee with api hr_employee_api.create_employee ,then I do all other api calls like address , assignment ,assignment criteria and finally insert salary proposal .
    The whole piece of PL/SQL code containing the api is called from a Wokflow function .
    The issue is for few employees created Employee number is not being populated in per_all_people_f .(Out of 4000 employees created via that code 5 employees dont have their employee number)
    Employee number generation is automatic as per our settings .
    Expecting a solution from u all .Thanks u

    Hi vee,
    Thanks soon after the alteration according to the page process given by you i can able to insert a new image corresponding to an employee_number..
    But vee, in my table i have taken employee_number has a primary key column as i doesnt allow duplication......so for that i have altered the page process to the below......
    declare
    l_count number(25);
    begin
    select count(*) into l_count
    from a_images2
    where employee_number = :P2_EMPLOYEE_NUMBER;
    if l_count = 0 and :P2_BLOB_CONTENT IS NOT NULL
    THEN
    INSERT INTO A_IMAGES2 (EMPLOYEE_NUMBER, FILE_NAME, BLOB_CONTENT, MIME_TYPE)
    SELECT :APP_USER,FILENAME, BLOB_CONTENT, MIME_TYPE
    FROM APEX_APPLICATION_FILES WHERE NAME = :P2_BLOB_CONTENT;
    DELETE FROM APEX_APPLICATION_FILES WHERE NAME = :P2_BLOB_CONTENT;
    elsif
    l_count=1 and :P2_BLOB_CONTENT IS NOT NULL
    then
    update a_images2
    set BLOB_CONTENT=:P2_BLOB_CONTENT
    where employee_number=:P2_EMPLOYEE_NUMBER;
    END IF;
    COMMIT;
    END;so, for what logic i have framed the above process means,
    Suppose if a employee wants to upload his photo for the first time means, he needs to insert newly into the table....For that i performed insertion into the table in the above query......If an employee needs to update his photo means, he needs to update for that i used update statement in the above query.......
    I guess there is no any mistake in my above page process..........
    if i tried to update a photo using the above page process query means, it is returning the error like........
    ORA-01465: invalid hex numberi couldnt guess what might be the issue over here....
    Whether my above page process logic is right, vee............
    incase any mistakes, point it out vee.......
    Thanks
    Mini...

  • Employee Number

    Hi All,
    i am working in oracle HRMS, there is one requirement for the generation of employee number. requirement is to generate the employee number base of custom logic. employee number should contain prefix of department/organization e.g (HR001).
    is form customiztion only way to achevie this or any other wayout, like fast formula.

    I think you have some issues.
    - First you enter the person (and hence an employee number must be generated somehow), and then you enter the assignment, including the organization. So you will need to update the employee number.
    - How you want to handle the fact that an employee can change organization or department? You gonna change the employee number then? I hope not.

  • Custom  Employee Number

    Dear Gurus
    As we are implementing HRMS, client needs the employee number should be generated automatically. There are two types of employee, one type of employee number should be A1000 & other should be B1000. I have given the employee number generation as manual in the BG setup. and added a personalization with the below code.
    Condition : PERSON.D_PTU_USER_PERSON_TYPE= 'Employee'
    Value 
    = select 'A' || (nvl(max(to_number(substr(employee_number,2))),999)+1)
    from per_all_people_f
    where EMPLOYEE_NUMBER like 'A%'
    and business_group_id = 81
    One more point, i want to include that, iRecruitment module going to be implemented. so applicants can be hired as employee. Will it make any problem.
    Please share your experience about this process.

    What is the application release?
    Please review these docs and see if it helps.
    Is it Possible to Update Generate Employee Number Method From Automatic to Manual? [ID 393827.1]
    Need To Change The Employee Numbering From Automatic To Manual [ID 291634.1]
    Unable to Switch From Auto to Manual for Employee Number Generation in Shared Hr [ID 452044.1]
    How to Prefix a Zero on Custom Employee Numbers [ID 822425.1]
    How To Implement Custom Person Numbering Using FastFormula Based on User Person Type Instead of System Person Type [ID 372696.1]
    Thanks,
    Hussein

  • Trusted recon populating manager ID based on manager employee number

    Hi,
    I am doing a trusted recon using GTC connector against HR database. The matching key is the employee number. In the HR data I don't have the manager ID instead, I have manager employee number. During the account creation process, I would like to fetch the manager account ID and populate it. I also have to do the same during the update process as well (if the manager changes, I need to do an update).
    Please let me know how can I accomplish this?
    Thank you very much

    Do it as following:
    - Create a UDF Manager Employee Number in OIM UDF.
    - map your HR field with this UDF, so after reconciliation is completed this UDF has the value of Manager Employee Number
    - Write a Task Scheduler which does the following:
    a) Read all the OIM users for the UDF=Manager Employee Number
    b) On the basis of this UDF it extracts the USR_KEY for the manager
    c) Update the users one by one using OIM API'S for the manager information extracted.
    That's the standard practice for linking User-to-Manager.
    For Updates:
    - Attach a process task like Change User Manager Employee Number to the Xellerate User process.
    - Take the new value of the UDF and again do the same steps as told above to update the use for its new manager.
    - Do this in an adapter task with java code.
    - Attach this adapter to the process task of first step.
    Thanks
    Sunny

  • Employee number generation process

    Hi All
    Please guide me how to change an employee number generation process which is already set as automatic to manual and vice-e-versa ?
    Please help.

    Welcome to the forums !
    Pl post details of OS, database and EBS versions. Pl see if these MOS Docs can help
    How to Change Employee Numbering from Manual to Automatic?          (Doc ID 292257.1)
    Is it Possible to Update Generate Employee Number Method From Automatic to Manual?          (Doc ID 393827.1)
    Unable to Switch From Auto to Manual for Employee Number Generation in Shared Hr          (Doc ID 452044.1)
    How to control automatic employee numbering?          (Doc ID 473065.1)
    Need To Change The Employee Numbering From Automatic To Manual          (Doc ID 291634.1)
    More information will be available in the HR Implementation Guides for your EBS version at http://www.oracle.com/technetwork/documentation/applications-167706.html
    HTH
    Srini

  • How To Update Personnel Number in BP Transaction

    Hi all,
    I need to update personnel number for BP role Employee in BP transaction. But I am not able to do it.
    <b>It's in Identification Tab
    Employee Data Window
    Personnel Number : Need to populate
    User Id : Need to populate</b>
    Kindly help me with relevant example.
    Thanks,
    Pradeep

    Hi Pradeep
    The personnal number will be populated from ECC to CRM.
    The same will be created in HR module and then populated thru ALE to CRM.
    Provide me with your email id, i will mail you the document to help you for the same
    Regards,
    Rekha Dadwal
    <b>You gain a point for every point that you reward. So reward helpful answers generously</b>
    Message was edited by:
            Rekha Dadwal

  • I am trying to update a number of items which the software check brings up:      It runs and says it is installing but at the end I get this error message:    The update could not be expanded, and may have been corrupted during downloading. The update wil

    Hi,
    I am trying to update a number of items which the software check brings up:
    It runs and says it is installing but at the end I get this error message:
    BUT then I ge tthis:
    Can anyone help me to enable the software to update?
    Thanks

    Thanks.  Something isn't right as I just tried to download the iphoto update - it said it had competed the download but then when I clicked on the download item I get this:
    Think will have to take it into the store.....
    thanks for replying.

  • Automatic update of number ranges in FBN1 is not getting processed

    Automatic update of number ranges in FBN1 (current status) level is not getting processed.
    Tried posting a customer payment document in the system though number ranges are maintained for the year 2015 the number ranges are not overlapped last year all documents are closed but still the numbers are not been picked automatically in FBN1 kindly help in this issue

    Hello Rajesh
    Please verify if number ranges are maintained correctly, verify same using transaction OBA7. Also ensure that external assignment is unchecked in FBN1. Share screenshots if possible.
    Regards
    Aniket

  • Same Employee Number two Vendor Codes

    Hi All
    I created an employee as vendor by linking his personnel number in FK01 but when I tried to create the another vendor with same employee number the system is allowing me to do so. Am i missing any config or is it a standard process in SAP to allow to vendor codes for one employee number.
    Expecting your replies.
    Regards
    Rajaram

    Hi,
    yes why should this be not possible? Normally you cretae the "employee" vendors e.g. for the travel management with TC: PRAA, so just think the case  one employee is working in company code A (assigned to personell area A) he gets paid his travel expenses through the vendor account in cc A, then the employee moves to another company e.g B in assigned to  Personell Area B then he gets paid on his vendor account cretaed in cc b but stil has the same employee number.
    I hope this help a little bit to explaing why it should be possible to allow this,
    Regards,

Maybe you are looking for