Monday, 30 December 2019

Notes on roles and authorizations in sap





DAC installation failing reasons

By considering the Greenfield installation of DAC installation:

The below recommendations are useful:

1. cleanup the old installation files in /install.

2.remove unwanted logs in /tmp dir.

3.check for proper DAC line entries in /usr/sap/sapservices file

if it is need to delete any entry in /usr/sap/sapservices --> vi sapservices --> dd ( to delete single line) --> :wq!

Note: please make sure that, No empty lines.

4. to check the process running for dacadm

ps -u dacadm

5. To kill all the process of DAC

pkill -u dacadm

6.for cleanup old DAC files

cleanup /usr/sap/DAC

7.check the space for DAC installation:

/install  and in /usr/sap/DAC


df -h .   - here . represents for present directory.


8. check for write permissions in /install dir

$touch test 
$rm test
 

Sunday, 29 December 2019

client settings in SAP

 System and Client Settings 
One-System Landscape
Each client has a different setting according to its role within the system. This setting can, however, vary due to the special requirements of a one-system landscape during the course of the project.
System Setting
The system change options define the customizing and development functions in an SAP System. These settings serve as a basis upon which the client settings are structured. Later in this document, you will find more detailed information on how the individual clients are set up.
For the one-system landscape, the system change options are set as follows:
System Settings in the One-System Landscape
SAP SystemOptions
Production system <PRD>All objects (with Transport Organizer)

The system change option setting allows you to make any changes to all objects in the production system. This means that you must adhere strictly to the default configuration of the clients.
PRD Client Settings
The client settings define the customizing and development functions in the SAP System. These settings do not override the system change options.
The following graphic displays a client in detail, using the customizing and development client 200 as an example:
(By default you cannot make changes to cross-client objects in this client as it is locked. The lock must only be removed temporarily for cross-client changes.)
Description of the Clients in the Production System PRD
  • 000: SAP standard client
This client is used to set up new "neutral" clients by client copy. Do not change or delete this client.
  • 001: SAP standard client
This client is used to set up new "neutral " clients by client copy.
Do not change or delete client 000 or client 001.
  • 200: CUST: Customizing and development client
All changes are automatically recorded and stored in change requests in client CUST (200). This client is also used for developing programs. Cross-client customizing is only allowed in this client. You must not create any test data or carry out any tests.
At the end of this phase you must release all cross-client requests.
By default, changes to cross-client objects are prevented in this client by a lock. Only remove the lock temporarily for cross-client changes. You must remember that these changes directly affect all other clients.
  • 210: SAND: "Sandbox" practice client
This client is used for getting to know the system, trying out applications or testing customizing functions. You can carry out client-specific customizing in this client. Changes are not recorded. Any changes that you make in this client and that you want to keep in your system have to be repeated manually in the client CUST (200). This client can be updated by the administrator at any time using a client copy from CUST (200).
  • 300: QTST: Reference client for integration and training
This client has two uses. It is used to check the customizing and development changes before the integration test, and to set up the training client TRNG (310) before training, to ensure that all training sessions begin with the same conditions. In this client you cannot make changes to Repository objects or execute cross-client customizing. The function for changing client-specific objects is also deactivated in this client.
  • 310: TRNG: Training client
This client is used for training the end user. This client contains master and transaction data to ensure that training is as realistic as possible. Neither development nor client-specific customizing is allowed. The function for changing client-specific objects is also deactivated in this client.
Setting TRNG using client copy leads to all master and transaction data being lost. Use Transaction SCC1 to transport change requests.
  • 400: PROD: Production client
This is the production client for your company. You cannot execute any client-specific customizing settings, nor make any changes to Repository objects.
  • 410: PPRD: Preproduction client
Integration testing is executed in this client. Testing can begin using master and transaction data that was transferred from the old system. In the preproduction client, you cannot make changes to Repository objects or execute cross-client customizing. The function that allows you to change client-specific objects is similarly deactivated.
  • 066: Early Watch Client
