SAP tableObjectAFVUModulePP_M2D

AFVU table — Order Operation User Fields Table

AFVU holds customer-defined additional fields for a single production order operation. It is keyed identically to the operation table AFVC (routing number AUFPL plus operation counter APLZL) and exists purely as an extension slot for enhancement fields that were not part of the standard operation record, not as a source of core scheduling or confirmation data.

AFVU is the user-field extension table for order operations, sharing its key with AFVC. This page covers what a row actually represents, how to join it safely, and the most common wrong conclusion drawn from an empty or sparse AFVU table.

Published 16 Sept 2026· 954 words

What it stores

One row in AFVU represents the set of customer-defined additional fields attached to one specific order operation (occasionally a routing operation, depending on how the enhancement was activated). It does not carry any SAP-delivered business content of its own beyond the key. The table exists because SAP provides an append or include mechanism so implementations can add fields to the operation screen (confirmation, operation detail) without modifying AFVC directly. Whether a given order operation has a populated AFVU row at all depends entirely on whether the implementation activated and filled that customer extension. A production order with thousands of operations can have an AFVU table that is mostly empty, and that is normal, not a data error.

Key fields

  • MANDT - client
  • AUFPL - routing number, shared key with AFVC identifying the operation group the row belongs to
  • APLZL - general counter (operation counter) within that routing number, together with AUFPL forming the full link back to a single operation in AFVC
  • remaining fields are customer-namespace or configuration-dependent additions delivered through the operation user-field enhancement structure; their names and meaning vary by implementation and must be checked in the actual system rather than assumed

How it joins the data model

  • AFVU-AUFPL = AFVC-AUFPL and AFVU-APLZL = AFVC-APLZL, the mandatory join to reach the operation this extension belongs to
  • AFVC-AUFPL = AFKO-AUFPL, the join used to get from an order number to the routing/operation key before joining into AFVU
  • AFVC-AUFPL = AFVV-AUFPL and AFVC-APLZL = AFVV-APLZL, used when a query needs both the enhancement fields and the standard quantities/dates for the same operation
  • no direct key relationship exists between AFVU and AFRU or RESB; any comparison against confirmations or reservations must go through AFVC first

How to read it safely

AFVU is client-dependent and keyed exactly like AFVC, so it should never be queried alone. Selectivity is entirely inherited from AFVC: restrict on AUFPL first, derived from AFKO for a specific order number, then narrow by APLZL if a specific operation is needed. Because the table can be sparsely populated, a missing row for a given AUFPL/APLZL is not proof of a data problem; it may simply mean the enhancement was never triggered for that operation. Full table scans are rarely useful and rarely fast, since there is no secondary index worth relying on beyond the primary key.

How to prove it in the data

Symptom: a custom field entered on the operation confirmation screen does not appear to save. Get the order's AUFPL from AFKO using AUFNR, get APLZL for the operation in question from AFVC, then select AFVU on that exact AUFPL and APLZL. If no row exists, the enhancement never wrote to the table for that operation and the problem is upstream (screen exit, user-exit logic, or activation), not the table itself. If a row exists but the value is wrong, the problem is in the update logic feeding AFVU.

ECC vs S/4HANA

AFVU continues to exist as a physical table in S/4HANA; migrated orders and routings that used the operation user-field enhancement keep their AFVU rows. There is no indication this table has been folded into a CDS compatibility view the way many classic PP header tables have, since its content is customer-specific by design rather than a standard SAP data structure that lends itself to a generic reporting view. Any reporting built on AFVU in an S/4 conversion should be re-validated rather than assumed to still function, particularly if the underlying enhancement was reworked during the move to Fiori confirmation apps.

Common pitfalls

  • Treating an empty or thin AFVU as evidence of missing master data. Emptiness is expected unless the enhancement was configured and used for that particular order or operation.
  • Querying AFVU without joining to AFVC first and drawing conclusions from AUFPL/APLZL combinations that no longer correspond to a live operation, for example after a routing change.
  • Confusing AFVU with AFVV. AFVV holds standard quantities, dates, and control values for the operation; AFVU holds only customer-added fields. Assuming AFVU carries scheduling or quantity data is a common and costly mistake.
  • Assuming the field layout is standard across systems. Because AFVU's payload fields come from a customer-specific append or include, the same field name can carry different meaning in different landscapes, or not exist at all in a system where the enhancement was never activated.
  • Chasing an AFVU data discrepancy as a functional master data issue when it is actually an ABAP enhancement or screen logic issue; the fix belongs with whoever built or maintains the extension, not with the person maintaining the routing or order.

Whose problem this is

The functional PP consultant confirms what the enhancement fields are supposed to mean and when they should be populated. Whether the data is actually landing correctly in AFVU, and why, is an ABAP development question, since the fields and the logic that fills them were built as a custom or partner enhancement, not delivered SAP standard behavior.

Related SAP objects

Reviewed pages this object connects to in the ERPClimb knowledge graph.

Source: ERPClimb — https://erpclimb.com/sap-tables/afvuERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.