Date of hiring action..

Hi Team,
Need your help to understand how to restrict hiring for the future date(hiring date = Current date /System date) and to restrict hiring on holidays and weekly off Sunday.
Regards,
Dev

Hello,
   You dont have any user exit in the main screen actions menu, but that is not a problem, you just have to create a validation using this user exit http://www.****************/Tutorials/HRABAP/Wageamount/Default.htm for transaction PA40, the corresponing hiring action (field MASSN) and infotype 0000, that way if  infotype 0000 begda is in a future date (ie bigger than sy-datum) you send an error message, and the user wont be able to continue with the action unless the begda date is same or lower than sy-datum, the user can correct the entries as many times as he wants
The user exit should looks like this:
DATA: lw_p0000 TYPE p0000,
IF sy-tcode = 'PA40' AND innnn-infty = '0000'.
     CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
          EXPORTING
            prelp = innnn
          IMPORTING
            pnnnn = lw_p0000.
   IF lw_p0000-MASSN = 'XX'  AND p0000-BEGDA > SY-DATUM.   "here XX is the code of your hiring action
        MESSAGE .....
   ENDIF.
ENDIF.
It should work
Best regards,
Federico

Similar Messages

  • HR : FM for Hiring action

    Hi all,
    I want to create an employee master data(a hiring action).
    Please let me know  is there any FM avail for the same(creation of Pernr).
    thank u.

    Hi Amit,
    Thanks for ur reply.
    This FM requires Pernr as Input, But my req is i want to create a personnel No.
    pernr  must be exported..
    plz guide me reg this.
    ur helpful answers will be rewarded.
    thank u

  • LSMW to upload data using PA40 (Hiring Action)

    Hi All
    I have a requirement to upload the data in Actions (Infotype 0000) & Org.Assignment (Infotype 0001) using PA40.
    For More information : I have to use the Action type = Hiring , this infogroup has 8 infotypes in a sequence as mentioned below .
    1 . 0000
    2.  0002
    3.  0001
    4.  0006
    5. 0007
    6. 0008
    7. 0009
    8. 0015
    Now to upload the Actions & Org.Assignment data in need only the  0000 & 0001 infotypes .
    Now the problem is while recording , once i enter the 0000 Infotype data & save . It goes to the 0002 (which i dont have to upload now).
    Now my question is can i skip infotype 0002 while recording ?? 
    After skipping  i will enter the 0001 infotype (which is next in a sequence mentioned above) & save it .
    After saving it goes to the 0006 (which follows the 0001 in a sequence mentioned above) .
    As i dont want to enter the 0006 data now i will come out of it . Now the recording is complete . up to last step in lsmw
    "Run Batch Input session "  it is working fine .
    But when i execute the Batch Input session , I am getting the error "No batch input data for screen SAPMP50A 2000"
    Pls let me know the solution for this .  Thanks in advance

    Hi,
    As suggested by experts here, create a new action for data upload with only IT0000 / IT0001 for updation of record as in LSMW PA40 doesnt run properly if there are too many fields for updation. Once these 2 infotypes are uploaded, then you can upload the remaining infotypes individually.
    Also pls remember that you use external number range for the Hiring Action through LSMW.
    Hope this helps.
    Thanks
    Ranjeeta

  • Hiring action with reference Pernr via HR_MAINTAIN_MASTERDATA

    Ciao,
    I need some help to solve the following problem:
    I get all needed data for an hiring action via external interface and need to perform the hiring action with HR_MAINTAIN_MASTERDATA by passing a reference personel number to the function.
    my problem: theres no chance to pass the parameter RFPNR to HR_MAINTAIN_MASTERDATA and so the function does not link the new PERNR to the CP of the RFPNR
    therefore, the function creates a new employee with a new central person (CP) instead of linking the new employee to the central person of the passed RFPNR and copying the relevant infotypes
    my question: does somebody know how to make HR_MAINTAIN_MASTERDATA work with the reference Pernr (RFPNR) ?!
    alternatively I could delete the link between the new employee and it's (new) central person, insert a new link between the central person of the referenced employee and the new employee and delete the crfeated central person of the new employee.
    as result I would have correct links to the CP BUT I'm facing the problem, that the infotypedata of the CP was not taken over to the new linked employee ...
    is there any function or report, that copys relevant data (infotypes) from a central person to it's linked employees (PERNRs) ?!
    would be nice if anyboday could help me or give me a small hint
    thanks,
    Markus

    I found the solution by myself ....
    Problem: hr_maintain_masterdata crashes with shortdump while writing an hiring action.
    Cause: we implemented infotype enhancements via userexit where parameter VIEKN is queried. The parameter VIEKN is saved in infotype 3.  In LUW-mode 3 theres no existent IT0003 when hiring a person (because nothing is written to database) that causes the shortdump ...
    solution (workaround): First I have to call maintain_masterdate just with infotype 0000 (without reference pernr!) ... that triggers the creation of it0003 by the system itself ... then I have to call a second maintain_masterdata with all the other infotypes of the action and everything works fine! Now the new person is in the system and while creating the person, the system also created a new central person and a link between the new CP and the new person.
    after doing this (and did'nt get any failure!) I have to determine the central person (CP) of the referenced person, making a new link between the new person and the referenced persons CP, deleting the link between the new person an d the new CP, deleting the new cp and every thing works fine!!!! the reason for this is: infotype 31 just shows the "links" that are defined in OM
    if anybody is interested in more details, just contact me
    Edited by: Raabiat on Apr 4, 2011 11:35 AM

  • Report for Hiring Action Along with BASIC Pay

    Dear
    I have created a BDC for hiring action for which data is updated in infotypes 0,1,2,6,7,8,9,14,15,16,41,105,587,588 mentioned in the infogroup.
    Earlier we are  not creating entries in 0008 now we need to BASIC PAY  in the hring Action.
    What should be the best apporch.
    Either we create perner by giving infotype values 0,1,2. and put this values in internal table and then update other infotypes.
                     OR
    In a single fo we provide all the data related to infotypes by using PA40.
    Now record need to be created of few of additonal infotypes which is not part of hiring action infogroup like 19,21,22,23,185.
    Thanks & Regards,
    Ravi

    Thanks for your valueable comment.
    AS hiring action it is must to input values of infotype 0,1,2.
    So acccording to you firstly, i need to hire a person through bdc.
    So for next infotypes i need to do by PA30. But for this i need pernr which i created in first step.
    how it is possible to  get perner created and then go for one by one infotypes sepratley.
    Rav Jordan
    Edited by: Rav Jordan on Dec 14, 2011 7:15 AM

  • Query on Hiring Action

    I have an issue in Hiring Action. After choosing the hiring action, I have to fill up the data for employee group in the screen for Actions infotype. Now, I have several employee groups like permanent, probationer, trainee, resigned, retired, dismissed etc. Now, I don't want to allow the user to choose the employee groups like retired, resigned, dismissed because they do not represent "Active" employees. How do I achieve this? Please guide me.
    -Kalpana

    Hi
    Possible solutions
    a)While creating the employee groups take 1) Active and 2) Inactive
    The employee sub groups can now be taken as per your requirement and you will not have the issue while hiring
    if you have many employee groups and consider all of them to be active and if its not possible to take the groupings as suggested
    we will have to educate the end users about the same.
    Regards
    RR

  • E-Recruitment and Hiring Action

    Can someone tell me that once you have selected your applicant through e-Recruitment, how do you then hire the employee into ERP HR?
    What is the process?
    What data can be transfered?
    Thanks
    WB

    Hi,
    as said by the community before the standard technical ways to transfer data from e-recruiting to PA for hiring are RCF transfer into table T752F where they are used for PA48 or the XI technology. The HCM Forms might be an option but the Adobe licence (if not already there) might cost more than the complete e-recruiting rollout.
    That's the theory. As far as I encountered in different rollouts XI is usually not available for the HR in most cases. So most projects tend to use the RFC transfer. But in the end you have to admit that the system only supplies ~15 values from personal data and address which are not exactly matching the PA infotypes (e.g. in e-recruiting street and house number are one field, in PA there are two). All data is entered by the applicant so everything has to be checked and it's only a low percentage of a complete hiring action with >20 screens. So it is not very uncommon that in the end the real process stays on paper. The hr admins send out a form, the applicant fills it and sends it back. Then the hiring action is done and the paper version gets into the the files.
    So often the lived process does not match the technical options available.
    Rgds.
    Roman Weise

  • MASS Hiring Action

    Dear
    As per the client requirement i have run a Hiring action for 100 employees every month.
    Instead of running a hiring action for each employee every time, is there any solution to run a hiring action for 100 employees at one single instance.
    We have configured around 32 infotypes and sub types for a hiring action.
    I have tried to do a recording using SHDB, i am getting few issues
    1) dynamic action code which i have written is not working while recording.
    2) when i am maintaining IT0581(HRA) i am getting an error saying " NO Automatic updation in IT0008 (Basic Pay).
    3) Absence quota is not getting prorated based on the hiring date.
    Kindly let me know is there any solution for mass hiring action to be performed
    Regards
    Vish

    ) dynamic action code which i have written is not working while recording.
    DA will not work while uploading the data
    2) when i am maintaining IT0581(HRA) i am getting an error saying " NO Automatic updation in IT0008 (Basic Pay).
    Check the start date and end date of the HRa &  Configuration
    3) Absence quota is not getting prorated based on the hiring date.
    Check T559L table , check the prorate check tab

  • Dynamic actions user execute the Hiring action, IT 0105 dynamically adjust

    Hello Any body can guid me for the below requirement..
    Whenever the user execute the Hiring action (action type: Z1-Hiring cPA) the system should adjust the infotype 0105 dynamically during executing the hiring process, in the same way the subtype (0010 : E-mail )for the userid in SAP HR should be adjusted.  The HR Services should not have to do this manually.
    The e-mail account can be composed from the fields first name, name prefix and birth name. The fields have to be separated by dots. When the name prefix contains more words they have to be separated by a dot.
    When company code is 003 the value email atthe rate xx.comhas to be adjusted at the end.
    When company code is 004 the value email atthe rate yy.com has to be adjusted at the end.

    Hello Donnie Freako
    Thanks for the the information, As i am a HR-ABAP consultent. I am not much femiler on this dynamic actions..
    for this case: the  DESCRIPTION:  In the dynamic module pool ZXXXM000 has to be changed. - so for this where exactly i need to check the transcation, i think its in SE51..
    please provide me the steps for the same... and if possible please provide the breaf detaild explination for the below code where exactly i need to place the below, i think we need to place this in T588Z table against fields and values and whatis the meaing of P and I and F and W .. as a technical person i dont know much about this please help me on the same..
    P PSPAR-MASSN=u2019Z1u2019
    P P0001-BUKRS=u2019003u2019
    I INS,0105,0010/D
    F Z_003_EMAIL (ZEMAIL)
    W P0105-USRID_LONG=RP50D-FIELD1
    P P0001-BUKRS=u2019004u2019
    I INS,0105,0010/D
    F Z_004_EMAIL (ZEMAIL)
    W P0105-USRID_LONG=RP50D-FIELD1
    clear explination would be appreciated

  • BDC  for  Hiring a Employee through hiring action

    Hi Experts,
    We have done BDC for hiring action.
    We do have PA & OM integrated. T77S0 PLOGI ORGA "X".
    After hiring is compelted through BDC holder relationship is not appearing for position.
    But when we are individually hiring an employee, position is assigned to a holder.
    Please advice.
    Regards,
    IFF

    Hi,
    During BDC, the integration PA-OM is not processed... you have to run RHINTE00 report.
    Kr,
    m.

  • Why Hiring Actions are not visiable with other login ID within the server.

    Dear Friends,
    I have scenario as follows.
    I have one server and all congiguration is done with one employee login ID also able to see Hiring actions through PA40 in same server. And when we login with other Authorized login id im not able to see those Hiring actions through PA40.
    Parameters are set through SU01, Server is same and both the Login ID has got proper authorizations.
    Please help me out with your valuable suggestions.
    Thanks,
    Shab.

    Hi,
    Go to SU01 and give ur user id
    go to parameters
    and maintain MOL and UGR maintained as country grouping (eg:40 (India)) save and refresh the system
    then try
    Regards,
    naveen

  • Relation between Date Profile and Action Profile

    Hi Folks,
    I don't want any date profile assigned to my transaction type SLFN. When I took out date profile and saved system gave me error "Action profile is only allowed with date profile SLNF_HEADER". I have assigned Z action profile to SLFN.
    Is there any relation between both them? Where do we maintain it?
    Points would be rewarded.
    Regards,
    Nikhil

    Hi Nikhil,
    Its mandatory to have date profile for actions.Because once you execute the actions it picks up the date based of the profile and system date, and maintain that information in the system.
    I think we can only have print actions without date profile.
    Regards
    Arun Kumar

  • Can we change start date of Additional Actions(0302)Record

    Hi All,
    Can we change start date of Additional Actions(0302)Record.
    Please reply us as soon as possible.
    Regards,
    Chandra P

    Thanks Sikindar
    It helps us very much.

  • Insert data into CRM Actions tabs

    Hi experts
    Is there any function modules or bapi or workarounds to insert data into CRM Actions tabs (table PPFTTRIGG)?
    Is there any consequences if were to perform direct insertion to the table PPFTTRIGG?
    thanks in advance!

    Hi,
    Use FM CMS_PPF_ACTION_TRIGGER 
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Following error pops up in the hiring action

    dear gurus,
                     Following error pops up in the hiring action when i execute PA40,plz help me to solve this problem.
    message:No authorization for IT1001 has active status in active plan version.
    Thanx in advance.

    Hi,
    IT 1001 is Infotype 1001. Each infotype is like a DB table so you can check table HRP1001 for infotype 1001.
    Regards,
    Atish
    Edited by: Atish Sarda on Mar 5, 2008 1:38 PM

Maybe you are looking for