This client is purely a service client that enables SAP to access remotely the customer system with regard to analyzing errors and performance. You must not change or delete this client.Client Settings in the Production System <PRD> (1)
Settings000/001CUST (200)SAND (210)QTST (300)
Changes to client-specific objectsNo changes allowedChanges automatically recordedChanges without automatic recordingNo changes allowed
Changes to cross-client objectsNo changes to Repository or customizingNo changes to Repository or customizing, if necessary, open temporarily for changesNo changes to Repository or customizingNo changes to Repository or customizing
Client copy protectionProtection level 1:
No overwriting
Protection level 1:
No overwriting
Protection level 0: No restrictionProtection level 0: No restriction
Client roleSAP referenceCustomizing/ developmentPractice clientTest

Client Settings in the Production System <PRD> (2)
SettingsTRNG (310)PROD (400)PPRD (410)066
Changes to client-specific objectsNo changes allowedNo changes allowedNo changes allowedNo changes allowed
Changes to cross-client objectsNo changes to Repository or CustomizingNo changes to Repository or CustomizingNo changes to Repository or CustomizingNo changes to Repository or Customizing
Client copy protectionProtection level 0: No restrictionProtection level 1:
No overwriting
Protection level 1:
No overwriting
Protection level 1:
No overwriting
Client roleTrainingProductionIntegration
Integration test
SAP Early Watch

Client Setup
The following graphic outlines the setup of clients by client copy or transports in this one-system landscape.

Client Setup in PRD
All clients in the production system <PRD> are set up after the system is installed by client copy from client 000.
The clients SAND (210) and TRNG (310) are also set up again, if necessary. The system administrator does this with client copy (Transaction SCCL ). For example, before the start of end user training, you can initialize the training client TRNG (310) again using a client copy of client QTST (300), so that each training session is brought up to an identical point.
The following table gives an overview:
Client Setup in <PRD> by the System Administrator Using Client Copy
SAP SystemSource clientTarget clientReasonTimeReference
<PRD>CUST (200)SAND (210)Initial client setupAs needed1
QTST (300)TRNG (310)Initial client setupAs needed2

The two clients QTST (300) and TRNG (310) are then also supplied with the customizing changes executed in client CUST (200). After each unit of work, each project worker who has made customizing changes copies those changes to both clients (Transaction SCC1 ).
Client Setup in <PRD> by Project Workers with Transport Requests
SAP SystemSource clientTarget clientReasonTimeReference
<PRD>CUST (200)QTST (300)CustomizingAs neededA
TRNG (310)CustomizingAs neededB

The production client PROD (400) and the preproduction client PPRD (410) are set up after the system is installed by client copy from client 000.
The tested transport requests, the customizing changes and the developments from client CUST (200) are imported into client PPRD (410), as outlined in the table above. The integration test takes place in client PPRD (410). After completion of integration testing, the production client PROD (400) is also supplied with the transport requests from client CUST (200).

Do not delete any files in ...\TRANS\DATA or ...\TRANS\COFILE during the project phase. These files contain information and data for the import process.
The tables below give another overview of transporting change requests in the one-system landscape. The system administrator performs the transports. If transports are to be made into the preproduction client PPRD (410), then the project manager has to release the requests. Transports into the production client PROD (400) are made after a successful integration test.
Transport of Change Requests in a One-System Landscape
Source systemTarget system
SAP SystemSAP SystemTarget clientReasonTimeReference
<PRD><PRD>PPRD (410)Customizing and developmentsIntegration testD
PROD (400)Customizing and developmentsAfter successful integration testE
System and Client Settings in a Two-System Landscape
Each system has a specific role within the system landscape and there is a configuration for each role. As well, each client in a system has its own settings.
System Settings
The system change option settings defines the available Customizing and development functions in an SAP System. These settings are the basis on which the client settings are built. The following sections give you detailed information on the configuration of the individual clients.
If you own a Ready-to-Run system, the system change options for the development or production system are set according to the following tables. If you do not own a Ready-to-Run system, we recommend configuring your system according to these settings.
System Settings in a Two-System Landscape
SAP SystemOptions
Development system <DEV>All objects (with Transport Organizer)
Production system <PRD>Objects cannot be modified
Client Settings for DEV
The client settings define the Customizing and development functions in the SAP System. These settings do not override the system change option.
Over of Client Settings in the Development System <DEV> (Two-System Landscape)
Description of Clients in the Development System DEV (Two-System Landscape)
  • 000: SAP standard client
