Sunteți pe pagina 1din 78

Client Administration

Client Administration

43gs4u@gmail.com

Client:
Client is an independent business entity which has its own data. SAP provides a predefined client with default settings that are necessary to customize a company The default settings are defined by getting Business requirements from various customers Client is an field in DB represented by MANDT (MANDANT is nothing but client in German language) All the clients details are stored in T000 table We can create up to 1000 clients ranging from 000 to 999 (because client field contains 3 digits only) Right after installation of SAP, we will get some default clients, those are In IDES 800, 810, 811, 812, in Non IDES 000, 001, 066 000 client It is a default client provided by SAP. It consists of templates which can be customized according to customer requirements As this is a standard client, SAP recommends not to work/perform any customizing, but this is used to apply Support Packages, Patches, Language imports, correction transports & Notes This is to ensure that 000 is continuously updated and stands as a template for other clients in the system 001 client During the initial stages of SAP implementation, people use to customize 000 client 001 is created as a copy of 000 001 is a backup client of 000 and used to restore 000 in case of any changes But the purpose is completely deviated because 000 is continuously updated by applying support packages, Notes, Patches etc So 001 is outdated and cannot be used to restore unless we perform client compare & adjust settings from 000 to 001 066 client (Early watch client) It is used by SAP to logon to customer systems (yearly twice) and generate early watch reports This client is also used by SAP to recommend the fine tunings to optimize the performance of Production system When a client is created an entry in table T000 is created with a user sap* and password pass Logon to newly created client using the standard user sap* password pass Note: sap* does not exists in user master records, it is a kernel level user

Client Related T_Codes


SCC1 Local Client Transport SCCL Local Client Copy SCC3 Client Copy / Transport Log analysis SCC4 Client Creation SCC5 Client Deletion SCC7 Post Client Import Actions SCC8 Client Export SCC9 Remote Client Copy SCU0 Client Comparison

Client Administration

43gs4u@gmail.com

Function Modules Related to Client


Use T_Code SE37 to run below programs SCCR_LOCK_CLIENT SCCR_UNLOCK_CLIENT SCCR_PERFORM_SCC1 SCCR_CLOSE_CLIENTCOPY To Lock Client To Unlock Client To terminate client copy

Client Roles or Client Strategy:


The first client which needs to be created in the Development system is Master client / Golden client / Parent client / Customizing client This is the only client where the changes are performed in the complete landscape. The changes are performed in this client are carried forward to other clients in the Landscape.

Client type Golden Client [CUST]

Client-specific objects Automatic recording of changes are allowed Changes without automatic recording Changes allowed or No changes allowed No changes , No recording

Cross-client object changes Changes to Repository and cross-client Customizing allowed

Protection level

CATT & eCATT Restrictions

CATT & eCATT allowed

Sand box [SAND] Testing client [TEST] Quality testing [QTST] PreProduction [PRED]

No changes are allowed

CATT & eCATT allowed

No changes are allowed No changes are allowed

CATT & eCATT allowed

CATT & eCATT allowed

No changes , No recording

No changes are allowed

CATT & eCATT not allowed

Production [PROD]

No changes , No recording

No changes are allowed

CATT & eCATT not allowed

SAND box: It is used to perform Customizing by functional consultants The changes are not carried forward Developers are not allowed to work on this box, because they always work with customer or SAP repository objects Testing client: It is used to test the objects that are developed in CUST client The changes are carried forward using transaction SCC1, but the change request should not be released Client Administration 3 43gs4u@gmail.com

Quality testing: The changes which are performed either client specific, repository, cross-client are imported in to quality system to perform integration, consolidation, quality testing, stress, load testing Some functional data is loaded to test the scenarios This is only the client in the Landscape which signals the object movement into PROD If the object/changes is not approved it will not be moved further in the Landscape Training Client: It is used by the service provider to train the end users of the company Pre-Production & Production clients: Pre-Production is an environment where changes will be moved from quality before moving in to Production Mostly client-specific changes are moved Changes are not allowed in client specific, cross-client & repository, CATT It is highly protected and even eCATT is disabled Summary: It is recommended to perform changes in only one client and move them strategically in the landscape If not the system will be inconsistent with various versions By using this options version management is maintained in one system

