Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP-HR

0 Kudos
76

Hi all,

I've emplyee name,how to get the personnel number of that employee.

Is there any function module to get employeePERNR if we have his name?

can anyone help me out?

Thanks&Regards,

Satya.

6 REPLIES 6

Former Member
0 Kudos
52

Hi

Use PA0002 to get the pernr for Name

pass the fields VORNA or NACHN and fetch the PERNR

Reward points if useful

Regards

Anji

Message was edited by:

Anji Reddy Vangala

0 Kudos
52

Hi all,

Thank you all for ur reply.

I've employee name and i've to get his PERNR.

But the name that i've is not either VORNA,NACHN.it is a combination of these two.this name is actually the Appraisee name that i'm getting from FM "HRHAP_DOCUMENT_GET_LIST_XXL'.It is of char 40.

I've use these Appraisee names and get pernrs.

When i'm trying to see this in PA0002 it is not fetching correct pernr.

0 Kudos
52

Hi

Use the Infotype PA0105

pass the Name what you are getting to<b> USRID</b> which is a 30 char field and take the PERNR from it

this works fine.

Reward points if useful

Regards

Anji

0 Kudos
52

Hi Satya,

The combination of first and last name is present in ename field of pa0001.

Regards,

Aravind

amit_khare
Active Contributor
0 Kudos
52

If it is full name use PA0001-ENAME/SNAME fields.

For first name/middle/last name use PA0002 table.

Regards,

Amit

Reward all helpful replies

Former Member
0 Kudos
52

Hi Satya,

Goto table PA0002 in SE11.pass the employee name in field VORNA.

u will get Personnel number of that employee.

Reward points if helpful.

Regards,

Hemant