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.

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

  • 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,

  • How to get BU, Company, Group details with the help of Employee number

    Hi Friends,
    How to get information related with Employee like Business unit, Company, Business Group and other details.
    Pravin

    Yes Arul.
    I want to get these information in a custom Java webdynpro application but if you can guide me how to get these values in SAP-Hr. Can you just give me details of tables. I have Employee number(pernr) with me and want to fetch Group, Company, Business Unit.
    With rgds,
    Pravin

  • Impact on roaming profile accounts if we Change User logon Name to Employee Number format in Active Directory for all User accounts

    I want to understand if we change User logon Name to Employee Number format in Active Directory for all User accounts, then what would be the impact on existing profile. Whether we need to change it manualy or it will connect to same profiles in terminal
    session.
    As i observed it create new profile after logon name changed to employee number where existing users profile settings get fails to load and prompt for new settings (such as outlook reconfiguration, share drive mapping etc.).
    Kindly let me know the proper process to overcome with this, how to connect same existing roaming profile with employee number format change.

    Hi,
    What if we change the user name of user account, will it have impact on roaming profiles.
    Yes, it will affect roaming profiles. Please rename the roaming profile folder as the new user account name, in addition, change the profile path in ADUC.
    Here is an related article below for you:
    How to Rename a Windows 7 User Account and Related Profile Folder
    http://social.technet.microsoft.com/wiki/contents/articles/19834.how-to-rename-a-windows-7-user-account-and-related-profile-folder.aspx
    Best Regards,
    Amy

  • 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!!

  • Queries: user id and employee number ,and reponsibility and menu exclusions

    Hi,
    I have two different queries that are requested and I do not have a document to guide me in the tables relationships.
    Query 1:
    need to represent the reponsibility name asscociated with the name of menu and the functions excluded from that menu in the responsibility.
    i was only able to retrieve the reponsibility name and the menu name, i do not know what is the table that contains the menu exclusion and how can i link it to the responsibility.
    Please help, my query so far is as follows:
    SELECT DISTINCT e.application_name, a.responsibility_name
    --,a.LANGUAGE,
    --,b.responsibility_key
    , c.user_menu_name
    ,c.DESCRIPTION
    ,fme.prompt, fme.description
    ,fme.MENU_ID,frf.ACTION_ID
    FROM apps.fnd_responsibility_tl a,
    apps.fnd_responsibility b,
    apps.fnd_menus_tl c,
    apps.fnd_menus d,
    apps.fnd_application_tl e,
    apps.fnd_application f,
    apps.fnd_menus_tl apm,
    fnd_menu_entries_tl fme,
    FND_RESP_FUNCTIONS frf
    WHERE a.responsibility_id(+) = b.responsibility_id
    AND b.menu_id = c.menu_id
    AND b.menu_id = d.menu_id
    AND e.application_id = f.application_id
    AND f.application_id = b.application_id
    AND a.LANGUAGE = 'US'
    and apm.menu_id = fme.menu_id
    and fme.MENU_ID(+)=c.MENU_ID
    and b.RESPONSIBILITY_ID=frf.RESPONSIBILITY_ID
    Query 2 :
    It is required to represent the employee info associated with their associated reposnsibilities.
    i could not link the employee number to the user id.
    how can i join the two tables: fnd_user and per_all_people_f
    PLEASE HELP ME.

    Hi,
    need to represent the reponsibility name asscociated with the name of menu and the functions excluded from that menu in the responsibility.
    i was only able to retrieve the reponsibility name and the menu name, i do not know what is the table that contains the menu exclusion and how can i link it to the responsibility.See these documents.
    Note: 948512.1 - Checking Functions Associated with a User Menu or a Responsibility
    Note: 468013.1 - Code Snippet for querying responsibilities and users in 11i Applications
    Query 2 :
    It is required to represent the employee info associated with their associated reposnsibilities.
    i could not link the employee number to the user id.
    how can i join the two tables: fnd_user and per_all_people_f Refer to the following docs for the requested query.
    Note: 227103.1 - How Do I Find Person_Type Information in 11.5
    Note: 332904.1 - How to Find Employees Who Have Logged In
    Note: 332794.1 - Employee & User E-mail Syncronization
    Regards,
    Hussein

  • Partner functions (R/3- CRM) based on employee number (KNVP-PERNR) or CP

    Hi all gurus,
    I am trying to replicate an partner-function base on personnel number/employee number for customers from R/3 to CRM.
    For those partner-functions only the employee number is filled in KNVP-PERNR (the KNVP-KUNN2, KNVP-LIFNR and KNVP-PARNR are empty).
    If I follow the replication process I don't see the employee number getting mapped to the "bapimtcs structure" (in function module COM_BUPA_MWX_CREATE_REL) and therefore those partnerfunctions are not replicated to CRM.
    (all employees are entered in HR-R/3 and downloaded to CRM as business partners)
    Basically this is exatly the same situation described in the following forum:
    [Replicate partner functions (R/3->CRM) base on employee number (KNVP-PERNR)  |Replicate partner functions (R/3->CRM) base on employee number (KNVP-PERNR)]
    What (function modules/configuration) is necessary to get those partner-functions being replicated to CRM?
    Unfortunately I was pretty unable to collect valid solution track.
    Thanks in advance,
    AndreA

    Hi Andrea,
    We were able to solve the exact same issue.
    Here are steps used by us to fix the issue :
    IMG Settings in CRM :
    SPRO>CRM>Basic Functions>Partner Processing> Date Transfer>Distribution of Partner Functions from SAP ECC into CRM>
    Partner Function = VE
    Funciton = Employee  Responsible(00000014)   ( can be any other partner function which is a employee)
    Usage= CRM
    Also make sure the following settings are also done
    SPRO>CRM>Basic Functions>Partner Processing> Date Transfer-->Distribution of Partner Functions from CRM into SAP ECC
    Funciton = Employee  Responsible(00000014)
    Partner Function Cat = Employee
    Scenario = CRM
    R/3 func = VE    ( even though you are using the PE partner function in ECCwe use VE here as you know VE is the german  version of PE)
    Type = MR master record
    Also make sure that SAP Notes 1020514  and 1099363 have been applied in ECC.
    Let me know if you have any issues. This should fix it.
    Thanks
    Edited by: Venkat_30 on Dec 14, 2011 5:15 AM

  • 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

  • Function to get the employee number from the username

    Hi,
    Does anyone know the standard function in CRM to get the employee number (related to the user) giving the username?
    Thanks,
    TPT

    Hello TPT,
    BP_CENTRALPERSON_GET is the FM you need.
    Provide the username and you'll get the person_id (of the organizational mgmt), business partner guid and the employee ID.
    Hope this helps,
    Regards,
    Joost

  • Internal sales employee number range

    Dear experts,
    Under the same client in SAP system, different company codes can NOT have different Internal sales employee number ranges in the standard SAP, right? In other words, only one number range actiavtes for all the company codes as long as they are against the same client.
    Plz corret me if I'm wrong. Many thanks.
    Example:
    log on SAP - client 800
    client 800 has 2 company codes: 1001, 1002
    Request:
    sales employee under company code 1001: 10xxxxx
    sales employee under company code 1002: 20xxxxx
    ps. Currently HR module is not applied to client 800. Two years later, HR will be applied.

    Hi,
    It is possible with userexit NUM_NR_ORDER
    ask abaper to add the fields like company code
    thanks,
    Rahul

  • Sales employee number range

    Dear experts,
    Under the same client in SAP system, can different company codes have different sales employee number ranges? If yes, should I just activate the number range? You know, there's no number range assignement to company codes.
    Plz help. Many thanks.
    Example:
    log on SAP - client 800
    client 800 has 2 company codes: 1001, 1002
    Request:
    sales employee under company code 1001: 10xxxxx
    sales employee under company code 1002: 20xxxxx
    ps. Currently HR module is not applied to client 800. Two years later, HR will be applied.
    Edited by: Cathy on Sep 2, 2010 2:46 AM

    There shouldn´t been any troubles with different number range. You have to be sure that you have the different number range create in PA04 and that in feature NUMKR you asign a diferent number range to each employee subgroup. For example, if you have number range "01" for sales employees and number range "02" for the rest of employees, your feauture must be something like this:
    Numkr
       Employee Subgroup
            SE (sales employee)
              01
            else
              02
    After you activate the feature it should work ok, if everything is done correctly in PA04 and in the feature.
    If it´s not working I am not sure what could be happening.
    Hope I can help you.
    Regards,
    Edoardo

  • Reference Employee Number

    I have a scenario where an employee working in country A is being transfered to country B within a global company. While in country B, the employee history from country A needs to be tracked. If I use Reference Employee Number functionality, will running a report with the employee number in country B include the histroy in country A?

    Depends on the report, if it's standard only if it uses the PNPCE logical database will that possible.

  • Identifying Tables - Employee number field and email address field

    We need to identify specific tables for data extraction purposes. 
    The tables we need are - "employee number" tables (used in SU01) and "email address" field - (techinical info. field name - SMTP_ADDR)
    Thanks.
    Marie

    If you are looking for email addresses tied to user master records, then the table is ADR6,  you must link to this thru USR21.
    * Get email address
      clear smtp_address.
      select single adr6~smtp_addr into smtp_address
                    from usr21
                       inner join adr6
                            on  usr21~addrnumber = adr6~addrnumber
                           and  usr21~persnumber = adr6~persnumber
                                   where usr21~bname = sy-uname.
    Not sure that I've ever seen an employee number tied directly to a user in SU01.
    Regards,
    Rich Heilman

  • Function Module to find Reference Employee Number (PERNR)

    Hi All,
    Is there a FM to get employee's reference PERNR (employee number) in case employee was assigned a new employee number due to inter-company transfer or anyother reason.
    Thanks

    Class :CL_HRCCE_PERSON_READER
    You can also see the method ...
        METHOD get_other_pernr.                                                                               
    DATA l_personid TYPE personid.                                                                               
    CALL METHOD me->get_personid              
            EXPORTING                               
              p_pernr    = p_pernr                  
            RECEIVING                               
              p_personid = l_personid.              
          CALL METHOD me->get_pernr                 
            EXPORTING                               
              p_personid = l_personid               
            IMPORTING                               
              p_pernr    = p_rpernr.                
    ENDMETHOD.

Maybe you are looking for