Local client copy profiles


SAP_ALL SAP_APPL SAP_APPX SAP_CUST SAP_CUSV SAP_CUSX SAP_PROF SAP_UCSV SAP_UCUS SAP_UONL SAP_USER All Client-Specific Data w/o Change Documents Customizing and Application Data w/o Change Docs SAP_APPL w/o Authorization Profiles and Roles Customizing Customizing and User Variants Customizing w/o Authorization Profiles and Roles Only Authorization Profiles and Roles Customizing, User Master Records and User Variants Customizing and User Master Records User without Authorization Profiles and Roles User Master Records and Authorization Profiles

Client Export profiles


SAP_ALL SAP_CUST SAP_CUSV SAP_CUSX SAP_EXBC SAP_EXPA SAP_EXPC SAP_PROF SAP_RECO SAP_UCSV SAP_UCUS SAP_UONL SAP_USER All Client-Specific Data w/o Change Documents Customizing Customizing and User Variants Customizing w/o Authorization Profiles and Roles Customizing, Users and Cross-Client Customizing SAP_ALL with Cross-Client Customizing Customizing Including Cross-Client Customizing Only Authorization Profiles and Roles Recovery (Only if Source Client = Target Client) Customizing, User Master Records and User Variants Customizing and User Master Records User without Authorization Profiles and Roles User Master Records and Authorization Profiles

Client Administration

43gs4u@gmail.com

When SAP is installed it comes in 3 layers

Client-Specific objects / Data Cross-client Data Repository objects Client-Specific Data: This data will be specific to that particular client Client specific data contains 1) User master data 2) Customizing data 3) Application data 4) Transaction data The client specific changes reflects only in that client Ex: PFCG, SU01

Cross-Client data: It has measurements, Time settings, calendars These objects will be accessed by all the clients If we modified Cross-client data it reflects in all clients Ex: SALE (Logical systems), SM59 (RFC Connections) Repository Objects: It has programs, function modules, screens etc Table TADIR is used to view the repository objects These are of SAP standard and by default all the objects are locked for editing (ex: TADIR, TSTC)

Client Administration

43gs4u@gmail.com

Client Creation:
As we cannot work with the default clients provided by SAP, we need to create our own clients and perform customizing We can create up to 1000 clients ranging from 000 to 999 (000, 001 and 066 are defaults clients) Login to the newly created clients with the user sap* and password pass

The settings of the client:


Client: Number of the client City: City of the client Logical system: Logical system of the client (naming convention is <SID>CLNT<client-number>) Std currency: currency of the country, which client belongs to (Ex: INR for Indian Rupees) Client Role: The type of work that is going to be performed on that client Given values are: Production Test Customizing Demo Training/Education SAP reference Changes and transports for client-specific objects: Given options are: Changes without automatic recording Automatic recording of changes (default value) No changes allowed Changes w/o automatic recording, no transports allowed Cross-client objects changes: This is used to set the client whether repository & cross-client objects can be changed Given options are: Changes to Repository and Cross-client customizing allowed (default value) No changes to Cross-client customizing objects No changes to Repository objects No changes to Repository and Cross-client customizing objects Protection: client copier and comparison tool It is used to set the properties for the client, whether client copy is allowed and client comparison is allowed Ex: the production system is not allowed for client copy and even client comparison Given options are: Protection level 0: No restriction (default value) Protection level 1: No overwriting Protection level 2: No overwriting, no external availability CATT and eCATT Restrictions: Computer Aided Testing Tool to upload the data into SAP system Given options are: eCATT and CATT Not allowed (default value) eCATT and CATT Allowed eCATT and CATT only allowed for Trusted RFC eCATT Allowed, but FUN/ABAP and CATT not allowed eCATT allowed, but FUN/ABAP and CATT only for Trusted RFC Restrictions: Locked due to client copy (by default it is deactivated) Protection against SAP upgrade

Client Administration

43gs4u@gmail.com

Hit the T_Code SCC4

Click on Change icon or press Ctrl+F1

It gives the information, click on Continue icon

Click on New Entries button or press F5

Client Administration

43gs4u@gmail.com