This client is used to set up new "neutral" clients by client copy. Do not change or delete this client.
  • 001: SAP standard client
This client is used to set up new "neutral " clients by client copy. Do not change or delete client 000 or client 001.
  • 200: CUST: Customizing and development client
All changes are automatically recorded and stored in change requests in client CUST (200). This client is also used for developing programs. Cross-client customizing is only allowed in this client. You must not create any test data or perform any tests.
  • 210: SAND: Sandbox client
This client is used for getting to know the system, trying out applications or testing customizing functions. You can perform client-specific Customizing in this client. Changes are not recorded. Any changes that you make in this client and that you want to keep in your system have to be repeated manually in the client CUST (200). The administrator can update this client at any time using a client copy from CUST (200).
  • 300: QTST: Reference client for integration and training
This client has two uses. It is used to check the customizing and development changes before the integration test, and to set up the training client TRNG (310) before training to ensure that all training sessions begin with the same conditions. In this client you cannot make changes to Repository objects or execute cross-client customizing. The function for changing client-specific objects is also deactivated in this client.
  • 310: TRNG: Training client
This client is used for training the end user. This client contains master and transaction data to ensure that training is as realistic as possible. Development and client-specific Customizing is not allowed. The function for changing client-specific objects is also deactivated in this client.Setting TRNG using client copy leads to all master and transaction data being lost. Use Transaction SCC1 to transport change requests.
  • 066: EarlyWatch client
This client is purely a service client that enables SAP to access remotely the customer system with regard to analyzing errors and performance. You must not change or delete this client.
Do not change or delete this client.
Client Settings in the Development System <DEV> (1)
Settings000001CUST (200)SAND (210)
Changes to client-specific objectsNo changes allowedNo changes allowedChanges are automatically recordedChanges are automatically recorded
Changes to cross-client objectsNo changes to Repository or CustomizingNo changes to Repository or CustomizingChanges allowed to Repository and cross-client CustomizingNo changes to Repository or Customizing
Client copy protectionProtection level 1:
No overwriting
Protection level 1:
No overwriting
Protection level 1:
No overwriting
Protection level 0:
No restrictions
Client roleSAP ReferenceSAP ReferenceCustomizing/ developmentSandbox client

Client Settings in the Development System <DEV>(2)
SettingsQTST (300)TRNG (310)066
Changes to client-specific objectsNo changes allowedNo changes allowedNo changes allowed
Changes to cross-client objectsNo changes to Repository or CustomizingNo changes to Repository or CustomizingNo changes to Repository or Customizing
Client copy protectionProtection level 0:
No restrictions
Protection level 0:
No restrictions
Protection level 1:
No overwriting
Client roleTestTrainingSAP EarlyWatch
Client Settings for PRD (Two-System Landscape)
The following clients are created in the production system:
Description of Clients in the Production System PRD (Two-System Landscape)
  • 000: SAP standard client
This client is used to set up new "neutral" clients by client copy. Do not change or delete this client.
  • 001: SAP standard client
This client is used to set up new "neutral " clients by client copy. Do not change or delete client 000 or client 001.
  • 400: PROD: Production client
This is the production client for your company. You cannot execute any client-specific Customizing settings, nor make any changes to Repository objects.
  • 410: PPRD: Preproduction client
Integration testing is executed in this client. Testing can begin using master and transaction data that was transferred from the old system. In the preproduction client, you cannot make changes to Repository objects or execute cross-client Customizing. The function that allows you to change client-specific objects is similarly deactivated.
  • 066: EarlyWatch client
