Hiring the hired employee

Hi,
Scenario: I have hired an employee, and he posses master data. now i need to hire the same employee (thru PA40)with same master data. system is giving error message "identical data" and exiting.
Question: 1. where in the system would check the duplication of master data?
                2. where can i change the error message to warning message and proceed further?
Please suggest.

Hi VenkateshKalai ,
i think system has got hard coded these fundtion modules which gets called every time we save the actions infotype from PA40....
this is the main program where it is called
   Fields
Main Program     SAPMP5X0_CE
Source code of   MPPERSFM
               ENDIF.
               LEAVE SCREEN.
             ENDIF.
           ENDIF.
         ENDIF.
         PERFORM RE529A USING PSPAR-MASSN.               "QNUCE
         IF t529a-funch EQ '1'.                          "QNUCE
           PERFORM check_employee.                       "QNUCE
         ENDIF.                                          "QNUCE
      123456789012345678901234567890
         MOVE 'FILL_PROPOSED_VALUES_XXXX' TO ROUTINE.
         MOVE SY-DYNNR TO DYNNR.
         MOVE DYNNR TO ROUTINE+21(4).
         MOVE FCODE TO XCODE.
         CLEAR FCODE.
         CASE XCODE.
there isnt any dynamic actions which is being called.....
regds