Give client number, Client name, City, Currency and Role & select remaining options as per our requirement

Click on Save button or press Ctrl+S

Data will be saved

Client Administration

43gs4u@gmail.com

Click on Back button or press F3

It shows the newly created client in the list

Client Administration

43gs4u@gmail.com

Local Client Copy (foreground)


Pre Requisites: Ensure that two background work processes are available to perform client copy in the background Select the profile to specify the type of data to be copied between clients Always logon to the target client to perform client copy (pull method) Do not logon to source client while performing client copy (If do so source client will lock) Ensure that no objects are locked during client copy, so schedule down time for both the systems Login with the user sap* & password pass in newly created client (target client)

Hit the T_Code SCCL

Press F4 or click on as shown below

Select the profile which you want to copy & click on Choose button or press F2

Press F4 or click on as shown below

Client Administration

10

43gs4u@gmail.com

Select the client from where you want to copy data & click on Choose button or press F2

Click on start immediately button or press F5

Click on Continue icon or press Enter

Client Administration

11

43gs4u@gmail.com

After taking few minutes it displays below screen

To find whether the client copy is successfully completed or not click on Log Display button

It displays that successfully Completed

Client Administration

12

43gs4u@gmail.com

Local Client Copy (background)


Ensure that two background work processes are available to perform client copy in the background Select the profile to specify the type of data to be copied between clients Always logon to the target client to perform client copy (pull method) Do not logon to source client while performing client copy (If do so source client will lock) Ensure that no objects are locked during client copy, so schedule down time for both the systems Login with the user SAP* & password pass in newly created client

Hit the T_Code SCCL

Press F4 or click on as shown below

Select the profile which you want to copy & click on Choose button

Press F4 or click on as shown below

Client Administration

13

43gs4u@gmail.com

Select the client from where you want to copy data & Click on choose button

Click on Schedule as Background Job button

Press F4 or click on as shown below

Double click on selected server

Client Administration

14

43gs4u@gmail.com

Select Immediately Option & Click on Schedule Job button

Click on Continue button or press Enter

Click on Continue button or press Enter

Client Administration

15

43gs4u@gmail.com

Hit the T_Code SCC3

Double click on our job

Here Status is Processing that means copy is running

After some time status become successfully completed..

Client Administration

16

43gs4u@gmail.com

Client deletion (Foreground)


Whenever client is deleted no tables are deleted, only table entries where client no=<deleted client> are deleted Login in the client which you want to delete

Hit the T_Code SCC5

Check Delete entry from T000 option & click on start immediately button

Click on Continue button or press Enter

Client Administration

17

43gs4u@gmail.com

After taking around two hours time it displays as shown below

Click on Log Display button

Client Administration

18

43gs4u@gmail.com

Double click on our job

It displays all the details like start time, end time, and other statistics

Hit the T_Code SCC4 to see whether the client 143 is still existed or not

Here the client 143 does not exists, that means deleted successfully

Client Administration

19

43gs4u@gmail.com

Client Deletion (background)


Login in the client which you want to delete

Hit the T_Code SCC5

Check Delete entry from T000 option & click Delete in background button

Press F4 or click on as shown below

Double click on server name

Client Administration

20

43gs4u@gmail.com

Check immediately option & click Schedule job button

Click Continue button

Click Continue button

Client Administration

21

43gs4u@gmail.com

Hit the T_Code SCC3 to see log analysis

Double click on our job

It displays the log analysis of client deletion, here status is processing

After taking some time Status become successfully completed

Client Administration

22

43gs4u@gmail.com

Hit the T_Code SCC4 to view whether the client is still exists or not

Here the client 143 does not appears, that means deleted successfully

Client Administration

23

43gs4u@gmail.com

Remote Client Copy (Foreground):


It is used to copy the client between two systems provided RFC destinations are defined between them During remote client copy ensure that RFC destinations are defined with valid User-ID, passwords, authorizations We cannot perform remote client copy between different versions of SAP ex: 4.7 to ECC5 While performing Remote client copy, ensure that both the systems are of same versions & same patch level Hit the T_Code SCC9 in target client (222)

Press F4 or click on as shown below

