Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 1 of 5

Client and company code

10 min

Listen to this lesson

0:00 / 7:10

Before SAP can record a single sale, it needs to know how the company is built: which legal entities exist, where goods are made and stored, who sells and who buys. SAP models this with organizational units (often called org units or the enterprise structure). They are set up during implementation and rarely change, but almost every document you create carries several of them. Get them wrong in a test and the test proves nothing.

This course builds the full structure of Contoso Motor Co., the fictional company used throughout the Academy. By the end you will be able to read a Contoso sales order or purchase order and name every org unit on it.

The client

The client is the highest level in an SAP system. It is a self-contained unit with its own business data, its own master data and its own users, identified by a three-digit number. A single system can contain several clients that cannot see each other’s business data. Companies typically use separate clients for purposes such as configuration, testing and training, and production runs in one client.

Most configuration is client-specific, but some settings and all programs are cross-client: they apply to every client in the system. That is why a change made "only in the test client" can sometimes affect others in the same system, and why project teams control changes carefully.

Programs and cross-client settings reach every client in the system, while business data and most configuration stay inside one client.
The Sign-Off Table · thesignofftable.com/academy/sap-fnd-105
Client-specificCross-client
What it coversBusiness data, master data, users and most configurationAll programs and some settings
Contoso exampleA sales order created in quality client 100A program change in the quality system
Reach of a changeStays in that clientApplies to every client in the same system
Why a change made “only in the test client” can still reach other clients in the same system.
The Sign-Off Table · thesignofftable.com/academy/sap-fnd-105

The company code

The company code is the central unit of financial accounting. It represents an independent legal entity: the smallest unit for which a complete, self-contained set of accounts can be drawn up, including a balance sheet and an income statement for external reporting. Each company code has a four-character key, a country, a local currency, a chart of accounts and a fiscal year definition.

AttributeContoso Motor Co. (US)Why it matters
Company code1710Appears on every financial posting
CountryUnited StatesDrives tax, legal reporting and some country-specific functions
CurrencyUSDThe local currency of all its postings
Fiscal yearCalendar year, 12 periodsDefines which period a posting falls into

Key attributes of Contoso’s company code

Two settings behind the company code shape every posting. The chart of accounts is the list of G/L accounts the company code uses; several company codes can share one, which makes group reporting easier. The fiscal year variant defines how the year is split into posting periods. When a test posting fails because "the period is not open," it is the company code’s posting periods that are closed, not the plant’s or the user’s.

Company code 1710 takes its G/L accounts from a chart of accounts and its periods from a fiscal year variant; which periods are open is controlled separately.
The Sign-Off Table · thesignofftable.com/academy/sap-fnd-105

A group needs one company code per legal entity, even within one country. Contoso already has two US entities: Contoso Motor Co. (company code 1710) and Contoso Parts Distribution LLC (company code 1810, plant 1810 Toledo), and sales between them are intercompany transactions. Contoso has no foreign subsidiary yet, but one is planned: after the S/4HANA conversion it will acquire Alternadores del Norte S.A. de C.V. in Monterrey, Mexico. That company gets its own company code, 1910, with Mexico as its country and Mexican pesos (MXN) as its local currency, and its own plant 1910 Monterrey. Sales between it and Contoso Motor Co. will be intercompany transactions, with each side posting in its own books and its own currency.

Client 100The whole set of Contoso data in the quality system.
Company code 1710: Contoso Motor Co. (US)The legal entity; balance sheet and income statement in USD.
Company code 1810: Contoso Parts Distribution LLCContoso's second US legal entity, also in USD, with its own statutory books and plant 1810 Toledo.
Company code 1910 (planned): Alternadores del NorteMonterrey, Mexico, in MXN; added after the S/4HANA conversion.
Client and company codes: one client can hold several legal entities.
The Sign-Off Table · thesignofftable.com/academy/sap-fnd-105

Who sets this up

Org units are defined by the implementation team in configuration, usually early in a project, and changed only through controlled projects later. Business users do not create them, but they must know them: the right org units are the first thing to check on any document. In Public Edition the same concepts apply, but the structure is set up through SAP Central Business Configuration rather than the classic Customizing menu (transaction SPRO), and SAP’s preconfigured content suggests a starting structure.

If you are new to a company, ask for its enterprise structure overview: a one-page picture of company codes, plants, sales organizations and purchasing organizations, with their keys. It is the single most useful reference a tester can pin above the desk.

What would you do?

A tester posts a supplier invoice in the quality system and cannot find it in the training client. She suspects the posting failed. What is the most likely explanation?

Key points
  • The client is the top level: its own business data, master data and users, with a three-digit key.
  • Some settings and all programs are cross-client, so changes can reach other clients in the same system.
  • The company code is a legal entity with its own complete set of accounts, currency and country.
  • Contoso Motor Co. is company code 1710 (USD); its second US entity, Contoso Parts Distribution LLC, is 1810.

Check your understanding · not graded

Lesson check

  1. 1. What is the highest organizational level in an SAP system?

  2. 2. What does a company code represent?

  3. 3. Which key length does a company code have?