Similar Messages

  • HR_MAINTAIN_MASTERDATA for hiring employees

    Hi,
    I am trying to use HR_MAINTAIN_MASTERDATA for hiring employees and creating a list of infotypes. I have tried with a number of infotypes as well as with just 0000, 0001 and 0002.
    I am using 'DIALOG_MODE = 2' to see the steps as the function module progresses, I keep getting this error about Infotype 169. After creating IT0000, proceeds to IT0001 and then straight to IT0169 even though I do not have it on PROPOSEDVALUES. When it hits 169, I get the error saying the Infotype 171 cannot be read for Pernr xxxxxxxx on mm/dd/yyyy (begin date).
    I do not face this problem when I manually go through PA40. I have tried various combinations and still get the same issue.
    If you have any ideas, I would greatly appreciate those.
    Thanks,
    Jay Viswanathan

    Hi Mr. A,
    I have Action = 'INS' which is the default value (same as not sending any value).
    Normal hiring process takes me through 0000, 0001, 0002 etc .. however the function module stops at 169 before going to 0002.
    Thats whats confusing.
    Thanks,
    Jay

  • Re-Hiring Employee Error Msg- Employee Active Since____

    Gurus-
    I have a case where i need to move an employee to a new company code. I thought in order to do that I need to terminate the employee and re-hire him. When doing so, I get an error stating that the employee is still active since the original hiring date.
    How can I correct this issue? I'd like to be able to use the same employee number.
    Thanks in advance,
    Donna

    Gurus-
    I need to write a rule where if the current time pair is a certain attendance type it needs to stop processing and skip to another rule.
    Does this look like the correct format?
    ZR10 Personnel Calculation Rule  ZR10
            HRS=Z001   Set
            HRS?0      Decision op.     HRS
                GCY TR30   Goto PC rule
              >
                GCY ZR11   Goto PC rule
    Thanks in advance,
    Donna

  • How to handle late hired employees

    We are using ukhrms.
    i have a situation where by employees in our company are delayed by HR to do the entries because of the delay in the employee's medical report from the clinic.
    Following is the case:
    employee joins on calendar month Jan 2010 and he is not processed in the monthly payroll for JAN 2010. When Calendar month Feb 2010 comes, the payroll user opens the pay period for JAN 2010 and the system is date tracked back to 01-jan-2010 and the employee(s) is/are created in the system. The reason of doing this is to avoid delay in the annual bonus to be paid to the employee by for example 1 month.
    Q1) how can we pay such employee in February 2010?
    Now, another concern is if we do as above mentioned then when the company issues Arrears to employees (i.e. every 6months or 8 months) from JAN 2010 to JUNE 2010
    Q2) how will the system get the arrears for the Jan 2010 payroll that was not processed for the late hires that were done in calendar month FEB 2010 by date tracking to 01-JAN-2010?
    Edited by: 594647 on Mar 3, 2010 1:04 PM

    Follow the below steps.
    1. Create an assignment status mapped to active assignment, payroll process to do not process -> lets say "my status".
    2. Create the employee in January (the policy should be changed to create employee in the same month itself i.e. January in the current example) with Assignment status "my status".
    3. Run Payroll for January. Since the assignment status has payroll process flagged to do not process, the employee is not paid in January.
    4. In February, update employee's assignment status to Active Assignment from January (Date track to January).
    5. Run Retropay by Element for Employee (Include Employee in assignment set) with start date = January and End Date = February. Arrears Element entries for January are created in February.
    6. Run Payroll for February. Employee is paid with February and January arrears.

  • BDC to hiring employee

    Dear All expert,
    I am developing a program to hire employee.But after 'call transaction' , the database have not been updated.
    It seems the new employee number already assigned , I think it in buffer.
    Is there any way to get the data from this kind of buffer? all let the BDC to update ?

    Hi ,
    We can hire employee using PA40 Transaction code. I think u r mistake when u recoding the BDC. Let u check first
    whatever u recording tcode again u process and check. if any issue replay me.
    Reagrds,
    Srinu

  • My client current process shift amount is prorating.   Now my client requirement  employee change shift (SE20321D)   to normal (NSO70012) in the mid of the month employee will get shift  full amount,

    Hi Experts,
    Please help me to solve this two issues
    I will give you clearly about my client requirement
    in the current system (existing)  already configured  for shift allowance.
    shift allowance for executive
    Shift Allowance Rates
    2 shift
    3 shift
    RM  240
    RM 330
    shift allowance for non executive
    Shift Allowance Rates
    Category 1
    Category 2
    2 shift
    3 shift
    2 shift
    3 shift
    RM  180
    RM 280
    RM 95
    RM 130
    they are not maintained (there is no any key)   in info type 0014 or info type 0015  they earliest hr consultant  copied to  the Shift Allowance wage types :- 5533, 5534,5535,5536,5537,5538and 5559
    Note : 5533 & 5536 are for Payment.
    Other wage types are for calculation purposes only.
    And they modified (standard LAP9)  YAP9 (copied)  schema written pcr  for shift allowance
    The pcrs are YSH1,YSH2,YSH3,YSH4,YSH5,YSH6,YSH7,YSH8,AND YSHF
    1) So my actual my client requirement (Issue 1)
        In my client current process shift amount is prorating.   Now my client requirement  employee change shift (SE20321D)   to normal (NSO70012) in the mid of the month
    employee will get shift  full amount
    2) client requirement (Issue 2)     Shift Allowance become prorate if the Action (Info type 0000)  in the same month have changes. (Depand the action type)
    Actions are
    WA,WB,WC,WD,WE,WF,WG,WH,WI,WJ,WK,WL,WM,WN,WO,WP
    XO,X1,X2,X3,X4,X5,X6,X7,X8,X9.
    XA,XB,XC,XD,XE,XF,XG,XH,XI,XJ,XK,XL,XM,XN,XP,XQ,XR,XS,XT,XW,XX,XY,XZ.
    Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7
    YA,YB,YC,YD,YE,YF,YG,YH,YI,YJ,YK,YL,YM,YN,YP,YQ,YU,YV,YW,YX,YY,YZ
    Z9,ZY
    Example
    in same month employee changed action on 20.07.2014
    Kindly help me to solve this issues  feel very happy for your help.and if you need any information about issue please let me know i will share to you.
    Thank you
    Raamarao

    Try this, it works very well for me.
    import XMonad.Hooks.ManageHelpers (composeOne, isFullscreen, isDialog, doFullFloat, doCenterFloat)
    myManageHook = composeAll. concat $
    [ [ className =? c --> doCenterFloat| c <- floats]
    , [ resource =? r --> doIgnore | r <- ignore]
    , [ resource =? "gecko" --> doF (W.shift "net") ]
    , [ isFullscreen --> doFullFloat]
    , [ isDialog --> doCenterFloat]]
    where floats = ["sdlpal", "MPlayer", "Gimp", "qemu-system-x86_64", "Gnome-typing-monitor", "Vlc", "Dia", "DDMS", "Audacious", "Wine"]
    ignore = []
    myLayout = tall ||| Mirror tall||| Full ||| tab ||| float
    where
    tall = named "Tall" $ limitWindows 4 $ minimize $ Tall 1 (3/100) (1/2)
    tab = named "Tab" simpleTabbedBottom
    float = named "Float" simpleFloat
    main = do
    myStatusBarPipe <- spawnPipe myBar
    conkyBarProc <- spawnPipe conkyBar
    trayproc <- spawnPipe myTrayer
    xmonad $ ewmh $ withUrgencyHook NoUrgencyHook $ defaultConfig {
    terminal = "urxvt"
    , manageHook = manageDocks <+> myManageHook <+> manageHook defaultConfig
    Last edited by helloworld1 (2012-08-14 05:20:56)

  • How to avoid the "Enter Employee Responsible" error in an Opportunity

    Hi CRM gurus,
    My employer wants me to create a custom Lead Type (and an Opportunity Type) which will look just like the SAP default Lead (and Opportunity Type respectively), except that he wants a custom Partner Function called "Sales Person" instead of the two default Partner Functions "Sales Representative" and "Employee Responsible".
    So, I made a copy of the PF "Employee Responsible" and named it as "Sales Person". I made a copy of the Partner Determination Procedure for both Lead and Opportunity Transactions. Deleted the PFs "Sales Representative" and "Employee Responsible", and added the PF "Sales Person". I made a copy of the Lead and Opportunity Transaction Types, and assigned the appropriate PF Determination Procedures. I got the Access Sequence and the Partner Determination Procedure right (checked it by clicking the button "Check Part. Determ. Proc"). I did all the miscelleneous minor changes that need to be done.
    Now, when I create a Lead, and then create an Opportunity as a follow up document, and add a Product to this and try saving the Opportunity, I get an error message saying "Enter Employee Responsible".
    It seems that the PF "Employee Responsible" is a required field in the SAP default Opportunity, but how can I avoid that in my custom Opportunity?
    Even if we try to avoid this PF now, does it have any repercussions in the follow-up documents that get generated from this transaction (like Sales Quotation, Sales Order etc) or in any other way. How important is the PF "Employee Responsible", or better, what's the significance of this PF in the Opportunity transaction?
    I'll appreciate any thoughts from you. I will instantly award max points for the correct answer
    Thanks,
    -Pras

    Kai,
    Thanks for your response. I have mailed you the screen-shots of my configurations. I did not know how to pass this info via SDN, hence I mailed it directly to your e-mail ID in your profile. I am sorry if that's not the right way to approach for help.
    >>If you maintain an additional employee responsible, does it work then?
    I have set the configuration "Only Functions Assigned to procedure" for the Permitted Functions in the Partner Determination Procedure. Hence, I do not have an additional "Employee Responsible" Partner Function in my list. This is to not permit the end-user to use other Partner Functions besides the mentioned here. The client wants to make this as simple as possible without giving too many options to the end-user (sales folks).
    However, I will temporarily set this field to "All defined Partner Functions" and, enter a BP for Employee Responsible and let ytou know what I see.
    Thanks a zillion for your help.
    Thanks and regards,
    -Prashanth

  • Have to diplay all the active employees in an Organizational unit n HR ABAP

    HI,
    I am new to HR ABAP.
    In my selection screen I have to get the Organizational unit from the user and based on that organizational unit value i have to display the details like  pernr,fname and other fields of all the active employee in that OU.
    I have to use logical database in the program .
    so it would be helpful if anyone of you can give some idea or send some sample programs or materials for reference.
    Regards,
    Kiruthi

    HI,
    I am new to HR ABAP.
    In my selection screen I have to get the Organizational unit from the user and based on that organizational unit value i have to display the details like  pernr,fname and other fields of all the active employee in that OU.
    I have to use logical database in the program .
    so it would be helpful if anyone of you can give some idea or send some sample programs or materials for reference.
    Regards,
    Kiruthi

  • ABAP - Logic for finding out the active employee

    Hi,
    I am trying to write the program where i need to set the flag "YES" to active employee for the particular time period for the particular position.
    For example:
    Row     Employee     DateTo     DateFrom          Position     FLAG
    1     1     1.1.2009     31.1.2009          10     YES
    2     1     1.2.2009     1.3.2009          10     NO
    3     1     2.3.2009     31.3.2009          10     YES
    4     1     1.4.2009     31.12.2009                           11     YES
    5     2     1.1.2009     31.1.2009          12     YES          
    6     2     1.2.2009     1.3.2009          10     YES
    7     2     2.3.2009     31.12.2009                           13     YES
    Employee 2 gets assigned as of 1.2.2009 to the same position 10 on which employee 1 is already assigned. Therefore, as of 1.2.2009 emplyoee 1 is not anymore the primary employee of position 10. As employee 2 is leaving the position as of 2.3.09 employee 1 gets again primary employee of that position as of 2.3.2009.
    Can any1 suggest me the logic for this?
    Regards,
    Rashmi
    Edited by: Rashmi G P on Jul 13, 2009 9:13 AM

    Hi,
    I already have a customised table where i am  trying to set the flag.
    My logic is something like this:
    Declarations:
    DATA: pos_flag TYPE char5.
    select-OPTIONS : pos for /bic/qzemployee-/bic/zhrpostn.
    SELECT zemployee datefrom dateto pos_flag FROM zemployee INTO CORRESPONDING FIELDS OF TABLE
    it_QZEMPLOYEE where /bic/zhrpostn in pos.
    *Sort it_zhrpostn by postion and datefrom
    SORT it_QZEMPLOYEE BY /bic/zhrpostn datefrom.
    *Looping it_zhrpostn.
    LOOP AT it_QZEMPLOYEE.
    MOVE-CORRESPONDING : it_QZEMPLOYEE TO it_qzemployee_temp.
    *Appending it_zhrpostn_temp to collect each postion
    APPEND it_qzemployee_temp.
    *At end of position
    AT END OF pos_flag.
    *Looping it_zhrpostn_temp table
    SORT it_qzemployee_temp BY datefrom DESCENDING.
    pos_flag = 'YES'.
    LOOP AT it_qzemployee_temp into wa_qzemployees.
    IF pos_flag = 'YES' OR wa_qzemployees-/bic/zhrpostn EQ '00000000' OR wa_qzemployees-/bic/zhrpostn EQ '99999999'.
    set the flag to yes
    write:       pos_flag.
    INSERT into /BIC/AZPA_DS0600 VALUES wa_final.
    pos_flag = 'NO'.
    ELSE.
    set the flag to NO
    write:       pos_flag.
    ENDIF.
    endloop.
    refresh: it_qzemployee_temp.
    ENDAT.
    endloop.
    But here the problem is the it is taking the most recent datefrom and setting the flag as yes. How to check whether someother employee is active in the given time period and set the flag as YES? Only 1 employee can be active in the date period given.
    Thanks and Regards,
    Rashmi

  • Use the sales employee, you need an HR master record

    hi:
      when I  do vpe1 in sd model ,it prompt two transport   request . 
       In order to use the sales employee, you need an HR master record. If you do not use the Human Resources application component (HR), you can transport the HR tables that you need for creating, changing  or displaying a sales employee from client 000 into the target client.
    How should i do?

    I'm moving this thread to the SD forum.... This is a funtional issue not a technical one.
    Regards
    Juan

  • Evaluation path - accessing of the direct employees by the manager.

    Hello Experts,
    I need to configure the evaluation path , using which the managers can access all the direct employees.
    Can u all please help me with this.
    It would be really helpful if u could suggest some documents to refer.
    Your answers will definitely be awarded.
    Thanks and Regards,
    Pooja Dev

    Hi...
    you can creat the evalution path in IMG -> PM -> PA  -> OM -> Basing setting -> evalution paths..
    1. select the evaluation path and make the relationship between the objects..
    2. test this in easy access under geneeral structures..
    but if u want to assing that evaluation path to spcefic user, then  u need to user structureal authorisation..
    which is different from general authorisation management..
    Best Regards
    Samson

  • How to retrieve the manager employee no

    Hi All,
                      I want to get the manager employee number of a particular employee. I have the employee no (PERNR) with me.I just want to know the manager of that pernr(employee).Is there any standard function module to find it out or any table where it will be stored.Plesae guide me.........
    Regards,
    Rakesh.

    Hi
    First use the RH_STRUC_GET Function Module by passting otype as P nad objid as Personnel number and wegid as B012,u will get the Manager's org details.
    Now call the RH_GET_LEADER fm to get the complete maneger details.
    Regards,
    Sreeram

  • You are not authorized to change the sales employee

    Hi everyone ,
    when I add an new bussiness partner not with the default sales employee ,I can't finish adding except  loging on the system using manager or superuser before. the system tells that "You are not authorized to change the sales employee". This problem had been raised by someone else already,But It still confused me .I have explored the problem in b1 system and has got these results like following:
    first ,there are three places where we can set default Salse mployee.        
               Path1     Administation/Setup/General/Sales Employees
            or  Path2   Human Resources/Employee Master Data/Sales Employee
            or   Path3  Administation/Setup/General/Users/Defaults/New/Defaults/Sales Employee
    If you add a new BP , the default Sales Employee will get the value from Path3 .
    If it is empty from Path3 ,it will get the value from Path2.
    If it is also empty from Path2,then it will get the value from Path1.
    There is Only one conditon that In Employee Master Data ,the employee is related with User and Sales Employee.
    My question is that since I connected employee with User I can't change the sales employee when adding a new BP.
    Another question is that since I connnected sales employee(Mike) with employee(Jone) I can't select the sales employee (Mike) as a sales employee when adding a new BP using other user loging on the system.
    There Is no problem if I  connect no employee with User.But If I do so ,How Can I do the Data Ownership Authorization.
    Edited by: Li Mishan on Apr 17, 2008 9:40 AM
    Edited by: Susanne Klemm on May 7, 2008 2:00 PM
    Edited by: Philip Eller on May 21, 2008 9:02 AM

    I forget to say that I had already give the user all Authorizations.I have copy the authorization from manager.
    One thing I am sure that :
    If you connet the sales employee with one employee,that means that sales employee can be only used by the user connected to the employee at the same time.others can't use it.
    If you connet the user with employee,that means ,when log on the system with the user,you can only use the sales employee that you connected with employee at the same time.you can't use others
    Edited by: Li Mishan on Apr 17, 2008 10:55 AM

  • Rollback the single employee Payroll in 12.1.3

    Dear Guru's,
    We Ran the payroll for terminated employee. (Termination date is 1-May-2014.) We process the payroll on that month (31-May-2014) with including the terminated employee and posted all records in GL. We want to process all the settlement with his payroll amount using the quick pay process. We don't want to run for rollback all the employee because it was posted already in GL.
    Can some one help me on this?
    Thanks & Regards,
    Suresh

    Go to following navigation:
    HRMS Manager responsibility --> View --> Assignment process results
    Query for the employee as on 30-Apr-2014
    Delete each of the associated payroll processes for May-2014
    Do the quickpay for May-2014

  • Standard Report to get the resigned employee last reporting Information

    Dear Team,
    Please let me know do we have any standard report to get the last reporting person for the resigned employees in HR OM.
    Kind Regards
    Nag

    Hi Varma,
    Thanks for your immediate reply. Pls also let me know whether we have ant reports to get Company Code/ PA / PSA wise.
    Kind Regards
    Nag

Maybe you are looking for

  • GR/IR Clearing F.19 - No document generated

    Hi I am trying to regouping the GR/IR account at period end but not getting any batch session while executing F.19. I have done following settings at OBYP:- Key BNG (Invoiced but not yet delivered) Reconcliliatin account as our GR/IR account Adjustme

  • Officejet pro 8500 premier all-in-one

    good morning from a frustrated user of a new 8500.  a few days ago we junked our other all-in-one and bought the new one ref above.  this init is equipped for wireless operation like our otherone was by using an hp print server.  we are using a netge

  • Refresh combobox with custom display(Plug in)

    Hello , I am using combobox with custom display(Plug in) in my application. i want to display value in combobox on selection of values in radio item sample query used in combobox like if :Radio_item = 1 then return 'SELECT NAME dropdown_display     ,

  • I need to send a fax, but now apple's modem is incompatible on Lion... how can I do?.. :(

    I need to send a fax, but now apple's modem is incompatible on Lion... how can I do?

  • IPhoto imports from CD ROM

    I know that one can import an entire library from a CD ROM backup disk, but that involves hundreds of pictures. Is there a way to import only selected pictures from a CD ROM backup disk?