Click on a profile which you want to copy & Click on Choose button

Press F4 or click on as shown below

Client Administration

24

43gs4u@gmail.com

Select on an RFC connection which related to target & source client, Click on Choose button

Click on RFC System Comparison button

It displays the inconsistencies if any, Press F3 to go back

Client Administration

25

43gs4u@gmail.com

Click on Start Immediately button

Click on Continue button

It displays below details

Client Administration

26

43gs4u@gmail.com

Click on Log Display button

Double click on our job

It displays all log details

Client Administration

27

43gs4u@gmail.com

Remote Client Copy (background):


It is used to copy the client between two systems provided RFC destinations are defined between them During remote client copy ensure that RFC destinations are defined with valid User-ID, passwords, authorizations We cannot perform remote client copy between different versions of SAP ex: 4.7 to ECC5 While performing Remote client copy, ensure that both the systems are of same versions & same patch level

Remote client copy profiles


SAP_ALL SAP_APPL SAP_APPX SAP_CUST SAP_CUSV SAP_CUSX SAP_PROF SAP_RECO SAP_RMBC SAP_RMPA SAP_RMPC SAP_UCSV SAP_UCUS SAP_UONL SAP_USER Logon to target system All Client-Specific Data w/o Change Documents Customizing and Application Data w/o Change Docs SAP_APPL w/o Authorization Profiles and Roles Customizing Customizing and User Variants Customizing w/o Authorization Profiles and Roles Only Authorization Profiles and Roles Recovery (Only if Source Client = Target Client) Customizing, Users and Cross-Client Customizing SAP_ALL with Cross-Client Customizing Customizing Including Cross-Client Customizing Customizing, User Master Records and User Variants Customizing and User Master Records User without Authorization Profiles and Roles User Master Records and Authorization Profiles

Hit the T_Code SCC9 in target client (222)

Client Administration

28

43gs4u@gmail.com

Press F4 or click on as shown below

Click on a profile which you want to copy & Click on Choose button

Press F4 or click on as shown below

Client Administration

29

43gs4u@gmail.com

Select a RFC connection which is related to target & source client, Click on Choose button

Click on RFC System Comparison button

It displays the inconsistencies if any, Press F3 to go back

Client Administration

30

43gs4u@gmail.com

Click on Schedule as background Job button

Press F4 or click on as shown below

Double click on server name

Check immediately option & click on Schedule Job button

Client Administration

31

43gs4u@gmail.com

Press Enter or Click on Continue button

Press Enter or Click on Continue button

Hit the T_Code SCC3 to see client copy log

Client Administration

32

43gs4u@gmail.com

Double click on Job

Here the status is Processing

After some time status became Successfully completed

Client Administration

33

43gs4u@gmail.com

Client Lock:
Hit the T_Code SE37

Give function module SCCR_LOCK_CLIENT & Press F8

Click on Execute button or press F8

Give the client number which you want to lock & Click on Save button

Client Administration

34

43gs4u@gmail.com

Client locked successfully

Now try to login with locked (800) Client, It gives below information

Client Administration

35

43gs4u@gmail.com

Client Unlock:
Method 1: Hit the T_Code SE37

Give function module SCCR_UNLOCK_CLIENT & Press F8

Click on Execute button or press F8

Give the client number which you want to lock & Click on Save button

Client Administration

36

43gs4u@gmail.com

Client unlocked successfully

Now try to login with unlocked (800) Client

Login successfully, that means client unlocked successfully

Client Administration

37

43gs4u@gmail.com

Method 2: Hit the T_Code SCC4

Click on Change button

Press Enter

Double click on client which you want to unlock

Client Administration

38

43gs4u@gmail.com

Uncheck Locked due to client copy option

Click on Save button or press Ctrl+S

Client unlocked successfully

Client Administration

39

43gs4u@gmail.com

Client Export & Import:


Pre Requisites:
Recognize which is source system & which is target system Establish RFC connection between Source system and Target system Check the availability of background work process (must needs two Work Process)

Client Export and Import is performed in 4 steps


