Sub topic 1
Where customer and vendor masters came from
Prerequisites
This chapter assumes you have:
- Basic familiarity with SAP GUI navigation and transaction codes.
- A general understanding of customer and vendor master data in SAP ERP, including the sales, purchasing and accounting views.
- Awareness of organizational units such as company code, sales area and purchasing organization.
- A basic understanding of relational tables and keys.
Two separate objects
In SAP ERP (ECC) and earlier releases, a customer and a vendor were two unrelated master data objects. Each had its own transactions, tables, account groups and number ranges.
| Aspect | Customer master | Vendor master |
|---|---|---|
| Create transactions | XD01, VD01, FD01 | XK01, MK01, FK01 |
| General data table | KNA1 | LFA1 |
| Company code data | KNB1 | LFB1 |
| Organization-level data | KNVV (sales area) | LFM1 (purchasing organization) |
| Account group field | KTOKD | KTOKK |
Each object was split into levels. General data applied to the whole client. Company code data supported accounting. Sales area data supported sales, and purchasing organization data supported procurement. You will meet these levels again in later chapters.
Problems this design caused
The split worked while customers and suppliers were different companies. In practice many partners are both. A trading company buys from you and sells to you. In ECC you created two records, each with its own number, address and bank details.
This led to recurring problems:
- Duplicated data. The same address existed in KNA1 and LFA1. A change in one place did not reach the other.
- Inconsistent keys. The customer number and vendor number usually differed, so reports had to map them by hand.
- Weak offset handling. Clearing a customer balance against a vendor balance needed extra fields and manual care.
- Several data models. Other SAP products, such as SAP CRM and industry solutions, already used a central business partner. Linking them to ECC masters required synchronization logic.
The step toward one object
SAP introduced the business partner (BP) as a central person or organization record that could carry several roles. In ECC it was optional. Customer/Vendor Integration (CVI) was added to keep the BP and the classic customer and vendor records in sync.
In SAP S/4HANA the business partner is mandatory. The classic create and change transactions for customers and vendors, such as XD01 and XK01, are no longer the way to maintain these records. You maintain them in transaction BP. The tables KNA1, LFA1 and their related tables still exist. CVI fills them from the business partner, so existing reports and programs keep working.
What stays the same
The data levels do not disappear. Company code, sales area and purchasing organization data still exist, and they are still stored in the classic tables. What changes is the entry point. The partner is created once, and its roles decide whether it behaves as a customer, a supplier or both.
The next chapters explain this model: what the business partner holds, how roles work, and how CVI keeps the two sides aligned.
Exercise
In ECC, a company is both your customer and your supplier. How many master records did you typically maintain for it, and what is the main risk? How does S/4HANA change this?
Show answer
Typically two records, one customer master (KNA1) and one vendor master (LFA1), each with its own number. The main risk is duplicated and inconsistent data, such as an address changed in only one place. In S/4HANA you create one business partner and give it both a customer role and a supplier role. CVI creates the classic customer and supplier records from it.