Copy Control
SD / O2Cadvanced

SD Copy Control Part 4: Troubleshooting Copy Control and Document Chains

Key takeaway

Diagnose copy control problems fast: "copying is not possible" messages, items missing in the target, wrong quantities or prices after copying, broken document flow, and cross-document chain issues (contract → release order → delivery → invoice → credit memo) — with the analysis path and tools.

Explanation

📌 KEY POINTS
✅ Start with the exact message and the copy direction: which source type/item category → which target type.

✅ "Copying is not possible" = missing header/item entry; "requirement not fulfilled" = a copying requirement routine rejected it.

✅ Wrong prices after copying = pricing type (and condition settings); wrong quantities = copy quantity, pos./neg. quantity, billing quantity.

✅ Document flow (VBFA) and referenced quantities show whether earlier copies consumed the source.

⚠️ Fixing symptoms in the target document (manual edits) hides copy control defects that repeat on every document.

━━━━━━━━━━━━━━━━━━━━
▶ WHERE WE ARE

Parts 1–3 covered flows, fields and routines. Now the diagnostic path.

━━━━━━━━━━━━━━━━━━━━
▶ 1. READ THE MESSAGE

  • Note source document type, item category, target type.
  • Use the message long text; it often names the routine or missing entry.

━━━━━━━━━━━━━━━━━━━━
▶ 2. MISSING ENTRIES

  • Header entry in VTAA/VTLA/VTFA/VTFL.
  • Item entry for the source item category (and target item category if specified).
  • Schedule line entry for sales → sales.

━━━━━━━━━━━━━━━━━━━━
▶ 3. ROUTINE REJECTIONS

  • Identify the requirement assigned at the failing level.
  • Read its logic in VOFM; debug with a breakpoint in the FORM if needed.
  • Common: item rejected, different sold-to/sales area, blocks, statuses.

━━━━━━━━━━━━━━━━━━━━
▶ 4. WRONG DATA AFTER COPY

  • Prices: pricing type, manual condition settings, condition exclusion.
  • Quantities: copy quantity, pos./neg. quantity, completion rule, billing quantity in VTFL.
  • Partners/texts: data transfer routines and partner/text determination.

━━━━━━━━━━━━━━━━━━━━
▶ 5. CHAIN ISSUES

  • Contract fully referenced → release orders fail (check referenced quantity).
  • Credit memo from invoice with wrong amount → VTFF/VTAF pricing type.
  • Invoice missing → document flow, billing status, VTFL copying requirement.

━━━━━━━━━━━━━━━━━━━━
▶ STEP BY STEP

  1. Reproduce with the exact source document.
  2. Check header, item, schedule line entries for the direction.
  3. Read and, if needed, debug the requirement routine.
  4. Compare copied data vs. source per field; map to the controlling setting.
  5. Fix configuration and retest the entire chain.

✅ CHECKPOINT: every copy failure is traced to an entry, a routine or a field setting.

Code example

ABAP Code
===== STEP 1: message → cause ====="Copying is not possible" (e.g. VN 040)          → missing VTAA/VTLA/VTF* header or item entry"Requirement xxx not fulfilled"                   → copying requirement routine (VOFM) rejectedPrices differ from source                         → item pricing type (A/B/C/D/G)Quantity wrong / source still open                → copy quantity, pos./neg. quantity, completion ruleInvoice quantity wrong                            → VTFL billing quantity ===== STEP 2: analysis tools =====VA03 / VL03N / VF03 > Document flow           VBFA predecessor/successor with quantitiesVOFM > Requirements > Copying requirements   read / debug FORM bedingung_pruefen_xxxSE16N VBFA, VBAP (referenced quantity)Pricing analysis in target document (Conditions > Analysis) ===== STEP 3: chain check =====Contract (CQ) → release order (OR) → delivery (LF) → invoice (F2) → credit memo (G2)check each hop: entry exists | requirement ok | pricing type | quantity rule

Real project scenario

On an industrial equipment rollout, users reported that some order items "disappeared" when creating deliveries. The team first suspected ATP. Following the chain showed the delivery was created from the order via VTLA, where the item-level entry for a new Z item category was missing; items of that category were silently not copied (other items were). Adding the item entry fixed the problem. The support runbook now starts every copy issue with "direction + source item category + VTxx entry".

Common mistakes

  • Editing target documents manually instead of fixing copy control.
  • Looking only at header entries.
  • Guessing instead of reading/debugging the routine.
  • Ignoring referenced quantities when source documents are "used up".
  • Retesting only one hop after a fix.

Best practices

  • Always identify direction, source type and item category first.
  • Keep a message-to-cause runbook.
  • Debug routines with breakpoints in VOFM FORMs.
  • Retest the full chain after fixes.
  • Log recurring copy issues to improve template settings.

Interview angle

Questions: "Copying is not possible — what do you check?", "Prices changed from quotation to order — why?", "Release order against contract fails — why?"
Strong answer: missing header/item entries vs. routine rejections, pricing type for price differences, quantity controls and referenced quantities for consumed sources, document flow for chain analysis, debugging VOFM routines; fix configuration and retest the chain.

Practice this lesson

Quick check

1. Some order items are not copied into deliveries while other items of the same order are. What is the most likely cause?

2. When copying a quotation into an order, the message says a copying requirement is not fulfilled. What does this mean?

3. Release orders against a quantity contract suddenly fail although copy control is unchanged. What should be checked first?

Interview questions

1. A customer's release order is created against a quantity contract for a material under active product allocation. The original contract line was correctly checked against the allocation quota, but the release order created later is confirming quantities that exceed the remaining allocation, effectively double-dipping the quota. How would you review copy control between the contract and release order to correct this MM/allocation integration gap?

Answer it in your own words first, then compare.

2. A client uses a custom delivery type copied from LF but goods issue postings intermittently fail to update the sales order's confirmed quantity correctly, causing downstream billing discrepancies. As the architect, how would you diagnose the delivery type configuration causing this?

Answer it in your own words first, then compare.

Practice more with Interview AI →

Reference-verified: the steps are checked against official SAP documentation and tutorials, and object and field names in the sample code are checked for consistency. The code has not been compiled or run on an SAP system by ERPClimb. Syntax marked release-dependent varies by SAP release, so check it in your own system.

More lessons in this topic

Interview questions on this topic

Related SAP topics