Step 1: Export the selected profile to a local directory as a dump (In target system) (SCC8) Step 2: Copy the dump to the target system Step 3: Import the Transport request to transport queue (STMS) Step 4: Perform post import activity (SCC7) Users with * in their user ID cant create or edit Transport requests/tasks (ex: sap*) While performing Client Export and Import, ensure that both the systems are of same versions & patch level Depending upon the profiles selected up to 3 requests created

STEP1: CLIENT EXPORT


Logon to Source client (in source system)

Hit the T_Code SCC8

Press F4 or Click on as shown below

Client Administration

40

43gs4u@gmail.com

Select the profile which we want to export & Click on Choose button

Press F4 or Click on as shown below

Press F4 or Click on as shown below

Client Administration

41

43gs4u@gmail.com

Double click on system name

Click on Copy button or press Enter

Click on RFC System Check button or press Shift+F8

Press F4 or Click on as shown below

Client Administration

42

43gs4u@gmail.com

Select RFC connection & Click on Choose button

Click on Continue button or press Enter

It displays if any Inconsistencies, Press F3 to go back

Client Administration

43

43gs4u@gmail.com

Click on Schedule as Background Job button or press Shift+F6

Press F4 or Click on as shown below

Double click on selected server

Client Administration

44

43gs4u@gmail.com

Select Immediately option & Click on Schedule Job button

Once verify all the values & Click on Continue button

Client Administration

45

43gs4u@gmail.com

Note down all Transport request numbers & Click on Continue button

Client Administration

46

43gs4u@gmail.com

Click on Continue button or press Enter

Hit the T_Code SCC3

Click on Exports button

Select our job log & Double click on it

Client Administration

47

43gs4u@gmail.com

Select our job log & Double click on it

It displays all the details

Step 2: Copy the dump to the target system


Note: Go to OS level D:\usr\sap\trans\data & D:\usr\sap\trans\cofiles and copy RT01148.ECC, KT01148.ECC Files and paste these files in same directory in target system Copy RT01148.ECC from D:\usr\sap\trans\data and paste in same directory of target system

Client Administration

48

43gs4u@gmail.com

Copy KT01148.ECC from D:\usr\sap\trans\cofiles and paste in same directory of target system

Step 3: Importing Transport Request to Transport Queue


Logon to target client (in target system)

Hit the T_Code STMS

Go to Overview tab and click on Imports option

Client Administration

49

43gs4u@gmail.com

Double click on our system

Go to Extras Other Requests Add

Press F4 or Click on as shown below

Select our Transport Request number & Click on Copy button

Client Administration

50

43gs4u@gmail.com

Click on Continue button or press Enter

Select our Request number Click on Import Request (semi loaded truck) option Note: Here transport request status is stopped (red color)

Press F4 or Click on as shown below

Client Administration

51

43gs4u@gmail.com

Select target client and click on Choose button

Click on Import button

Client Administration

52

43gs4u@gmail.com

Give target client number, user name & password

Here transport request status is running (truck button), Press F3 to go back

Click on Continue button or press Enter

Client Administration

53

43gs4u@gmail.com

Step 4: Post client Import


Hit the T_Code SCC7 (in target client)

Click on Schedule as Background Job button or press F8

Press F4 or Click on as shown below

Double click on selected server

Client Administration

54

43gs4u@gmail.com

Select Immediately option & Click on Schedule Job button

Once verify all the values & click on Continue button

Client Administration

55

43gs4u@gmail.com

Click on Continue button or press Enter

Hit the T_Code SCC3

Double click on our job log

It displays Import successful

Client Administration

56

43gs4u@gmail.com

Performing Test run before client copy:


Login with the user SAP* & password pass in newly created client

Hit the T_Code SCCL

Press F4 or click on as shown below

Select the profile which you want to copy & click on Choose button

Press F4 or click on as shown below

Client Administration

57

43gs4u@gmail.com

Select the client from where you want to copy data & Click on choose button

Select test run option and click on Schedule as Background Job button

Press F4 or click as shown below to select background server

Double click on server name

Client Administration

58

43gs4u@gmail.com

Select below two options & click on Schedule Job button

Press Enter or Click on Continue button

Client Administration

59

43gs4u@gmail.com

Click on Resource check button

Press Enter or click on Continue button

Hit the T_Code SCC3

Double click on our job

