Skip to Content
author's profile photo Former Member
Former Member

function module for hiring date

Hi All,

What is the function module to find out the hiring date of an employee?

Please help.

Thanx in advance,

Amruta.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 27, 2007 at 11:43 AM

    Check this FM

    HR_ECM_GET_HIRE_DATE

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 27, 2007 at 11:49 AM

    Dear Amruta

    you can find begda from IT-0000 for that employee.

    you can check massn (action) for hiring. i.e find begda from IT-0000 where pernr = <employee no> and massn = <hiring action code>.

    reward points if helpful

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 27, 2007 at 03:07 PM

    Hi. You can also pull the information from infotype 41 yourself. Our hire date is date type Z1. We use this code in reports:

    • Get Hire Date

    rp-provide-from-last p0041 space p_rdate p_rdate.

    SEARCH p0041 FOR 'Z1'.

    IF sy-subrc = 0.

    ADD 2 TO sy-fdpos.

    w_hire_date= p0041+sy-fdpos(8).

    ENDIF.

    If you are not using the PNP logical database in your program, you could replace the rp-provide statement with a function module call to read the infotype. I hope this helps.

    - April King

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.