This client is purely a service client that enables SAP to access remotely the customer system with regard to analyzing errors and performance. You must not change or delete this client.
Do not change or delete this client.
The following table gives an overview of client settings in the production system <PRD>.
Client Settings in the Production System <PRD>
Settings000 / 001PROD (400)PPRD (410)066
Changes to client-specific objectsNo changes allowedNo changes allowedNo changes allowedNo changes allowed
Changes to cross-client objectsNo changes to Repository or CustomizingNo changes to Repository or CustomizingNo changes to Repository or CustomizingNo changes to Repository or Customizing
Client copy protectionProtection level 1:
No overwriting
Protection level 1:
No overwriting
Protection level 1:
No overwriting
Protection level 1:
No overwriting
Client roleSAP ReferenceProductionPreproduction clientIntegration testSAP EarlyWatch
Client Setup
The following graphic outlines the setup of clients by client copy or transports in this two-system landscape:


Client Setup in DEV
All clients in the production system <PRD> are set up after the system is installed by client copy from client 000.
The clients SAND (210) and TRNG (310) are also set up again, if necessary. The system administrator does this with client copy (Transaction SCCL ). For example, before the start of end user training, you can initialize the training client TRNG (310) again using a client copy of client QTST (300), so that each training session has identical starting conditions. The following table gives you an overview.
Client Setup in <DEV> Using Client Copy by the System Administrator
SAP SystemSource ClientTarget ClientReasonTimeReference
<DEV>CUST (200)SAND (210)Client setupAs needed1
QTST (300)TRNG (310)Client setupAs needed2
The two clients QTST (300) and TRNG (310) are then also supplied with the customizing changes executed in client CUST (200). After each unit of work, each project team member who has made customizing changes copies those changes to both clients (Transaction SCC1 ).
Client Setup in <DEV> Using Transport Requests by the Project Team Members
SAP SystemSource ClientTarget ClientReasonTimeReference
<DEV>CUST (200)QTST (300)CustomizingAs neededA
TRNG (310)CustomizingAs neededB
Client Setup in PRD
The production client PROD (400) and the preproduction client PPRD (410) are set up after the system is installed by client copy from client 000.
The tested transport requests, the customizing changes and the developments from client CUST (200) are imported into client PPRD (410), as outlined in the table above. The integration test occurs in client PPRD (410). After completing integration testing, the production client PROD (400) is also supplied with the transport requests from client CUST (200) of the development system <DEV>.
Do not delete any files in ...\TRANS\DATA or ...\TRANS\COFILE during the project phase. These files contain information and data for the import process.The tables below give another overview of transporting change requests in the two-system landscape. The system administrator performs the transports. If transports are to be made into the preproduction client PPRD (410), then the project manager has to release the requests. Transports into the production client PROD (400) are made after a successful integration test.
Transporting Change Requests in a Two-System Landscape
Source SystemTarget system
SAP SystemSource ClientSAP SystemTarget ClientReasonTimeReference
<DEV>CUST (200)<PRD>PPRD (410)Customizing + developmentIntegration testC
<DEV>CUST (200)<PRD>PROD (400)Customizing + developmentAfter successful integration testD
System and Client Settings in a Three-System Landscape
Each system has a specific role within the system landscape and there is a configuration for each role. As well, each client in a system has its own settings.
System Settings
The system change option settings defines the available Customizing and development functions in an SAP System. These settings are the basis on which the client settings are built. The following sections give you detailed information on the configuration of the individual clients.
If you own a Ready-to-Run system, the system change options for the development or production system are set according to the following tables. If you do not own a Ready-to-Run system, we recommend configuring your system according to these settings.
System Settings in a Three-System Landscape
SAP SystemOptions
Development system <DEV>All objects (with Transport Organizer)
Quality assurance system <QAS>Objects cannot be modified
Production system <PRD>Objects cannot be modified
Client Settings for DEV
The client settings define the Customizing and development functions in the SAP System. These settings do not override the system change option.
Description of Clients in the Development System DEV (Three-System Landscape)
  • 000: SAP standard client
This client is used to set up new "neutral" clients by client copy. Do not change or delete this client.
  • 001: SAP standard client
This client is used to set up new "neutral" clients by client copy. Do not change or delete client 000 or client 001.
  • 200: CUST: Customizing and development client
All changes are automatically recorded and stored in change requests in client CUST (200). This client is also used for developing programs. Cross-client customizing is only allowed in this client. You must not create any test data or perform any tests.
  • 210: SAND: Sandbox client
