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

Joining PA and HRP tables

Hi,

I need to join PA0001 or PA0105 with HRP1000 so I can get a record that lists the employee name (SNAME) with their a object name (STEXT). Would this be done by filtering HRP1000 to object type = P and then joining the object id with the personnel number (PERNR)? this is somewhat urgent.


Cheers,

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Nov 02, 2015 at 04:15 PM

    Yes. The object id in HRP1000 for object type "person" is the employee ID from PA0001.

    ....and you can make your life easier by using any one of the several functions/methods that will "match" the two for you. 🤪

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 02, 2015 at 05:01 PM

    Normally Person data 'P' is not maintained in HRP1000. What data would you like to fetch from HRP1000?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 06, 2015 at 08:55 PM

    Read PA0105 matching on USRID and Subty = 0001 plus dates. You get a match then use the PERNR from the matching 105 to read another PA table for that PERNR.

    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.