Check on repetition of employee names during hiring

Hi All,
Could anyone please guide me on how to keep a check on repetition of employee names during the hiring process? i.e whenever the administrator enters a person's name during personal data maintenance, it should throw an error if the same name already exists in the employee database. and the system should prompt a number to be prefixed after the name to make it unique.
I suppose this is to be done with an ABAP development... but could anybody guide me as to what tables etc to refer to atleast??

Hi,
  You can achieve this by using the user exits -EXIT_SAPFP50M_001 and EXIT_SAPFP50M_002.
In this exit,you can compare with the table(pa0002) name .If exits,throw an information message and pass prefered name to the screen. 
Reward points if Helpful.
Regards,
Manoj.

Similar Messages

  • Employee group have been wrongly assigned during Hiring in PA40

    Dear Guru,
    I have one scenario where an employee; employee group have been wrongly assigned during Hiring PA40. The user has entered and assigned the employee group as Contract - Local instead of Contract - Foreigner in the Employee group field.
    Please advice how to change and rectify this incident.
    Thanks & Regards,
    Wai Cheng - Yokota

    Dear Guru,
    Many thanks for all your advice.
    I have use PA41 Transaction code to make the correction. However, I noted that the wrongly assigned Employee group remains unchanged in PA30 HR Master data.
    Hence, I decided to use PA40 Hiring Action to make the correction by selecting Position/Band Change field. After save the correction in Copy Actions screen, it will lead you to Copy Organizational Assignment and save your entries. There will be a message appear at the bottom in regards to the position. Just click next arrow icon and click yes.
    Go to PA30 HR Master data again, to verify that the correction and noted that it has change.
    Regards,
    Wai Cheng - Yokota

  • Holder-Position relationship not created during hiring in PA40

    Hi,
    I have an issue right now where the holder-position relationship was not created when I hired a new employee thru PA40. We could correct this via RHINTE00. However, we would like to know first before we run the program on what could be the probable cause why the relationship was not created. All infotype records of the employee were added successfully in the system, it is only the SP relationship in HRP1001 that was not created during hiring. I'm  still trying to replicate it to find the probable cause but still no luck. It only occurred once (quite rare). Since we can't replicate it, may we know when or how the relationship will not be created?
    Your response will be greatly appreciated. Thank you very much.
    Regards,
    Angelo

    Hi Venkatesh, thanks for the reply.
    Yes, the PLOGI - ORGA switch is set to X

  • BADI name during SAVE after creating or changing a material in MM01and MM02

    Hi gurus,
    Please refer me BADI name during SAVE after creating or changing a material in MM01and MM02.
    Whenever a user changes or creates a meterial ,I want the BADI name at that point.Exit name or Enhancement point will also suffice.Please help..

    Hi,
    Enhancement: MGA00001
    Function module Exit : EXIT_SAPLMGMU_001 Enhancements for Material Master Tables
    BADI_MATERIAL_CHECK  Enhanced Checks for Material Master Tables
    BAPI_MATERIAL_SAVEDATA Create and Change Material Master Data

  • LSO_MSS Manage Participation Employee Name is missing

    Helo All,
    I am facing a strange problem in LSO.
    When Manager access the Manage Participation iview, Under Direct Reportees, we could see Object Type as P, Position and Org Unit.
    But Employee name is missing. Instead of Name  dot(.) is displayed.
    I checked his roles and authorisataions. everything looks ok for me, and i also checked with other managers login, all others are able to see name of the employee.
    That will be great, if you can provide me your inputs.
    Thanks
    Gita

    Please check SAP Notes
    1431991
    1457145
    Please also check if in SE80 > Wb dyn. component (FPM_GAF_COMPONENT)
    LSO_MANAGE_PARTICIPANTS Book Participant
    >  LSO_MANAGE_PARTICIPANTS_MGR Book Participant   (Test this)
    Test from this place. Can you see all the options here.
    Best Regards
    Chetan

  • How to get check number for the employee's paycheck

    Hello
    Anyone can advise on how to get the check number for an employee's pacheck
    I got employee first name,last name,GROSS salary,Tax Info,and NET salary.I need the CHECK NUMBER.
    please advise
    thanks
    kp
    Edited by: user8612301 on Dec 16, 2010 1:26 PM

    Hi,
    Or are you looking for this:
    SELECT serial_number, paaf.assignment_number
    FROM pay_assignment_actions paa, per_all_assignments_f paaf
    WHERE action_status = 'C'
    AND paaf.assignment_id = paa.assignment_id
    AND serial_number IS NOT NULL
    AND SYSDATE BETWEEN paaf.effective_start_date AND paaf.effective_end_date;
    - Viky
    Edited by: Viky on Dec 17, 2010 11:42 AM

  • CAN'T Update Server name during login (since I have changed computer name)

    I had a working environment of SAP BO 8.8 installation (VM), I made a second copy for a someone who needs to change his server name so we don't collide with each other.  So he changed his server name fine and now when we try to change the name during login in SAP BO, we are completely unable to do anything, no company or database shows up and when you try typing server name it won't allow you since it is a drop down, the only availble server name is the old server name.
    We went to Service Manager, got a new license key for the hardware key, update fine as well as updating the server name there but when we try login, we are not able and no matter what we do we are not able to change the server name.  Please help, it is getting desperate (tried all things possible).
    Thanks

    In working VM copy, do a global search for the server name in all configuration files in SAP install directory.  Then compare with copied copy and try to change appropriate names in all files.
    Changing server name is a complex process, it has many references in many configuration files that you may have to touch.
    This will be an uphill battle. Goodluck.
    Lots of other things you can do, ping by hotname, check hostfile in case vm is also using it, there are two types of vm installs network or self contained (something like that) - so hostname may be getting masked by vm network environment, definitely SAP has few configuration files where the Server name, db name, license server name, port etc are present, even check for firewall settings etc.

  • Difference between .Incumbent Employees name and  Employees name

    Hello HCMers,
    What is the difference between the data coming from the following fields:
    1.Incumbent Employees surname p0000-STAT2  & Employee surname PA0001-SNAME
    2.Incumbent Employees name p0002-VORNA  & Employee Name PA0001-SNAME
    Can somebody enlighten me?

    Stalin,
    PA0000-STAT2 is for Employement status
    PA0002-VORNA and NACHN are for FIrst name and last name
    PA0001-ENAME is combination of VORNA and NACHN
    please go to SE12 put the table name and check the fields and description.
    cheers
    Ajay

  • How to show 'No Records Found' and 'Employee Name Unknown' in oracle report

    Hello,
    I'm using 6i and building a report to show employees who have incorrectly input their time. I have an input parameter so a user can select a specific employee by emp_id or can leave it empty to show all. That part works. I also have date parameters that are required. That works too. However I am having trouble displaying 'NO Records Found' if the date parameters have no late or rejected employee time records. I currently have it as a text field arranged behind the emp_name field which i filled white. It works...however i have a pretty good feeling there is a better way to do this. Also, I have some data that is null since i am using two tables. There are time stamps with no emp_name or emp_number. I still need to show these records but want them to show up as "Employee Name Unknown" that way the user doesnt get confused and thinks the emp_name in the row above also includes this row.
    select e.location "Clock Location",
    e.emp_no "Emp No",
    l.first_name ||' ' || last_name "Name",
    e.time_stamp "Time",
    from emp_time e, master_all l
    where e.emp_no (+) = l.emp_no
    and e.status = 'rejected'
    --and e.emp_no  = nvl (:p_emp_no, emp_no)
    --and e.time_stamp between :p_start_date and :p_end_date                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    So, when the join between emp_time and master_all produces no rows, you still want one row of output, saying 'No Records Found'; is that right?
    If so, you can outer-join the result set to dual, with some join condition that accepts anything.
    Use CASE (or equivalents) to get special values (like 'No Record Found' or 'Employee name unknown') when certain columns are NULL.
    For example:
    SELECT     j.location     AS "Clock Location"
    ,     j.emp_no     AS "Emp No"
    ,     CASE
              WHEN  j.name     IS NULL
              THEN  'No Records Found'
              ELSE  j.name
         END          AS "Name"
    ,     time_stamp     AS "Time"
    FROM     dual     d
    ,     (     -- Begin in-line view j, join of emp_time and master_all
              SELECT     e.location
              ,     e.emp_no
              ,     CASE
                       WHEN  l.first_name IS NULL
                       AND       last_name    IS NULL
                       THEN  'Employee name unknown'
                       ELSE  l.first_name || ' ' || last_name
                   END     AS name
              FROM      emp_time     e
              ,     master_all     l
              WHERE     e.emp_no (+)       = l.emp_no
              AND      e.status (+)       = 'rejected'
    --           AND     e.emp_no (+)        = NVL (:p_emp_no, emp_no)
    --           AND       e.time_stamp (+)  BETWEEN :p_start_date
                                             AND        :p_end_date
         ) j     -- End in-line view j, join of emp_time and master_all
    WHERE     d.dummy     != j.name (+)
    ;In an outer join, all conditions involiving the optional table need a + sign; otherwise, the effect is the same as an inner join.
    The message 'No Records Found' is a string, so it has to go in a string column.
    I put it in the "Name" column, just because I knew that "Name" was a string.
    You can put in in any other column if you wish. If that column is not already a string, then use TO_CHAR to make it a string.
    You could also have a column just for this message.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables, and also post the results you want from that data.
    DOUBLE U wrote:
    I've tried nvl in the select statement but since emp_name is a concatination of first and last name it doesnt work. This is what i have tried
    nvl(l.first_name|' '||l.last_name,'NO EMPLOYEE RECORD FOUND') "Employee",I assume you meant to have two | characters, not just one, after first_name.
    The first argument to NVL will never be NULL in that case; it will always contain at least a space, whether or not the other columns are NULL. You could say:
    NVL ( NULLIF ( l.first_name || ' ' || l.last_name
        , 'NO EMPLOYEE RECORD FOUND'
        )        "Employee",bujt I find it less confusing to use CASE, as shown above.

  • How to show employee names in descending order but 3rd row is fixed and always top on the table ?

    how to show employee names in descending order but 3rd row is fixed and always top on the table ?
    for example employee names is A,B,C, D, E
    and output is     C,E,D,B,A

    Since you are posting in the design forum, the short answer is - you don't.  Rows in a table have no inherent order that you can rely on and the "position" of rows is a visual characteristic that should be implemented by the application that displays
    this information or by the query that is used to generate the resultset.  
    So the next question is how one accomplishes this particular order within a select statement.  That is a tsql question which, for future reference, is best posted to the tsql forum.  In addition, many of the questions or issues that you will face
    have been discussed in the forums - often many, many times.  The first thing you should do when faced with an issue is to simply search the forums and leverage the the knowledge that has already been discussed.  In doing so you are quite likely to
    see suggestions or related issues that you should consider in your search for a solution.  
    Now, to answer the question - you need to formulate a order by clause that forces the rows to be sorted in the manner you desire.  Effectively you have 2 levels of sorting.  The first level divides your rows into 2 groups.  Group 1 consists
    of rows where name = E and Group 2 is everything else.  Following that you then need to sort the rows in each group by name in descending order.  Something like:  
    order by case name when E then 1 else 2 end, name desc

  • Cycle Count Entries Form not showing specific employee name in "Counted By" LOV List

    Cycle Count Entries Form not showing specific employee name in "Counted By" LOV List.But the Employee is active . Is there any setup for this activity?

    Hi,
    This is because the query is excluding the current site you are trying to modify since it is actually in the report.
    You can include in your query:
    or site_id = :Pxx_SITE_ID
    Where Pxx_SITE_ID is the item holding the site_id value and xx is your page number.
    Thank you,
    Erick

  • How to avoid  save same employee name under same company name

    hi,
    i am doing flex4 web application with mxml tags,
    i am having one text box and one datagrid and one save button. text box having one company name, data grid having employee names.
    when i click save button which is placed in outside the datagrid it will save all the details.
    Now my requirement is text box having the same company name and when i enter same employee name in datagrid and click save button means it wont
    allow to save that record, and through msg box with some alerts.
    How to do this,
    Any suggession or snippet code are welcome
    Thanks ,
    B.venkatesan

    hi raghs,
    i want to add records in cloud.bt while adding the records if we enter existing record details and try to save again na it wont allow to that record.
    that time the alert box  should show this msg "This record is already existing record in cloud database.
    ex: one company name called mobile. i am adding a employee name called raja now i save this record,its data saved in     cloud DTO
      again try to add same employee name raja under the same compny means it should through error.
    I am give my code here please if any suggession tel.
    CODE:
    private function saveRecord():void
                refreshRecords();
                model.employeeDetailsReq=new EMPLOYEEDETAILS_DTO();
                    var lengthindex:uint=model.employeeDetailsReqRecordsList.length;
                    var i:int;
                    for (i = 0; i < lengthindex; i++)
                    if((model.employeeDetailsReqRecordsList.getItemAt(lengthindex).employ ee name==customerdet.selectedItem.employeename)&&
                         (model.employeeDetailsReqRecordsList.getItemAt(lengthindex).employeeN  umber==customerdet.selectedItem.employeeID)){
                        Alert.show("you cannot Add Same CustomerName and Invoiceno again");
    (when this line come the error through like this: Index '8' specified is out of bounds.
    else
    var dp:Object=employeedet.dataProvider;            
    var cursor:IViewCursor=dp.createCursor();
    var employeename:String = employeename.text;
             model.employeeDetailsReq.employename = employeename;
    model.employeeDetailsReq.employeeNumber=cursor.current.employeeID;
    var sendRecordToLocID:QuickBaseEventStoreRecord = new
                        QuickBaseEventStoreRecord(model.employeeDetailsReq, new
                            KingussieEventCallBack(refreshList))
                    sendRecordToLocID.dispatch();
    <mx:Button  id="btnAdd" x="33" y="419" enabled="false" label="Add" width="65"  fontFamily="Georgia" fontSize="12" click="saveRecord()"/>
    employeename and employeeID are datafields of datagrid. datagrid id=customerdet
    employeeDetailsReqRecordsList---recordlist of save records
    Thanks,
    B.venkatesan

  • Sales Analysis by Item Group (Monthly) - To include Sales Employee Name

    Hi,
    I have added Sales Employee Name in the Sales Analysis by Item Group (Monthly) report by A/R Invoices. I have added this under Repetitve Area Header0. However, the sales employee name showed in the preview is different than the criteria entered.  It seems that the report only the first Sales Employee Name in the report.
    Anyone have any idea? Thanks in advance
    Regards,
    MH

    That is a good question.  You have to find out any unique relationships between your Sales Employee and your sales analysis data if there is. Hope the help below can assist you:
    Relate to
    This option is relevant for special scenarios only and requires knowledge of SQL.
    This field is used for retrieving data related to key records found in tables other than the table linked as default to the current print template.
    A key record is a field used as a primary key in a certain table. This key record functions as the identifier of the record, and, therefore, it is required to retrieve any additional data related to it.
    Following is an example:
    e.g.If you need to print the name of a certain bank, which is not linked to the table used in the current print template, you must first create a Text field of Database source type using the required table and select a key record, such as Bank Code.
    Then, you need to create an additional Text field of Database source type. Select the table again, select the required column (such as Bank Name), and enter the unique ID of the field with the key record in the Relate to field.
    There might be two or more key records in the same table. In such a case, these two key records are both required for retrieving the data.
    Identical bank codes are used in many countries. If you need to print the name of a specific bank, you need to link it to a relevant country, in addition to its relevant bank code.
    You are currently working on a print template for Incoming Payments. However, you need to retrieve data (such as the business partner's bank name) linked to the key record Bank Code from the Bill of Exchange for Payment table, rather than from the Incoming Payments table.
    In the Relate to field, select the unique ID of the field containing the required key record. In this example, this is a Text field of Database source type containing Bill of Exchange for Payment in the Table field and BP Bank Country in the Column field. The drop-down list contains the unique IDs of all the fields that are situated in the same area as the current field.
    This link makes the system retrieve the Bank Code linked to the BP Bank Country field found in the Bill of Exchange for Payment table.

  • Special characters in the employee names is adding ASCII  to the file

    Hi Team,
    Iam working on a outbound interface which has a length of 3000. For the last name it is having some special charecters Vázquez . When downloading into application server, the special characters in the employee names is adding ASCII characters to the file Vázquez . This is increasing the record length to 3001.
    Please let me know how to remove this ASCII charecters. It is happening only for application server.
    Rgds
    Kishor

    Hi
    Please refer below link.
    [Re: Translation of special charachter like 'u00E3au00EA']
    ~~~Ganesh Kumar K.

  • How to check what is the full name of the installer is used?

    Hi,
    how to check what is the full name of the installer is used?
    Thanks,

    Very nice, but assuming you did deliberately fire the installer, don't you remember the command? Apart from that your question has (as usual) no version and no platform and no context. If you are still in the installer and using any variant of Unix you can very easily run 'ps' to see the exact command.
    You would have needed to provide platform and version information when submitting the SR. Can you explain why you have this forum guess at it?
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for