This client is used for getting to know the system, trying out applications or testing customizing functions. You can perform client-specific Customizing in this client. Changes are not recorded. Any changes that you make in this client and that you want to keep in your system have to be repeated manually in the client CUST (200). The administrator can update this client at any time using a client copy from CUST (200).
  • 066: EarlyWatch client
This client is purely a service client that enables SAP to access remotely the customer system with regard to analyzing errors and performance. You must not change or delete this client.
Do not change or delete this client.
The following table gives an overview of client settings in the development system <DEV>:
Client Settings in the Development System <DEV> (1)
Settings000001CUST (200)SAND (210)
Changes to client-specific objectsNo changes allowedNo changes allowedChanged are automatically notedChanged are not automatically noted
Changes to cross-client objectsNo changes to Repository and CustomizingNo changes to Repository and CustomizingChanges allowed to Repository and cross-client CustomizingNo changes to Repository and Customizing
Client copy protectionProtection level 1:
No overwriting
Protection level 1:
No overwriting
Protection level 1:
No overwriting
Protection level 0: No restrictions
Client roleSAP ReferenceSAP ReferenceCustomizing/ developmentSandbox client

Client Settings in the Development System <DEV>(2)
Settings066
Changes to client-specific objectsNo changes allowed
Changes to cross-client objectsNo changes to Repository and Customizing
Client copy protectionProtection level 1:
No overwriting
Client roleSAP EarlyWatch
Client Settings for QAS
The client settings define the Customizing and development functions in the SAP System. These settings do not override the system change option.
Description of Clients in the Quality Assurance System QAS (Three-System Landscape)
  • 000: SAP standard client
This client is used to set up new "neutral" clients by client copy. Do not change or delete this client.
  • 001: SAP standard client
This client is used to set up new "neutral" clients by client copy. Do not change or delete client 000 or client 001.
  • 300: QTST: Reference client for integration and training
This client has two uses. It is used to check the customizing and development changes before the integration test, and to set up the training client TRNG (310) before training to ensure that all training sessions begin with the same conditions. In this client you cannot make changes to Repository objects or execute cross-client customizing. The function for changing client-specific objects is also deactivated in this client.
  • 310: TRNG: Training client
This client is used for training the end user. This client contains master and transaction data to ensure that training is as realistic as possible. Development and client-specific Customizing is not allowed. The function for changing client-specific objects is also deactivated in this client.
Setting TRNG using client copy leads to all master and transaction data being lost. Use Transaction SCC1 to transport change requests.
  • 066: EarlyWatch client
This client is purely a service client that enables SAP to access remotely the customer system with regard to analyzing errors and performance.
Do not change or delete this client.
The following table gives an overview of client settings in the quality assurance system <QAS>:
Client Settings in the Quality Assurance System <QAS> (1)
Settings000001
Changes to client-specific objectsNo changes allowedNo changes allowed
Changes to cross-client objectsNo changes to Repository and CustomizingNo changes to Repository and Customizing
Client copy protectionProtection level 1:
No overwriting
Protection level 1:
No overwriting
Client roleSAP ReferenceSAP Reference

Client Settings in the Quality Assurance System <QAS> (2)
SettingsQTST (300)TRNG (310)066
Changes to client-specific objectsNo changes allowedNo changes allowedNo changes allowed
Changes to cross-client objectsNo changes to Repository and CustomizingNo changes to Repository and CustomizingNo changes to Repository and Customizing
Client copy protectionProtection level 0: No restrictionsProtection level 0: No restrictionsProtection level 1:
No overwriting
Client roleTestTrainingSAP EarlyWatch
Client Settings for PRD (Three-System Landscape)
The following clients are created in the production system:
Descriptions of Clients in the Production System PRD
  • 000: SAP standard client
This client is used to set up new "neutral" clients by client copy. Do not change or delete this client.
  • 001: SAP standard client
This client is used to set up new "neutral" clients by client copy. Do not change or delete client 000 or client 001.
  • 400: PROD: Production client
This is the production client for your company. You cannot execute any client-specific Customizing settings, nor make any changes to Repository objects.
  • 410: PPRD: Preproduction client
