2008 Jun 06 3:07 AM
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
2008 Jun 06 4:35 AM
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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |