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: 

PM Order: Get Person Responsible

Former Member
0 Kudos

Hi All.

Does anybody know where the table is where I can find the personnel number and/or personnel name of the person responsible that links to a specific order?

If I have the pernr, I know how to find the employee

in the relevant HR table.

I apppreciate any help.

Sincerely

Ryno

9 REPLIES 9

Former Member
0 Kudos

Ryon,

Are you looking for the table

EQUI

where in you can find person created or last changed person using

EQUNR

.

If not this is not you needed check the list of PM tables at http://www.sapgenie.com/abap/tables_pm.htm

rgds

TM.

Former Member
0 Kudos

you can query table PA0002.

0 Kudos

Hi Sharath

Yes, I have to get it from PA002, but how do I get the

personnel number from the PM order?

Sincerely

Ryno

Former Member
0 Kudos

Hi,

Pass the PM number to AUFK and get field USER2. This should be having Person responsible.

Former Member
0 Kudos

Hi,

You can use AUFK-USER2 for Person Resposible of PM order.

regards,

ram

0 Kudos

Hello

The field AUFK-USER2 does not have a value, but the order does.

venkat_o
Active Contributor
0 Kudos

Hi Ryno Boyens ,

<b>1</b>.

Use AUFK-ERNAM field .This is user ID of Who has created ORDER .

<b>2</b>.

Use Infotype table PA0105 (Communications IT).

Get the PERNR from this table like this

Select single PERNR

from PA0105

into l_pernr

where subty = '0001'

and usrid = AUFK-ERNAM

and begda le sy-datum

and endda ge sy-datum.

<b>3</b>.

The below is must.

and begda le sy-datum

and endda ge sy-datum.

<b>4</b>.

After getting PERNR from that table get emp name from PA0001

Select single ENAME

from PA0001

into l_ename

where pernr = l_pernr

and begda le sy-datum

and endda ge sy-datum.

I think that it helps u .

<b>Thanks

Venkat.O</b>

Former Member
0 Kudos

I require the person responsible's name per operation.

For Example:

1. Go to IW33, put in an order.

2. Click on the operations tab.

3. Click on the general button at the bottom.

4. Click on the requirements assignment tab (if it exists)

5. There is a person column.

I need that person's name, I dont have the personnel number.

Thank you

Hi Ryno Boyens,

To get the person responsible for the PM order follow the logic.

Pass the order OBJNR to IHPA table and pick the PARNR field.

Pass the PARNR field as PERNR field in PA0002 Table and get VORNA NACHN fields.