Integration testing is executed in this client. Testing can begin using master and transaction data that was transferred from the old system. In the preproduction client, you cannot make changes to Repository objects or execute cross-client Customizing. The function that allows you to change client-specific objects is similarly deactivated.
  • 066: EarlyWatch client
This client is purely a service client that enables SAP to access remotely the customer system with regard to analyzing errors and performance.
Do not change or delete this client.
The following table gives an overview of the client settings in the production system <PRD>
Clients Settings in the Production System <PRD>
Settings000 / 001PROD (400)PPRD (410)066
Changes to client-specific objectsNo changes allowedNo changes allowedNo changes allowedNo changes allowed
Changes to cross-client objectsNo changes to Repository and CustomizingNo changes to Repository and CustomizingNo changes to Repository and CustomizingNo changes to Repository and Customizing
Client copy protectionProtection level 1:
No overwriting
Protection level 1:
No overwriting
Protection level 1:
No overwriting
Protection level 1:
No overwriting
Client roleSAP ReferenceProductionPreproduction client
Integration test
SAP EarlyWatch
Client Setup
The following graphic outlines the setup of clients by client copy or transports in this three-system landscape:

Client Setup in DEV
All clients in the production system <PRD> are set up after the system is installed by client copy from client 000.
The clients SAND (210) and TRNG (310) are also set up again, if necessary. The system administrator does this with client copy (Transaction SCCL ).
The following table gives you an overview.
Client Setup in <DEV> Using Client Copy by the System Administrator
SAP SystemSource ClientTarget ClientReasonTimeReference
<DEV>CUST (200)SAND (210)Client setupAs needed1
Client Setup in <QAS>
All the clients in the quality assurance system <QAS> are set up after the system is installed by client copy from client 000 from the SAP standard client 000.
The client TRNG (310) are also set up again, if necessary. The system administrator does this with client copy (Transaction SCCL ). For example, before the start of end user training, you can initialize the training client TRNG (310) using a client copy of client QTST (300), so that each training session has identical starting conditions. The following table gives you an overview.
Client Setup in <QAS> Using Client Copy by the System Administrator
SAP SystemSource ClientTarget ClientReasonTimeReference
<QAS>QTST (300)TRNG (310)Client setupAs needed2
Both QTST (300) and TRNG (310) are also supplied with the Customizing changes and developments made in client CUST (200) in <DEV>. After each unit of work, each project team member releases the request in <DEV>. The system administrator transports the exported request into client QTST in <QAS> and after successful testing it is forwarded into client 310 in <QAS>.
Supplying Clients in <QAS> Using Transport Requests by the System Administrator
Source SystemTarget System
SAP SystemSource ClientSAP SystemTarget ClientReasonTimeReference
<DEV>CUST (200)<QAS>QTST (300)Customizing + DevelopmentAs neededA (Transport)
<DEV>CUST (200)<QAS>TRNG (310)Customizing + DevelopmentAs neededB (Forwarding)
Client Setup in PRD
The production client PROD (400) and the preproduction client PPRD (410) are set up after the system is installed by client copy from client 000.
The tested transport requests, the customizing changes and the developments from client CUST (200) are imported into client PPRD (410), as outlined in the table above. The integration test occurs in client PPRD (410). After completing integration testing, the production client PROD (400) is also supplied with the transport requests from client CUST (200) of the development system <DEV>. In both cases Transport A is forwarded.
Do not delete any files in ...\TRANS\DATA or ...\TRANS\COFILE during the project phase. These files contain information and data for the import process.The tables below give another overview of transporting change requests in the three-system landscape. The system administrator transports the requests. If transports are to be made into the preproduction client PPRD (410), the requests must already have been imported into client 300 in <QAS> and tested there. Transports into the production client PROD (400) are made after a successful integration test.
Transporting Change requests in a Three System Landscape
Source SystemTarget System
SAP SystemSource ClientSAP SystemTarget ClientReasonTimeReference
<DEV>CUST (200)<PRD>PPRD (410)Customizing + developmentIntegration testC (Forwarding)
<DEV>CUST (200)<PRD>PROD (400)Customizing + developmentAfter successful integration testD (Forwarding)