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

To find the latest record of an employee - HR

Hi All,

How would you identify the latest record of an employee ?

There could be multiple records existing in PA 30 -

Actions Infotype.

How would you identify the latest action ?

Thanks in advance,

Archana

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 09, 2005 at 12:06 PM

    Hi Archana,

    Please a make select based on the end date = 31.12.9999.

    Hope it works

    Regards

    Satish Nair

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 09, 2005 at 01:05 PM

    Hi Archana!

    For each action there must be a record in action infotype and corresponding Begda and Endda.

    Go to the PA20.select action infotype for particular employee and press overview button, then u will get all records corresponding to each action type.U can find out the latest one from begda and endda.

    Otherwise use the macro - RP-PROVIDE-FROM-LAST to get latest record as of Begda and Endda pa0000.

    Regards,

    Vijayakumar

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 09, 2005 at 08:22 PM

    Hi Archana

    Infotype records are time dependent and this time dependency depends on three policies adjusted by customization. The guaranteed way to retrieve valid record for a given period contains the condition:

    begda LE <selection_period_end_date> AND
    endda GE <selection_period_begin_date>

    However, infotypes which let overlapping records need another key field, namely "seqnr" to be considered.

    Regards

    *--Serdar https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]

    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.