What Isclient
What Isclient
It is a
way to have different groupings of data within one database. Originally multiple companies ran SAP
from one system and database in a time sharing fashion. The 'client' was the company they were doing
business with. They added more companies and they became more clients in the system. The design
created to separate one company's information from another a dded a 'client' or mandt field to each
client-related data table. Behind the scenes any data access additionally specifies the client number that
the user logged into.
Using the MARA table (general material data) as an example, the first data field is mandt followed by
material number and other material fields. If you logged into client 300 and in an ABAP program did a
database query like select * from mara SAP in the backgreound is actually querying the database as
select * from mara where mandt = 300.
Clients can be used for separating data for multiple companies or multiple divisions or just created for
testing a process or dataload. Clients can be created, copied and deleted.
*********************************************************************************
A client is organizational and legal entity in the SAP system. All the business management data is
protected here because other clients can not access them. The main objective of the client is to keep the
data isolated. The data in a client can be only visible within that client; it can not be displayed or
changed from another client. In a physical SAP system there can be multiple clients. Each of these clients
can have different objective or each client represents a unique work environment. In a development
environment one client can be used as sandbox client (developers learn how to configuration using SAP
environment), one can be used as prototype client (users do the customizing according to the
company’s requirements and testing) and another one can be used as the master development and
configuration client (where the final configuration is done). A client has its own set of tables and user
data. To know whether a table is client dependant or independent you can search for a field MANDT.
The client dependant tables always include the client field ‘MANDT’ as a part of the primary key. There
can be multiple clients in each of the system of SAP system landscape as we have already seen in
chapter 5. It is better to understand the customizing process in the CTS pipeline before designing a good
client strategy for the SAP systems. Customizing is a method in the SAP R/3 system that helps the user to
configure the functionality from SAP, according to the customer requirements. When the SAP objects
are just used by only one client, we define them as client dependant data. There are some objects as
ABAP/4 programs, which are used by all the clients in a SAP system. Those objects are called client
independent data. The functional changes resulting from customizing can be client specific (client
dependant) or general (client independent). You must know the fact that client independent
customizing can create problems if the authorizations and the client strategy are not defined properly.
For example if you have three clients in a development environment then the role of each client should
be defined properly. One of these three clients should be used for client independent customizing and in
other clients, users will not have the authority to do any client independent configuration.
With a standard installation, SAP delivers 000, 001 and 066 clients. Client 000 is considered to be a SAP
reference client and it should not be changed or deleted at anytime from the system. After a SAP system
is installed, you can create other clients from 000 by using the client copy procedure. For some
important configuration you have to logon to client 000. For example, if you want to configure your CTS
system then this client must be used. Client 000 also plays a very important role in upgrade process.
Every time you do upgrade client dependant changes will be automatically upgraded in this client and
later on the changes can be copied to other clients.
The customer uses client 001 as a SAP sample client. After a new installation both 000 and 001 clients
are identical, but after an upgrade 000 will have additional customizing data