Sub topic 2
The business partner as the single master data object
This chapter explains the central idea of the S/4HANA master data model: one business partner (BP) record stands behind every customer and every supplier. It assumes you know SAP GUI navigation, the ERP customer and vendor views (sales, purchasing, accounting), organizational units such as company code and sales area, and basic relational keys. Categories, roles, groupings and the table layout each get their own chapter later. Here you build the overall picture they fit into.
The problem the business partner solves
In SAP ERP, a customer lived in tables such as KNA1, KNB1 and KNVV. A vendor lived in LFA1, LFB1 and LFM1. The two objects had separate transactions (XD01, XK01) and separate number ranges. Their address, bank and tax data were kept separately.
A company that bought from and sold to the same organization therefore had two records for it. Corrections to the address or bank details had to be made twice, and the two records could drift apart. Some firms built custom synchronization or used the older Customer/Vendor Integration (CVI) as an optional add-on. Others simply lived with the duplicates.
In S/4HANA, SAP made the business partner the leading object. You create and change the partner. The customer and supplier records are derived from it.
What "single master data object" means
A business partner is any person, organization or group your company has a business interest in. The BP record holds the data that is true regardless of how you do business with the partner:
- name and search terms
- addresses and communication data
- bank details
- tax numbers and other identification numbers
- the partner's category and grouping
What the partner is to you is expressed through roles. A role such as FI customer, sales customer, supplier or contact person adds the views and fields needed for that function. One BP can hold several roles at once, so one record covers a company that is both your customer and your supplier.
Before and after
| Aspect | SAP ERP (classic) | SAP S/4HANA |
|---|---|---|
| Leading object | Customer master and vendor master, each on its own | Business partner |
| Maintenance transactions | XD01, VD01, XK01, MK01 and similar | Transaction BP |
| Address, bank, tax data | Stored per customer and per vendor | Stored once on the partner |
| Partner that is both customer and vendor | Two records, often linked by a manual field | One record with two sets of roles |
| Link to customer/supplier tables | Not applicable, or optional CVI | CVI is mandatory |
| Number assignment | Separate ranges for customers and vendors | Number range per BP grouping, with customer and supplier numbers coordinated with it |
The last row has a nuance. The standard approach is to keep the BP number and the customer or supplier number identical. That is a configuration choice, not a law, and a later chapter covers it.
How the pieces fit together
The BP record sits in the middle. Roles decide which customer or supplier data a partner may have. CVI is the synchronization layer. It creates and updates the corresponding customer or supplier record whenever you save a BP that holds the relevant role.
Two consequences follow from this picture:
- Downstream applications do not change their data source. Sales order processing, invoicing and purchasing still read KNA1, LFA1 and related tables. They keep working because CVI keeps those tables filled.
- The direction of maintenance is one-way in practice. You maintain the BP, and CVI writes to the customer and supplier side. Creating a customer directly in KNA1 bypasses the model and is not supported.
What you can see in the system
The link between a partner and its customer record can be checked with a short query. This report lists organization partners that have a customer record, with the names from both sides. It uses the CVI link table CVI_CUST_LINK, which stores the partner's GUID and the customer number.
REPORT zbp_overview_check.
SELECT b~partner,
b~bu_group,
c~customer,
k~name1
FROM but000 AS b
INNER JOIN cvi_cust_link AS c
ON c~partner_guid = b~partner_guid
INNER JOIN kna1 AS k
ON k~kunnr = c~customer
WHERE b~type = '2'
INTO TABLE @DATA(lt_result)
UP TO 10 ROWS.
LOOP AT lt_result ASSIGNING FIELD-SYMBOL(<ls_result>).
WRITE: / <ls_result>-partner,
<ls_result>-bu_group,
<ls_result>-customer,
<ls_result>-name1.
ENDLOOP.Run it in a system that has migrated or newly created partners. In a clean S/4HANA system, every customer in KNA1 should appear in this list, because every customer originates from a partner. A customer in KNA1 with no entry in CVI_CUST_LINK is an inconsistency and a typical subject of troubleshooting, which a later chapter covers.
Key design decisions
Central data versus role data
A rule of thumb helps when deciding where a field belongs:
- If the value describes the partner as a legal or physical entity (name, address, tax number, bank account), it belongs to the BP and is shared by all roles.
- If the value describes how you do business with the partner (payment terms, reconciliation account, incoterms, order currency), it belongs to a role and its organizational level.
Role-specific data is still entered inside transaction BP. It appears on tabs that become visible only when you switch to the matching role. Later chapters explain how customer data splits into general, company code and sales area levels, and how supplier data splits into general, company code and purchasing organization levels.
Category, role and grouping are different things
Newcomers often mix these three terms up.
| Concept | Question it answers | Can it change after creation? |
|---|---|---|
| Category | Is the partner a person, an organization or a group? | No |
| Role | What function does the partner have for me? | Yes, roles can be added later |
| Grouping | Which number range and field control applies at creation? | It is fixed for practical purposes once the partner exists |
Roles are additive, so one partner can start as a prospect and later be extended to a customer or a supplier without creating a new record. The category and grouping are chosen once, so choose them carefully.
Common mistakes at this stage
- Looking for XD01 or XK01 to create a customer. In S/4HANA these are replaced by transaction BP, so create the partner and assign the customer role.
- Assuming a partner without a customer role has a row in KNA1. It does not. A BP with only a contact person role or a prospect role has no customer record.
- Updating KNA1 or LFA1 directly with custom code. This bypasses CVI and leaves the BP side out of date.
- Creating a second partner for a company that is already a customer. Add the supplier role to the existing partner instead.
Exercise
A company in your system is already a customer, with a business partner record. Purchasing now wants to buy from the same company. What should you do in transaction BP, and why is that better than creating a new partner?
Show answer
Open the existing partner, add a supplier role (for example FLVN00 for the financial accounting view, then the purchasing role as needed), and maintain the supplier data on the new tabs. CVI then creates the supplier record in LFA1 and related tables. This keeps one set of central data (name, address, bank, tax number) shared by both roles, so a correction is made once, and it avoids the duplicate-record problem of the ERP customer and vendor masters.
Exercise
A developer proposes inserting a new customer straight into KNA1 because "that's where the sales order reads from". Give two reasons this is wrong in S/4HANA.
Show answer
First, the business partner is the leading object. A KNA1 row with no partner and no entry in CVICUSTLINK is inconsistent, and the partner cannot be maintained in transaction BP. Second, CVI only synchronizes from the BP side to the customer tables, so the row would miss the central data and could be overwritten or flagged as an error during synchronization checks.