Hiring Employee.

Hi,
I am able to hire an employee through PA40 , it dynamically updates IT0003.
I am trying to hire an employee through hr_maintain_masterdata . It does not update IT0003 and produces a short dump .
What may be going wrong?
Thanks,
Rohit

Hi,
Have a look at this thread
INFOTYPE 0003 IN DYNAMIC ACTIONS batch input
Check program RPUTRBK0
Regards,
Manoj.

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

  • 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

  • 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

  • While hiring, how to display subtype to the employees

    Hi,
    can any one help me out.....
    how to display the subtype 002 (temporary addresses )  to the infotype 0006 while hiring employees?
    Thanks & Regards
    Padmasree

    Hi,
    You might have defined your action type (Table T529A)). For that action, you might have defined an infogroup. Go to that infogroup (Table V_T588D) and select your User group. For example, if your Infogroup is 10 and User group is 01, entry should be in the following manner:
    User Group              No            Operation   Infotype                   Infotype Text    Subtype
    01                 03     INS     0006            Addresses           002
    This should work.
    Regards,
    Suhasini

  • Employee vendor creation

    Hi ,matically
    how to create automatic vendor creation via PRAA.
    Is this prgm can run in back ground and will updat enewly hired employees automatically.
    GK

    Hi GK,
    Yes this can be done.
    Follow the steps mentioned in this doc - http://scn.sap.com/docs/DOC-27098
    Thanks
    Vipin

  • Employee cost should hit to Internal order

    Dear Friends,
    We started new plant and  hired employers ,cost center profit center not ready yet( we created one Internal order as over head order ).
    Employee Cost through Payroll  so HR People has already created a new Organizational Unit and we have tagged it to an Internal Order.  We have hired some test employees and have run payroll for this newly hired employees.
    So the system is throwing the following errors.
    Error 1)*Account assignment objects are incorrect. No substitution is possible.*
    *Message no. 3G209*
    *Diagnosis*
    *The account assignment object check showed that, from the point of view of CO, the specified account assignment is not valid, and cannot be replaced by the employee's master cost center or a substitute cost center. This item cannot be posted.*
    Error 2)Internal error: No valid return value for segment found
    Message no. 3G330
    Diagnosis
    No valid value was returned as a result of the segment check. The Customizing settings for the general ledger, however, request a value for the account assignment of the segment.
    Error 3)No segment found
    Message no. FAGL_ORG_UNITS007
    Diagnosis
    No segment could be derived for the current line.
    However, in the Customizing settings for General Ledger Accounting, you have selected the segment as a mandatory balancing field. This means that a segment must be assigned in each line item.
    System Response
    The posting is rejected.
    Procedure
    Edit your segment derivation or make changes to the Customizing settings for document splitting.
    Kindly suggest me onthis its very urgent.
    Regards,
    Sudha.

    Dear Raviteja,
    Thanks for your Reply ,
    Allready i checked the link which you have provided but our case is different.
    Actually the Employee Cost should hit to Internal order not  to cost center.(that is our requirement)
    While creating internal order i didnt maintain  any profit center bcoz cost center and profit centers are not ready yet for time being we are planning to move Employee cost to internal order later we will settle to Cost centers once its ready.
    Thanks & regards,
    Swapna.
    Edited by: swapnasudha chowdary on Jan 24, 2012 11:59 AM

  • To pass perner in Function Module

    Dear All,
    I have a requirement where I have to send a mail to the new hired employee at the time of creation of IT0105- subtype 0010(email-ID) I have wriiten a code for this
    IT                  STYP             Feild                                 FC                    No.              S                     Variable funct.
    0105     0010     USRID_LONG      04     011     f     xxx(Z_yyy)
    It is working fine through this I can call subroutine and mail is triggering at the time of creation of It0105. But here in z report my Ababper is harcoaded the pernr and he need form me to pass the perticular pernr to his Z report and then that program will send mail to that perner .. suggest me How can I pass pernr or any value to the ABAP report which I will call in my dynamic action. Or I can store the pernr to any field in the dynamic action from where the abap program will call it.
    ##MY ABAPER wants me to pass perner to his Report for sending the mail to tht perticular perner.

    Hi,
    Please ask the ABAPer to just use P0105-PERNR within Z-report.
    It should work.
    Please refer to the following WIKI page for reference:
    http://wiki.sdn.sap.com/wiki/display/ERPHCM/HowtoCreateaDynamic+action
    Regards,
    Dilek

  • Document Management System with HR.

    Dear Friends.
          I wish to know is it possible to integrate the HR module with Document managment system.  well the business scenario is I have hired one employee ( e.g: 32202) ans stored all the documetns related to the hired employee.. like application , credentials. etc in the DMS. now when i want to see this hired employees data from the DMS, can i see? without going to DMS system by simply clicking on employee number in PA30 tcode something... please reply me
    I would appreciate your any help. 
    Thanking you
    Regards
    Naeem

    Naeem,
    you can use PM01 -infotype enhancement to include an icon to display document from HR.  At PAI of the customised screen, you may call function "CV120_START_APPLICATION" to pop up the relevant document located at DMS.
    hope the above information help
    regards,
    rachel

  • Call Transaction 'PA40'  ALWAYS returns with error code

    Hi,
    I'm having issues with updating personnel actions using CALL TRANSACTION 'PA40'. The call always ends with an error code.
    I checked the message table and there are no error messages, only warnings and status messages. Warning and information messages are usually skipped in the BDC...I've coded an 'ENTER' to past the warning but this does not work either as the subsequent infotype screen fields are then not filled correctly.
    The following values for addition OPTIONS are used:
    data: opt like ctu_params.
      opt-dismode = 'N'.
      opt-updmode = 'A'. ('S' makes no difference)
      opt-defsize = 'X'.
      opt-nobinpt = 'X'. ( ' ' makes no difference)
    I've tried using 'PA30' for the same actions but I get the same problem. I've used call transaction 'PA30' in many programs and I've never come across this problem.
    Is there perhaps a config setting somewhere to fix this? I've tried hiring employees using HR_MAINTAIN_MASTERDATA with the employee existance check off but there's a couple of problems there as well - sample code for hiring an employee would be very helpful...
    I need your help urgently and would appreciate your assitance immensely. (I'm working on 4.6C.)
    Thank you.
    LM

    The easiest way to resolve this is to set
    opt-dismode = 'E'.
    this way it will run in background and jump out when it hits an error, and it's much easier to see what the real issue is.
    I'm assuming you used SHDB first to get the recording?

  • Help required in Time mangement Rule writing

    Hi All,
    The requirement is as follows:
    The company is going to offer a new type of leave entitlement u2013 Employee Sick Leave.  This new leave entitlement should be given to the active employees in the following Personnel Areas:
    1030 -  only Personnel Sub-Area
    1040 -  all Personnel Sub-Areas
    1050 -  all Personnel Sub-Areas
    1051 -  all Personnel Sub-Areas
    1070 - all Personnel Sub-Areas
    This leave is to be given to each employee at the beginning of the calendar year.  Each employee is to receive 5 days of this entitlement.  At the end of the year, what has not been used will be lost.  There is no cash-out for this upon termination. 
    For employees hired after January 1, the schedule for loading their initial balance is:
       Month of Hire   days to be accrued
    Jan                     5
    Feb                     5
    March                 4
    April                    4
    May                    3
    June                    3
    July                     3
    August                2
    Sept                    2
    Oct                      1
    Nov                      1
    Dec                     0
    Please note we are using Negative time mangement.
    WE created arule which is attched but the problem is that with this rule the hired employee is accruing 5 days every day.
    The rule we created is as follows
    1234 Personnel Calculation Rule  1234
    |-" *
      |-" ****
        |---HRS=YSSA   Set                
        |-" HRS?1      Decision op.     HRS
          |-" *
          | |---HRS=M1234  Set                
          | |-" VARSTCURMO Current period     
          |   |-" **
          |   | |---LEAVE      Stop with PC Rule  
          |   |-" 01
          |   | |---HRS=40     Set                
          |   | |---ADDDBABCDZ Set day balance = 0
          |   | |---HRS=1      Set                
          |   | |---ADDDB1234  Add to day balance 
          |   |-" 02
          |   | |---HRS=5      Set                
          |   | |---ADDDBABCDZ Set day balance = 0
          |   | |---HRS=1      Set                
          |   | |---ADDDB1234  Add to day balance 
          |   |-" 03
          |   | |---HRS=4      Set                
          |   | |---ADDDBABCDZ Set day balance = 0
          |   | |---HRS=1      Set                
          |   | |---ADDDB1234  Add to day balance 
          |   |-" 04
          |   | |---HRS=4      Set                
          |   | |---ADDDBABCDZ Set day balance = 0
          |   | |---HRS=1      Set                
          |   | |---ADDDB1234Z Set day balance = 0
          |   |-" 05
          |   | |---HRS=3      Set                
          |   | |---ADDDBABCDZ Set day balance = 0
          |   | |---HRS=1      Set                
          |   | |---ADDDB1234Z Set day balance = 0
          |   |-" 06
          |   | |---HRS=3      Set                
          |   | |---ADDDBABCDZ Set day balance = 0
          |   | |---HRS=1      Set                
          |   | |---ADDDB1234Z Set day balance = 0
          |   |-" 07
          |   | |---HRS=3      Set                
          |   | |---ADDDBABCDZ Set day balance = 0
          |   | |---HRS=1      Set                
          |   | |---ADDDB1234Z Set day balance = 0
          |   |-" 08
          |   | |---HRS=2      Set                
          |   | |---ADDDBABCDZ Set day balance = 0
          |   | |---HRS=1      Set                
          |   | |---ADDDB1234Z Set day balance = 0
          |   |-" 09
          |   | |---HRS=2      Set                
          |   | |---ADDDBABCDZ Set day balance = 0
          |   | |---HRS=1      Set                
          |   | |---ADDDB1234Z Set day balance = 0
          |   |-" 10
          |   | |---HRS=1      Set                
          |   | |---ADDDBABCDZ Set day balance = 0
          |   | |---HRS=1      Set                
          |   | |---ADDDB1234Z Set day balance = 0
          |   |-" 11
          |   | |---HRS=1      Set                
          |   | |---ADDDBABCDZ Set day balance = 0
          |   | |---HRS=1      Set                
          |   | |---ADDDB1234Z Set day balance = 0
          |   |-" 12
          |     |---HRS=0      Set                
          |     |---ADDDBABCDZ Set day balance = 0
          |     |---HRS=1      Set                
          |     |---ADDDB1234Z Set day balance = 0
          |-" <
            |---LEAVE      Stop with PC Rule
    ealy  help is greatly appreciated
    Cheers Rajeev

    Hi Sikinder,
    The Scenarion is of sick leave,where the employee should be awarded a leave quota at the time of joining.and no balance leave to be carried forward to next year.The leave cary forward guidelines are
    If an employee joins in the month of Jan and Feb he should be awrded 5 days of Quota,If he joins in March april he should be awarded 4 days of Quota,If he joins in May ,June July he should be awarded 3 days of Quota,If he joins in the month of August and Sept he should be awrded 2 days of Quota,If he she joins in the month of Oct, Nov he should be awrded 1 day of Qutoa and if he joins in the month of Dec he should be awarded 0 days of Quota.
    Cheers
    Rajeev

  • Duplicate check on personal id (00185)

    Hey Experts,
    Is there a way to activate a check in 0185 (personal id) that checks if an employee has a similar id under his 0185?
    example:
    employee 0001 has 0185 maintained with passport # 123456, we have hired employee 0002, now while creating his/hers 00185 we entered the same number for the passport. (ie 123456) now the outcome should be that a warning should pop up stating that this passport number is under some other employees name. therefore a check for no duplications.
    any advice?
    Regards.

    Hi Rana,
    In my limited knowledge II am not sure if a standard config exists for your requirement.
    Probably you can use ZXPADU02 user exit to check from your table PA 0185 if a similar record exists. If not then you can allow the User to save it or else you can throw an error message stating the same.
    DATA: wa_0185 like P0185.
    CALL METHOD CL_HR_PNNNN_TYPE_CAST->PRELP_TO_PNNNN
    EXPORTING
    PRELP = INNNN
    IMPORTING
    PNNNN = wa_0185.
    Select single *
      from pa0185
      where subty = wa_0185-subty
           and ID = wa_1085-ID
    if sy-subrc NE 0.
    Throw an error message.
    exit.
    endif.
    CALL METHOD CL_HR_PNNNN_TYPE_CAST->PNNNN_TO_PRELP
    EXPORTING
    PNNNN = wa_0185
    IMPORTING
    PRELP = INNNN.
    Wait for other experts to comment if they have a better solution before you try this out.
    cheers
    Ajay

  • Getting only the newest records in a Grandchild table

    Hi
    I have created a new table in the Siebel schema on an Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    This table is called CX_ASSET_XM and is a Grandchild table of S_ASSET
    CX_ASSET_XM has a parent table S_ASSET_X
    So the structure is like so
    S_ASSET  x 1 record
    S_ASSET_X x 2 child records
    CX_ASSET_XM x 1 grand child records
    Therefore the cardinality is one Grandparent can have 2 Grandchild records
    This CX_ASSET_XM table will hold information about TCP/IP calls of a Grandchild asset. These calls are not synchronized. therefore one Grandchild asset may make a call today but the other one has not made a call since yesterday.
    In my query I find all the grand children records that have been created today (sysdate) and then traverse up the relationship to find the Grandparent, then I traverse back down to find the other twin in the Grandchildren tuple.
    The problem with my query is that it returns every single TCP/IP call a pair has made but I only want the most recent callback of each grandchild to analyse
    SELECT (cb.SSID), cb.created_by, cb.callback_date, cb.callback_num, asset.desc_text, asset.prom_integ_id, asset.integration_id
    --Traversing Up to find the Grandparent record of the
    FROM SIEBEL.CX_ASSET_XM cb
        JOIN SIEBEL.S_ASSET_X assetx
          ON cb.SSID = assetx.attrib_37
        JOIN SIEBEL.S_ASSET asset
          ON assetx.par_row_id = asset.row_id
    WHERE asset.prom_integ_id IN
    --Traversing Down to find the other twin in the pair
    (   SELECT asset.prom_integ_id
        FROM SIEBEL.CX_ASSET_XM cb
        JOIN SIEBEL.S_ASSET_X assetx
          ON cb.ssid = assetx.attrib_37
        JOIN SIEBEL.S_ASSET asset
          ON assetx.par_row_id = asset.row_id
    ORDER BY cb.callback_date DESC;
    e.g. if there are 80 grandchildren which have made two TCP/IP calls that would make a total of 160 records, which is what the query above returns.
    However I want 80 records to be returned
    e
    Grandchildren
    Callback Date
    1111AAAA (Pair 1)
    10-OCT-13
    1111AAAB (Pair 1)
    09-OCT-13
    2222AAAA (Pair 2)
    10-OCT-13
    2222AAAB (Pair 2)
    07-OCT-13
    As you can see from the table, atleast one of the pair will have a Callback_Date = Sysdate (Today) which is how I will need to find them in the table before traversing up.
    How do I achieve these results. I have tried GROUP BY, DISTINCT, ROWNUM = 1

    Hi,
    968432 wrote:
    Sorry for my ignorance but how do I incorporate the ROW_NUM function into my query, or will it be a new query from scratch.
    When you say partition, does that mean the partition would be between my traversal up the tables to the grand parent and then back down again?
    You can use ROW_NUMBER with something very much like your existing query; there's no need to start from scratch; you just won't repeat the joins in the WHERE clause.  You'll just be joining the tables once.  If it really helps you to think of traversing either up or down, then go ahead, but you mind find it simpler just to think of joining.  Every row of the join will include some expression(s) that uniquely identifies the grandparent; that's what you'll PARTITION BY.
    It would be a lot easier to explain and to understand if we had some sample data and desired results.  Either post CREATE TABLE and INSERT statements for a little sample data, or phrase the question in terms of tables that anybody with Oracle probably has, such as those in the hr schema.  (People in hr.employees are related to deparatments in hr_departments, and departments are related to places in hr.locations, so location is the grandparent of employee.  If you knew how to find the most recently hired employee from each location in the hr schema, then you'd know how to solve your problem in your schema.  For example, if you wanted these results:
    CITY                 DEPARTMENT_ID EMPLOYEE_ID LAST_NAME  HIRE_DATE
    London                          40         203 Mavris     07-Jun-2002
    Munich                          70         204 Baer       07-Jun-2002
    Oxford                          80         167 Banda      21-Apr-2008
    Seattle                        100         113 Popp       07-Dec-2007
    South San Francisco             50         128 Markle     08-Mar-2008
    Southlake                       60         104 Ernst      21-May-2007
    Toronto                         20         202 Fay        17-Aug-2005
    you could get them like this:
    WITH  got_r_num  AS
        SELECT  l.city
        ,       d.department_id
        ,       e.employee_id, e.last_name, e.hire_date
        ,       ROW_NUMBER () OVER ( PARTITION BY  l.city
                                     ORDER BY      e.hire_date  DESC
                                   )   AS r_num
        FROM    hr.employees    e
        JOIN    hr.departments  d  ON   d.department_id  = e.department_id
        JOIN    hr.locations    l  ON   l.location_id    = d.location_id
    SELECT  city
    ,       department_id
    ,       employee_id, last_name, hire_date
    FROM    got_r_num
    WHERE   r_num = 1

Maybe you are looking for