Client Administration

60

43gs4u@gmail.com

Here status is Executing.

After some time status become Successfully Completed, than click Resource Analysis button

Client Administration

61

43gs4u@gmail.com

It gives Memory Requirement analysis, press Enter

It gives Database area analysis status

Hit /N to go to SAP home page

Client Administration

62

43gs4u@gmail.com

Viewing list of clients available in System:


Method 1: Hit the T_Code SE16 (or SE16N or SE17 or SM30 or SM31)

Give the table name T000 and click on Table contents button

Press F8 or click on Execute button

It displays list of clients available in the system

Client Administration

63

43gs4u@gmail.com

Method 2: Hit the T_Code SCC4

It displays list of clients available in the system

Client Administration

64

43gs4u@gmail.com

Assigning Logical system to a Client Using SALE:


Hit the T_Code SALE

Click on Assign Logical System to Client option

Press Enter

Double click on the client which you want to assign the Logical system

Client Administration

65

43gs4u@gmail.com

Press F4 in Logical System field or click on as shown below

Select Logical system and Click on Copy button

It gives below screen

Click on Save button or Press Ctrl+S

Data was saved that means logical system assigned successfully

Client Administration

66

43gs4u@gmail.com

Assigning Logical system to a Client Using SCC4:


Hit the T_Code SCC4

Click on Change button

Double click on the client to which you want to assign Logical system

Press F4 in Logical System field or click on as shown below

Select Logical system and Click on Copy button

Client Administration

67

43gs4u@gmail.com

It gives below screen

Click on Save button or Press Ctrl+S

Data was saved that means logical system assigned successfully

Client Administration

68

43gs4u@gmail.com

Viewing client copy logs:


Hit the T_Code SCC3

It gives list of client copies log, Double click on any

Here status is Executing. That means job is running

Client Administration

69

43gs4u@gmail.com

After some time status become Successfully Completed

Client Administration

70

43gs4u@gmail.com

Deleting client copy logs:


Hit the T_Code SCC3

It gives list of client copies log, Select any one log and click on Delete Log button

Click on Yes button

Log has been deleted successfully; we could not find that log in list

Client Administration

71

43gs4u@gmail.com

SCC1: Local Client Transport:


Local Client Transport is nothing but transporting client independent data from one client to another client with in the same system We can transport a table / role from one client to another client with in the system Transport role using PFCG Transport table using SM30 or SM31 Here we are transporting a role from one client to another client with in the system Step 1: Logon to the Source Client, Enter the role in to transport request (PFCG) Step 2: Release the request (SE01 or SE09 or SE10) Step 3: Logon to the Target client, Import the Transport Request (SCC1)

Step 1:
Logon to source Client

Hit the T_Code PFCG

Enter the role name which we want to delete

Click on Transport role icon

Click on Execute button or press F8

Client Administration

72

43gs4u@gmail.com

Click on continue button or press Enter

Client Administration

73

43gs4u@gmail.com

Click on continue button or press Enter

Click on Create Request button

Enter Short description, Click on save button or press Enter

Client Administration

74

43gs4u@gmail.com

It generates transport request, Click on continue button or press Enter

Role entered in to transport request successfully

Step 2:
Release the transport request in source client only To release a transport request we can use SE01 or SE09 or SE10 Hit the T_Code SE10

Select Request Type and Request Status & click on Display button

Client Administration

75

43gs4u@gmail.com

Note: First release Transport Task and then release Transport Request Select Transport Task, Click on Release Directly button

It releases the Transport task successfully

Select Transport Request, Click on Release Directly button

It releases the Transport request successfully

We can find two tick marks after Transport Request & Transport Task that means both released successfully

Client Administration

76

43gs4u@gmail.com

Step 3:
Logon to Target Client

Hit the T_Code SCC1

Enter Source Client number, Transport request & Check Including Request Subtasks option

Click on Start Immediately button

Click on Yes button

It imports request successfully

Client Administration

77

43gs4u@gmail.com

Hit the T_Code PFCG

Enter the transported role name & click on Display role button

It displays the given role. That means role transported successfully

Client Administration

78

43gs4u@gmail.com

S-ar putea să vă placă și