BASIS TASKS

CCMS

To start CCMS
# sapccmsr –DCCMS

To check the status of CCMS

#sapccmsr –status

SAP PASSWORD UNLOCK

SAP password unlock.

Login with db2

select MANDT, BNAME, UFLAG from <db_schema>.USR02 where MANDT=000 and BNAME='SAP*'


update SAPECP.USR02 set UFLAG=0 where BNAME='BASIS' and MANDT='000'

SU01 TAB DETAILS

SU01 is used to create new user in SAP. These are the tabs

Address- Address details
SNC- setting for a secure network communication.
Logon DATA- password, type of the user and validity period of the user.
Defaults-Default settings for the start menu, a standard printer, logon language.
Parameters- User_specific values for standard fields.
Roles- Role assignment( contains T-codes and there authorizations)
Profiles- Assigned authorization profiles.
Groups-Assignment of the users to groups for mass maintenance.
Personalization-setting for individual persons, made with personalization objects.
License DATA- Contractual classification of the user.

SAP Instance

3 types of instances in SAP system

Central instance( one instance or SID name for SAP server)
Database Instance(  which contains data)
Dialog Instance( used for load balancing )

SAP SID

3 Alphanumaric characters
ex: ECD, ECQ, ECP, PEJ.,,etc

System number: which differentiates between multiple instances in a single host.
system number varies from 00 to 99 except 75 and 99( reserved for TCP/IP port)

SAP R/3 Architecture


SAP uses the industry specific 3-Layer Architecture and named it as R/3 Architecture.

It consists of 3 Layers
1. Presentation Server/ Layer/ Tier
2. Application Server
3. Database Layer


1. Presentation Server:
It is a client for all the SAP Solutions. It is also referred as SAPGUI. There are three 3 types of SAP GUI
1. SAP GUI for windows.
2. SAP GUI for JAVA.
3. SAP GUI for HTML

2. Application Server:
It is used to handle the user request and process them to the database. It has dispatcher
to process and monitor the user request, work process to process and interpret the requests, Buffer
areas to store the frequently accessed data. It absorbs the load both from Client and the server

3. Database server:
The database layer holds the data. SAP supports any relational database. SAP does not provide any database. But it supports any RDBMS. The database layer must be installed on one machine or system. Major databases which are being used in SAP implementations are Oracle, DB2.

SAP can be installed on Microsoft windows( 7, 2003, 2008), HP UNIX, AIX, Sun OS (SOLARIS with ORACLE),LINUX.

what are the Types of RFC in SAP


Types of RFC

Synchronous (sRFC): For communication between different systems and between SAPWebAS and SAPGUI.
Asynchronous (aRFC): For communication between different systems and for parallel processing of selected tasks.
Transactional (tRFC): A special form of asynchronous RFC. Transactional RFC ensures transaction-like processing of processing steps that were originally autonomous.
Queue (d) RFC (qRFC): Queued RFC is an extension of tRFC. It also ensures that individual steps are processed in sequence.
RFC is a super ordinate term for various implementation variants. SRFC is the synchronous call of function modules. This means that the client waits until the server has completed its processing. In an SAP system, an RFC can also be performed asynchronously in another work process. This variant is called aRFC.


There is also tRFC, the transactional Remote Function Call. Transactional RFC is asynchronous and ensures that data that is sent more than once due to network problems can be recognized at the server side, by assigning a Transaction Identifier (TID). This allows you to prevent data being processed more than once, leading to erroneous information in the application. Due to the asynchronous processing, however, parameters can only be transferred from the client to the server in this case. Returning information or status information directly is not possible.

QRFC with Send Queue is an extension of tRFC. It creates a layer between applications and the tRFC and only allows the tRFC to transfer a Logical Unit of Work (LUW) to the target server when its predecessors are no longer in the associated wait queues. After a qRFC LUW is executed, the qRFC manager automatically processes the next waiting qRFC LUW in accordance with the sequence in the wait queue.

Start and Stop SAP from Command Prompt Windows

STARTING SAP VIA CMD:

Go to D:\usr\sap\IDS\sys\exe\uc\NTAMD64

D:\usr\sap\IDS\sys\exe\uc\NTAMD64> startsap.exe name = IDS nr = 00 sapdiahost = xxxxxx


STOPPING SAP VIA CMD:

Go to D:\usr\sap\IDS\sys\exe\uc\NTAMD64


D:\usr\sap\IDS\sys\exe\uc\NTAMD64> stopsap.exe name = IDS nr = 00 sapdiahost = xxxxx



TO DELETE SAP* USER:


Login into <SID>adm and execute the following sql quary

Delete user from <SID.usr02> where MANDT = <000> BNAME = sap*;


How to Apply SAP Support Packages Step by Step with screenshots


How to upload a support Package:

- Download the support packs from NET to the usr/sap/trans directory.
- Unpack the support packs using the command SAPCAR -xvf xxx.CAR (where xxx
is the SP name)
This command unpacks the files that need to be imported into your SAP instance
into the /usr/sap/trans/EPS/in directory.
- Log into client 000 as with user having SAP_ALL profile & call transaction SPAM
- Once in transaction SPAM, go to menu option Support Package->Load Packages-
>From Application Server. It will ask you if you want to upload the files - click the
green check mark on the box that appears to upload the files


Another screen will appear listing the files that you uploaded successfully -
just click on the Back arrow to get back to the SPAM screen.

- On the SPAM screen, click on the Display/Define button.
- A box will appear with the Support Package categories.
- Click on the category for the support packages that you uploaded and it will list
them in order.
- You can apply them individually or the whole list at one time.



- To apply individually, select the first one in the list and then hit the green check
mark at the bottom left of the box. Then on the SPAM screen, go to menu Support
Package->Import Queue.




- Confirm that you want to import the support package.
- Once it is done importing, you have to confirm the queue by clicking on the
Confirm Queue button - this will turn the yellow light in the Status area to green.



After Applying you have to regenerate using SGEN transaction.
Run SGEN after you have installed Hotpacks:
Goto transaction: SGEN
Select (Regeneration after Upgrade)... Select Continue
Schedule the process in background

MAINTAINCE license expired in sap.

If MAINTAINCE license expired in sap.
SPAM and SAINT will not work.
Go to service market place to get license.
Click System data.
Select the maintainance key and click Display license Script.
Click Request License Key.
you will receive license key through mail.
Download the Script to pc .
Now go to slicense tcode in sap.
Upload the license script.
END.

No comments:

Post a Comment