Sub topic 3
Person, organization and group: business partner categories
This chapter assumes you know basic SAP GUI navigation and the classic customer and vendor masters. It also assumes you know that SAP S/4HANA uses the business partner (BP) as the leading master data object. Roles, groupings and number ranges come in later chapters.
What a category is
The business partner category says what kind of real-world party the partner is. It decides which fields appear on the screen and how the name is stored. You choose it when you create the partner, and you cannot change it afterwards.
SAP delivers three categories:
| Category | Code | Typical use | Name fields |
|---|---|---|---|
| Person | 1 | A private individual, such as a retail customer or a sole trader | First name, last name, title, birth date |
| Organization | 2 | A company, authority or other legal entity | Name 1 to Name 4, legal form, industry |
| Group | 3 | A set of people or organizations, such as a household or a project team | Group name 1 and 2 |
The code is stored in the field TYPE of table BUT000. The OData API calls it BusinessPartnerCategory.
Choosing the right category
Ask what the partner is in law and in practice.
- A supplier that is a limited company is an organization. Use category 2.
- A consumer who buys from a web shop is a person. Use category 1.
- A purchasing consortium or a household that you want to address as one unit can be a group. Use category 3.
Most customers and suppliers in a business-to-business system are organizations. Persons are common in retail and utilities. Groups are rare, and you should use them only when you need one record to represent several parties.
Why the category matters later
The category does not make a partner a customer or a supplier. Roles do that. Any category can take customer or supplier roles, but the category affects what you can do:
- The name is stored differently. A person has first and last name. An organization has name lines.
- Some roles and screen areas depend on the category. For example, contact persons are themselves person partners that you link to an organization.
- A wrong category forces you to create a new partner and migrate the dependent data, because the category cannot be edited.
Reading the category in code is simple. This query lists organization partners, which is category 2:
SELECT partner, type, bu_group
FROM but000
WHERE type = '2'
INTO TABLE @DATA(lt_orgs)
UP TO 10 ROWS.In the API, the same filter is BusinessPartnerCategory eq '2'.
Common errors
- Creating a company as a person because the person form looks shorter. The name then has no organization fields, and reports that expect Name 1 fail to show it properly.
- Using a group for a company with several branches. Model the branches as separate organization partners and link them with relationships instead.
- Assuming the category can be fixed later. Plan it before you load data.
Exercise
A hotel chain wants to record a retail guest who pays by invoice, and also the company that employs the guest and is billed for the stay. Which category fits each record, and where is the category stored?
Show answer
The guest is a person (category 1). The employer is an organization (category 2). The category is stored in the field TYPE of table BUT000 and is exposed as BusinessPartnerCategory in APIBUSINESSPARTNER.