ERPClimb logoERPClimb
Billing
SD / O2Cintermediate 5 min read

SD Billing Part 2: Billing Type Configuration and Copy Control

Preview · a free account unlocks the full lesson

Key takeaway

Configure billing types (VOFA): number ranges, document category, cancellation billing type, posting block, account determination procedure, output, invoice list type, and connect them via copy control from deliveries (VTFL), orders (VTFA) and billing documents (VTFF) with quantity and pricing rules.

In this lessonShow sections

Visual overview

SD Billing Part 2: Billing Type Configuration and Copy Control — learning sheetFlow: Copy F2 to ZF2 in VOFA (with copy function) → Set number range, cancellation type, account determination procedure → Assign ZF2 in VOV8 and maintain VTFL/VTFA → Create, post and cancel a ZF2 invoice. Key ideas: BILLING TYPE (VOFA); ASSIGNMENT; COPY CONTROL; SPLIT-RELEVANT SETTINGS. Watch out: A copied billing type without cancellation type or account determination procedure fails at cancellation or posting.ERPClimb.com / SD / LESSON 2/10 / LEARNING SHEETSD Billing Part 2: Billing Type Configuration and CopyControl1 · HOW IT FLOWS1Copy F2 to ZF2in VOFA (withcopy function)2Set numberrange,cancellation…3Assign ZF2 inVOV8 andmaintain…4Create, post andcancel a ZF2invoice2 · KEY IDEAS EXPLAINEDBilling Type (Vofa)Number ranges (internal), document category(invoice, credit memo, cancellation…).Cancellation billing type (F2 → S1), copyingrequirements for cancellation.AssignmentVOV8: delivery-related and order-related billingtype per order type.Delivery type/copy control can propose billingtypes.Copy ControlVTFL: delivery → billing (billing quantity,pricing type, copying requirement 004).VTFA: order → billing (order-related, requirement002/012).Split-Relevant SettingsData transfer routines in copy control can addsplit criteria (Part 4).3 · REMEMBER · WATCH OUTRememberBilling type (VOFA, table TVFK) controls numbering, document category,cancellation type, posting block, account determination procedure…Order types point to billing types in VOV8 (delivery- andorder-related).Copy control defines billing from deliveries (VTFL), orders (VTFA) andbilling documents (VTFF) — including billing quantity and pricing…!Watch outA copied billing type withoutcancellation type or accountdetermination procedure fails atcancellation or posting.4 · IN A REAL PROJECTA client copied F2 to ZF2 by creating a new entry, not with the copy function. Invoices posted fine, butcancellation failed ("cancellation billing type not defined"), and no output was determined. Theteam compared ZF2 field by field with F2, added S1 as cancellation type and the output settings, and added…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Part 1 described what billing does in order-to-cash; this part looks at how billing types are configured and how copy control drives them.

The billing type, maintained in VOFA and stored in table TVFK, controls the document's number range, its document category (invoice, credit memo, cancellation, and so on), which billing type is used to cancel it, whether a posting block holds it out of accounting, which account determination procedure applies (typically KOFI00), which document pricing procedure it uses, its output procedure, and its invoice list type (such as LR).

Order types point to the relevant delivery-related and order-related billing types in VOV8, and the delivery type or copy control can also propose a billing type.

Copy control is where the actual data transfer happens: VTFL governs delivery-to-billing (controlling billing quantity, pricing type, and typically copying requirement 004), VTFA governs order-to-billing for order-related billing (using requirements such as 002 or 012), and VTFF governs billing-to-billing, for example when an F2 invoice is referenced to create a G2 credit memo.

Split-relevant settings can be added into copy control through data transfer routines, as covered in Part 4. A posting block is useful specifically to keep an invoice out of FI until it has been released, for instance pending approval.

Special billing types exist for specific purposes: F5 and F8 are pro forma types (order-related and delivery-related respectively) that never post to accounting and can be repeated, while FAZ is a down payment request used with billing plans that include down payments.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Code example
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Referenced SAP objects

Reviewed reference pages for the objects this page mentions.

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.