How to compress or extract a SAR file in SAP

What is a SAR file ?


SAR files are  delivered by SAP for releasing supportpackages of Kernel and other OS level binaries.
 

How to extract a SAR file in SAP in Unix based operating systems(AIX / HP-UX ) :

Login to the system with sidadm user

Navigate to the path where the SAR file is located and use following command

to extract a SAR file.

SAPCAR -xvf <filename.SAR>

How to compress some files to generate a SAR file in SAP in Unix based operating systems(AIX / HP-UX ) ?

Login to the  system with sidadm user

Navigate to the path where the files that are to be compressed are located and  use the following command to compress a single SAR file.

SAPCAR -cvf <filename.SAR>

To compress multiple files, we can use the following command:

SAPCAR -cvf <compressed_filename.SAR> <file1> <file2> <file n>


What is SAPCAR ?

SAPCAR is an utility provided by SAP to compress or extract files (similar to winzip)

SAP Composite Role Creation

                                             Composite role is collection of single roles in simple words
 its like a container which is having collection of single roles.You will allowed to add a composite role within a composite role, so you can able to add single roles into 
composite roles only, it doesn’t have authorizations tab in the role menu in PFCG
 like other single roles but you will have Role tab instead.Composite role gives you 
greater flexibility  to hold number of roles can be added to one role and assigned to 
N number of users instead adding them individual.
          Example there is a team which performing PO create/approve activities in that 
case as a basis security administrator need to design a role which will enable them to 
fulfill their daily jobs and all the roles created for particular responsibility can  be 
combined into a single composite role.Composite enable the users to have   advantages 
of all single roles authorizations in their user master record.

Here we will see how to create a composite role
  1. Goto tcode PFCG and enter a role name for composite role and we have  following 
single role which we used it for creating composite role. 

ZTEST_ROLE
ZTEST_ROLE2


2. Now click “Create Compo.role” button as highlighted in the above screen and 
give short description about your roles in the “Description” text box
Then you need to enter detailed description why this role is created and who 
created it and what are the authorization it has, so future administrators can
 able to understand about need of this role


3. Save the role and goto “Roles” tab to add single roles like shown in the
 below screen


4. Click save and finish composite role creation and that’s it you have done it.
Now you just need to assign this role to required user to test and move it
 to quality system
Click here to Single role creation

SAP Post Installation Steps

Below are the steps needs to be performed as part of SAP post installation activities


1. Login to ddic username and execute SICK tcode

2. Goto RZ10 tcode and import the new profiles and add profile parameters according 
to your requirements

3.Execute slicense and install license for your system

4. Go to SE06 and select Standard Installation option hit execute, Click yes to initialize
 your CTS settings

5. Now goto STMS tcode and configure TMS

6. You can configure current system as DC(domain controller) or you can include into
 another domain, in this case I configure as domain controller


7. Now install SGEN i.e SAP load generator


8. Now go to SCC4 tcode and create a new client and perform client copy

9. After you created new client and make sure you copy ddic username and create new 
admin username and lock SAP* and DDIC usernames
10. Additionally you need to perform SAP Kernal upgrade as well as patching for OS and
 DB and check official installation guide in market place

SAP Router Status Check

Logon to the SAP system which is already configured for SAP Router Settings.
Method 1
SM59 –> open the defination SAPOSS –> Press the button “Connection Test”
If result returns with same as the picture below , then we can say SAProuter is working for us…

saposs
Method 2
Open the service.sap.com web site, select the releated SAP system and check the “Connection” status under the“SAPRouter Status” area
If result is “Connected” then it means that SAPRouter is working….
saposs1
Method 3
Checking the UNIX systems
saposs2
Mon Sep 13 22:11:13 2013 SAP Network Interface Router, Version 39.3 (SP4)
peer SAProuter with NI version 41 … send info-request to running SAProuter…
SAP Network Interface Router running on port 3299 (PID = 26123) Started on : Wed Jul 12:14:11 2012


How to send a popup message to a specific user in SAP

                  SAP basis admin wants to send a specific popup message to the specific users. This popup message will not appear on other users screen.

  • Go to Tx SE37
  • Enter the function module name TH_POPUP





Click test/execute (F8) and type the details




  • The user will see the message like this






DB!3 SAP Backup Create

DB13 Create and Check backup status
1
. On the command field, key in DB12 and below screen will be displayed. It shows the summary of the backup status.

2.
On command field, enter /nDB13. This T-code is used to perform backup. You can also check the backup status.






















3. In DB13, select a desired cell which you plan to perform your backup. Double click on the cell
4. Choose Full database backup to device
5. Backup mode: Offline
6. Device directory: ‘ d:\backup\ (this is just a folder which your backup could be stored)
7. Below is a sample picture.



What Is SAP Basis Administration in SAP

SAP Basis –  The Administration Focus of SAP

                              First of all it describes the fundamentals of the administration of the SAP system. When you say SAP Basis, you must think about the guys who will install, configure, update, patch, migrate, troubleshoot any technical problem on your SAP system and manage all the daily operations for that specific sap system or system landscape.  Basis area emphasize the administration of RDBMS(Relational Database Management System  - or simply the database sap system is using), client-server architecture and the SAP GUI. 



Roles and responsibilities of sap basis consultant-


Installation of SAP servers and post installation activities
. Applying Support packs and Kernel Up gradation
. Generating Solution manager key for the Landscape as required
. Time based and event based Scheduling of background jobs and monitoring them
. Client Administration including client copy / export / import / delete
. User Management like User Creation, deletion of user, users locks
. Analyzing of missing authorizations and assigning Roles to users
. Profile maintenance through PFCG
. Transport setup and management
. Download and applying Support Patches and SAP Notes
. Performance monitoring and fine tuning
. Maintaining Profile parameters
. SAP spool configuration
. Analyzing short dumps
. Transports in ABAP and Java Environments(Using SDM)
. Performing Pre & Post System Refresh activities
. CUA Configuration
. Core Knowledge in DBA
. Publishing Internal ITS
. Installing WebAS Java as add-on
. Apply java patches through SDM

What is Client in SAP

A client is organizational and legal entity in the SAP system.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

SAP R3 comes with 3 inbuilt standard client:


  1. CLIENT 000
  2. CLIENT 001
  3. CLIENT 066


Client 000 – Client 000 is a special client in SAP since it has client independent settings.SAP R/3 comes with a simple organizational structure.. Client 000 contains all standard configurations, parameters, standard transactions, etc that are normally used in the SAP R/3 business environment.

Client 001 – Client 001 is a copy of client 000. Client 001 also includes a test company. Client 001 can be customized to prepare it to move it into the production environment. However, once client 001 is customized, it does not behave like client 000.

Client 066 – Client 066 is used to perform “Early Watch” service for customer systems. One important thing to remember is that during SAP R/3 implementation, once SAP is installed, the first thing to be done is copy a standard client included in SAP R/3 package. With the help of this, SAP users can start using SAP for creating tests, training, or even start using it for customization.