Skip to Content
0

SAP PM Relationships

Oct 13, 2017 at 09:44 AM

76

avatar image
Former Member

I have a 2 maintenance orders, I have gone into the operation of each order and within the relationships tab, I have linked the orders.

I am trying to find the relationship in the tables and cannot find them, I have checked tables, AFAB, AFVC, AUFK and had no luck in finding the relationship

Any help would be appreciated

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

avatar image
Former Member Oct 13, 2017 at 04:48 PM
-1

Hi Bav - AFAB should gove you the relationship. There isnt any data in the table currently?

Plan number in AFVC matches the predecessor ID in AFAB.

Share
10 |10000 characters needed characters left characters exceeded
Nic Teunckens Oct 13, 2017 at 12:14 PM
0

See table "AFKO" and field "MAUFNR" which provides the 'Superior'-Order, marking the Difference between Main and Sub-Order ...

Share
10 |10000 characters needed characters left characters exceeded
Bernd Broesamle
Oct 20, 2017 at 12:38 PM
0

Hi Bav,

operations are identified by fields AUFPL and APLZL, so you cannot simply search in tables AFVC and AFAB using the order number.

First you need to read field AUFPL from table AFKO for your order number (field AUFNR).

Then you can determine APLZL from table AFVC (using AUFPL and the operation number VORNR).

Then read table AFAB with field AUFPL_VOR = AUFPL and APLZL_VOR = APLZL or AUFPL_NCH = AUFPL and APLZL_NCH = APLZL, depending if the order is the predecessor ("_VOR") or the successor ("_NCH").

Kind regards,

Bernd

Show 1 Share
10 |10000 characters needed characters left characters exceeded

And the ink to AFVC-AUFPL = AFKO-AUFPL (or VIAUFKS)

PeteA

0