Application Development and Automation 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: 
Read only

find active relationship

Former Member
0 Likes
428

hi, can anyone help me in writing code to find existing relationship from HRP1001 for a position entered in pa40 action org transfer.

urgent

hi, can anyone help me in writing code to find existing relationship from HRP1001 for a position entered in pa40 action org transfer.

urgent

1 REPLY 1
Read only

Former Member
0 Likes
389

Hi,

You can find every relationship for position using tcode PO13.

If you want find the holder of the position from HRP1001.

Get SOBID passing the values like

OTYPE = 'S'.

OBJID = position

PLVAR = '01'.

RSIGN = 'A'

RELAT = '008'

ISTAT = '1'.

SCLAS = 'P'.

Get SOBID . This field contains the Person holder of the position.

You can find allowed relationships for OTYPE in table T777E

and Realtionships in table T778V.