Anda di halaman 1dari 31

http://help.sap.com/saphelp_45b/helpdata/en/ca/6fbd35746dbd2de10000009b38f889/frameset.

htm
http://basissap.blogspot.in/2008/05/components-of-r3-architecture.html
http://www.saptechies.com/sap-system-does-not-start-after-applying-sap-kernel-patch/
http://www.consolut.com/en/s/sap-ides-access/d/s/doc/D-RDDIMPDP

IBM-MAYA IT PARK-SRUJAN SUNGH-DEC 17

HOW DO U START A JAVA INSTANCE

On windows

Open mmc-sap snap-in opens up ,right click on SID –choose-start

DB,JAVA engine and all other processes are started

On unix

1)to start central instance and db instance

Considering central system,

Login to the host of central system as SIDADM

Run command startsap

If u wanted to start database and sap system separately

Startsap DB

Start sap R3 < CENTRAL SERVICES INSTANCE ID> ie SCS<INSTNACE NUMBER>

Startsap R3 <CNETRAL INSTANCE ID> ie JC<INSTNACE NUMBER>

In distributed systems

On database host

Startdb

On scs host

Startsap R3

On central instance host


Startsap R3

2)to start a dialog instance

Startsap

In case of dual stack ie addin-installation (ABAP +JAVA)

On windows

mmc-right click sid-start

db is started and both abap and java engines are started simultaneously

if u don’t want to start java engine simultaneously change the parameter rdisp/j2ee_start to 0

on unix

on central system host as sidadm

startsap

To restart a java engine

Login to abap instance runsm51

Double click the java instance which u want to restart

U are now connected to java instance

Run t-code SMICM-from menu choose administration-j2ee engine –soft shutdown or hard shutdown or
end process with or without restart

http://help.sap.com/saphelp_nw70/helpdata/en/70/b38937809c8f71e10000009b38f842/frameset.htm

HOW DO PERFORM A DATABASE BACK UP

Run the DBACOCKPIT t-code

On left hand panel of the screen Choose jobs-dba planning calendar

On top right hand side choose the system

Double click a calendar cell on which u want to perform the backup activity

Click on the cell and choose add button

Drag and drop database backup activity from action pad on to the calendar cell
On the action parameters tab page change or enter the basis parameters for the action.

On the Recurrence tab page, enter a recurrence pattern.

To schedule the action choose “add”

LOG FILES OF DATABASE BACK UP

Dbacockpit-jobs-backuplogs-

Choose

Last successful backup

Overview of database backup

Return Codes
The following return codes are possible:
0 Successful
1 Warnings – all files were processed (for example, backed up or restored)
2 Canceled during the initialization phase by a user or other signal
3 Errors occurred during the initialization phase, processing was not started
4 Canceled by a user or other signal during processing
5 Started, but not completed because errors occurred during processing
6 Internal termination
FUNCTION OF DOAMIN CONTROLLER

System where the TMS configuration is done,transport routes and transport layers are created.

Any changes to the transport domain are done from here.

DIFF BETWEEN CLIENT COPIES

Local client copy is done with the same system

Remote and client transport is done between different systems

Remote client copy is normally used for new servers client transport for DB refresh activities

TRANSPORT GROUP?

Systems sharing common transport directory form a transport group

_________________________________________________

ITC INFOTECH-TELEPHONIC-CALCUTTA-ONAM-DEC 18
BI HAS DUAL STACK OR SINGLE STACK

Today dual stack is required for


PI/XI
Solution Manager
Mobile up to NW 7.0
Optional Use case
BI 7
ESS scenarios in dual stack
Java Usage Types in NetWeaver Systems (e.g. Enterprise Portal)

IF VALUE IN DEFAULT PROFILE PARAMETER IS 123 AND INSTANCE PROFILE PARAMETER IS 456 IF
SYSTEM IS STARTED WHICH VALUE IS TAKEN BY THE PARAMETER?

Particular instance will take its instance profile parameter value and other instances will take the
value of default profile

WHAT ARE THE PROFILES AND WHAT IS THE SEQUENCE IN WHICH THEY START

Start ,default and instance

DB STARTUP PROCEDURE

If you use the Management Console to start the R/3 system in NT systems, the database first uses the
STRDBS.CMD script

HOW TO START SAP FROM OS LEVEL

WHICH DB SERVICES ARE STARTED

R3trans –d to check database connection

HOW DOES A WORK PROCESS COMMUNICATES WITH THE DATABASE

consider the SAP work process connection to Oracle database:

1. The work process initiates connection using operating system (OS) authentication via its
corresponding OPS$ User. It first logs on to the database as the user
OPS$<operating_system_user>, for example, OPS$<SAPSID>adm.
2. On successful connection, the work process checks the SAPUSER table for the password of
<SAP Schema User>. The password of <SAP Schema User> is stored in default oracle password
table as well as SAPUSER table. Basically one should not edit the password of this user using
Oracle methods or tools. The recommended method is via SAP’s BRCONNCET tool. Because
when you change the <SAP Schema User> password via Oracle, the password will not be
changed in the SAPUSER table which is the reference repository for the user’s password when
the connection process is initiated.
3. After retrieving the password from the SAPUSER table, the work process disconnects from
Oracle.
4. The work process then connects with the username <SAP Schema User> using the password
retrieved from the SAPUSER table. Now this <SAP Schema User> has exhaustive authorization
on DB.

A WORK PROCESS IS SEEN IN RED COLOUR HOW DO U ANALYSE

HOW DO U ANLAYSE ALONG RUNNING BCG JOB

DIFFERENT SAP COMPONENTS WORKED ON

PROBLEMS DURING NETWEAVER INSTALLATION

While installing the netweaver system was unable to connect to database

I checked for the listener service in services and it was stopped.

I started it and set it for automatic start and restated the installation

If antivirus scanner is ruming it will trouble the installation ,so uninstall the antivirus and other
firewalls present.

If OS language in german or other language we cant go ahead with the installation ,so English
language should also be installed.

we are installing SAP netweaver in one of our test test system. It throws error in CREATE DATABASE STATISTICS
phase.

The below is the relevant log taken from BRCONNECT.log file.

Solution ;we just created a text file with the name cecpczkf.sta at the mentioned path. It worked successfully.
The system checked this path to write the log and got resolved by creating path/file.

OS VERSION ? DB VERSION

AIX 6.1 ,10g

 Oracle Database 10g Release 1: 10.1.0.2–10.1.0.5 (patchset as of February 2006)


 Oracle Database 10g Release 2: 10.2.0.1–10.2.0.5 (patchset as of April 2010)

TRANSPORTS AT OS LEVEL HOW TO PERFORM


Login to host as SIDADM

Run command

Tp addtobuffer tr <sid>

Tp import tr sid client <client number>

WHAT DO U WORK ON DAILY

KERNEL PATCHES WHEN DOWNLOADED WHAT FILES DO U DOWNLOAD?

DONE UPGRADATION

HOW DO U KNOW DB IS STARTED

There are so many options to check whether DB is active


or
not

1. ps -ef |grep ora


2. ps -ef |grep ora_
3. ps -ef |grep pmon
4. R3trans -d ; give RC - 0000 means active other than
0000
is error
5. in Brtools 1.Instance Management, 6 - Show instance
status, 3-Database instance, give the instance name i
mean
Database Name and press continue....give the status
6. we can also check for SQL
SQL> select status from v$instance;

STATUS
------------
OPEN
7. From SAPDBA, it will show the status on top.

HOW DO U START SAP at OS LEVEL

HOW DO U STAR DB
EP VERSION/ PI VERSION?

a)Does the version 6.20/6.40 signifies SAP eP version or SAP WAS.

--> The above version indicate the SAP WAS version.(SAP WebAs 620/640/700)

b)From what version onwards is SAP Enterprise Portal called "Netweaver Portal"

-> I'm not sure about it but from EP 6.0 it's known as

Netweaver Portal 04 which is NW04 SP9 below that


< NW04 ( Means EP 6.0 SP1/2 are below NW04)

c)After EP 6.20 SP2 is the Protal called EP 6.40


or was there any gap in middle bcos 6.40 starts with SP9

-> From EP 6.0 SP4 u need WebAs 6.40

d)How can i find the version of a SAP EP from its installtion.Is there any utility.

-> search for version.txt file under usr/sap/sid/jc<instance_number>/j2ee/cluster or dispatcher

this is for EP 6.0 SP9 and above

alternate u can use http://portalhost.domain.com:port/sp


u can find the version info from here

for below SP9 i'm not sure but u can launch following ( It's aslo apply for above sp9)

http://portalhost.domain.com:port

now click on system information u can get the version detail.

further more u can found the release specific information from following.

http://service.sap.com/RELEASENOTES

PI is built upon the SAP Web Application Server.

First release of SAP Exchange Infrastructure was XI 2.0. Later on, releases 3.0, 7.0, 7.1, 7.1EHP1 and
7.3 followed. From release 7.0 onwards, SAP Exchange Infrastructure has been renamed as SAP
Process Integration (SAP PI).
You wish to check what patch levels are being used in your XI/PI system.
In an XI/PI system, all components must be on the same major SP release version. This means that the
Basis(ABAP), Java and XI components must all be on the same SP e.g. SP12

Solution

1) To check the BASIS patch version, logon to the XI system and go to:
-> System
-> Status
-> SAP System data
-> click on magnifying glass icon
-> check the SAP_BASIS software component release and level

2) To check the Java and XI component's SP details at the links below:


a) For XI 3.0/PI 7.0, go to the URL:
http://<server>:<port>/sap/monitoring/ComponentInfo
b) For PI 7.1x, go to the URL:
http://<server>:<port>/ -> System Information -> Component Info

Here (point 2 above) you can know the version of PI you are working depending on where you find the details.

3) How to read the component information:


a) Example from a PI 7.00 system:
SAP-XIAFC 7.00 SP13 (1000.7.00.13.22.20090722122317)
1000 - not relevant
7.00 - this is the NetWeaver release of the PI system
13 - this is the SP version of the system
22 - this is the patch level of the SAP_XIAFC component

In this case the XIAFC component is on SP13 patch 22

b) Example from a PI 7.10 system:


SAP_XIESR 1000.7.10.7.14.20090525090100
1000 - not relevant
7.10 - this is the NetWeaver release of the PI system
7 - this is the SP version of the system
14 - this is the patch level of the SAP_XIESR component

-------------------------------------------------------------------------
ibm chennai

load balancing using message server and web dispatcher?

how do u confugre load balancing using message server

how do perform load balanacing in r.3

if system doesnot start up after kernel patches are applied what do u do.

---I apply the Microsoft security patch (more in explanation)

Disp+work –V | more ---to know about the patch level form os command

Several Suggestions:
- Is the SAPService, a member of the local admin group ?
please check, wheter the SAP user which starts the SAP Service (usually
SAPService<SID>) is still member of the local Administrators group (both
SAP users should be member of this group), and especially, whether it
has access to the /usr/sap/<SID>/SYS/exe/run folder (and several other
SAP-related folders).

Try reboot the system right after adding SAPService<SID> user to Admin Groups

- See SAP note 129813 NT: Problems due to address space fragmentation
- check sapmnt and saploc sharing access to <sid>adm

Hope this helps.

Regards,
Vincent

where do u see logs

usr/sap/sid/instancename/work

where is work directory located

system monitoring

how do u analyse long running jobs.


-----------------------------------------------------------------------------

pradeep

1) if background job is running long time , what are reasons , wht to do?

2) if job is in ready state , will it can cancelled

Up through this status you can take back the release of a job or delete it to prevent it from
running.

3) priv mode? what are reasons ?

4) if transport request is running long time what are reasons?

DURGA

5) where to check tablespaces in sap level?

DURGA

6) what is online redologs and archive struck?

ONLINE REDOLOG FILES RECORD THE DATABASE CHANGES and are helpful during
database recovery.

7) how to suspend background job?

DURGA

8) why r3 trans -d?

9) which path is for kernal upgradtion in linux ?

10) wht is background jobs running for transport?


The external transport control program tp uses entries in the tables TRBAT and TRBATC to pass informationon the
transport steps

To schedule the program RDDIMPDP as a background job, log on to the appropriate client as a user with CTS
administration authorization and execute the programRDDNEWPP in theABAP Editor(Tools -> ABAP Workbench -
> Development ->ABAP Editor (transaction SE38)).

11) static and dynamic profile differnce?

12)differnce between spool request and output request?

13) if user complanice print is not coming what to do?

You can also define output devices as logical output devices. These logical devices
refer to physical devices or to other logical devices, so that you can set up a printer
hierarchy. This is useful in the following case, for example.

You define the logical printer Shipment Document Printer. Your users can always select this
printer to print shipment documents. If the real printer to which this logical output device
points is not available, you simply assign the logical printer to another physical printer.
If your logical output device Shipment Document Printer is first mapped to the physical
printer P330 and you now want to map it to the physical printer P521, you only need to
change the mapping. You do not need to adjust the whole device definition. Nothing
changes at application level, since the logical printer Shipment Document Printer is
configured as a c
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/94/45c53bcc422d42e10000000a114084/framese
t.htm

14) if backup is running can we add datafile?

Data files should be added online ie sap and oracle should be running

You can certainly add a datafile during online backup. Also your backup is still valid. The only thing is
that once your backup is over, take a backup of the datafile which you have added as it is not included
in the original backup and also take the backup of the control file as the structure of the database is
changing and thus the control file.

15) procedure to extend table space and how to resize the datafile?
Extending a Tablespace with BR*Tools
Use
You can use BR*Tools for Oracle to extend a tablespace by adding a data file.

This section describes how you extend a tablespace with BR*Tools.


For more information on the approach to extending a tablespace, see Managing
Tablespaces.

Procedure
...

1. Start the procedure using BRGUI or BRTOOLS, or from the command line:
 BRGUI or BRTOOLS:
i. Choose Space Management Extend tablespace
BRGUI or BRTOOLS displays the menu BRSPACE options for tablespace extension,
where you specify the options with which you call BRSPACE.
ii. Set the required options:
Menu Entry Equivalent BRSPACE
Command Option
BRSPACE profile (profile) -p|-profile
Database user/password (user) -u|-user
Tablespace name (tablespace) -f tsextend -t|-tablespace
Confirmation mode (confirm) -c|-confirm
Scrolling line count (scroll) -s|-scroll
Message language (language) -l|-language
BRSPACE command line (command) This shows you the BRSPACE -f
tsextend command that is to be
executed using the current
settings.
iii. Choose Continue.
BRGUI or BRTOOLS prompts you to start BRSPACE.
iv. Choose Continue to start BRSPACE.
 Command line
You need to enter at least the following command:
brspace –f tsextend
You can enter more parameters, including the tablespace name, if required. For more
information, see BRSPACE -f tsextend.

Whichever way you start the procedure – with BRGUI or BRTOOLS, or from the command
line – you can take advantage of quick mode if you know the object name, in this case the
tablespace name. For more information, see How to Use BR*Tools.
BRSPACE starts and you see a message that includes Start of BRSPACE processing. From now
on, BRSPACE writes a detail log.
2. If you have already entered the tablespace name, continue with step 5 (quick mode).
BRSPACE displays the Tablespace extension main menu.
3. Choose Extend tablespace.
BRSPACE displays the list of tablespaces:
List Entry Meaning
Pos List sequence number
Tablespace Tablespace name
Files/AuExt Number of data files / number of data files with autoextend
Total [KB] Total size of all data files of the tablespace
Used[%] Percentage of space in tablespace that is used
Free [KB] Amount of space in tablespace that is free
ExtSize [KB] Maximal size that the tablespace can be autoextended
4. Select a tablespace.
BRSPACE displays the menu Options for extension of tablespace.
5. Set the required options:
Menu Entry Meaning
Last added file name (lastfile) The name of the last file that was added to
– display only the tablespace

Last added file size in MB (lastsize) The size of the last file that was added to
– display only the tablespace

New file to be added (file) -f tsextend -f|-file


Raw disk / link destination (rawlink) -f tsextend -r|-rawlink
Size of the new file in MB (size) -f tsextend -s|-size
File autoextend mode (autoextend) -f tsextend -a|-autoextend
Maximal file size in MB (maxsize) -f tsextend -m|-maxsize
File increment size in MB (incrsize) -f tsextend -i|-incrsize
SQL command (command) The SQL command that is to be executed
using the current settings. For more
information, see your Oracle SQL
documentation.

For the file option, you can enter not only full path names, but also the sapdata path name,
or just sapdata<N> to specify in which sapdata directory the file is to be located.
BRSPACE automatically extends the incomplete file name to the full path name according to
the SAP naming convention.
6. To start processing with the selected options, choose Continue.
Altering a Data File with BR*Tools
Use
You can use BR*Tools for Oracle to alter a data file as follows:
Set data file online
Set data file offline
Switch on and maintain autoextend
Switch off autoextend
Resize data file

This section describes how you alter a data file with BR*Tools.
For more information on the approach to altering a data file, see Managing Data Files

Procedure
...

1. Start the procedure using BRGUI or BRTOOLS, or from the command line:
 BRGUI or BRTOOLS:
i. Choose Space Management Alter data file.
BRGUI or BRTOOLS displays the menu Alter data file.
ii. Choose the action:
 Set data file online
 Set data file offline
 Maintain autoextend
 Switch off autoextend
 Resize data file
BRGUI or BRTOOLS displays the menu BRSPACE options for alter data file, where
you specify the options with which you call BRSPACE.
iii. Set the required options:
Menu Entry Equivalent BRSPACE
Command Option
BRSPACE profile (profile) -p|-profile
Database user/password (user) -u|-user
Data file names (file) -f dfalter -f|-file
Confirmation mode (confirm) -c|-confirm
Scrolling line count (scroll) -s|-scroll
Message language (language) -l|-language
BRSPACE command line (command) This shows you the BRSPACE -f
dfalter command that is to be
executed using the current
settings.
If required, in Data file names you can enter the names of multiple data files, but
you cannot use wildcards.
For
example, /oracle/GC2/sapdata3/users_1/users.data1, /oracle/GC2/sapdata
4/xdb/xdb.data1 is a valid entry, but /oracle/GC2/sapdata* is not a valid entry.
You can also enter Oracle file IDs instead of path names.
iv. Choose Continue.
BRGUI or BRTOOLS prompts you to start BRSPACE.
v. Choose Continue to start BRSPACE.
 Command line:
...

Enter at least the following command:


brspace –f dfalter
You can enter more parameters, including the data file name and action, if required. For
more information, see BRSPACE -f dfalter.

Whichever way you start the procedure – with BRGUI or BRTOOLS, or from the command
line – you can use quick mode if you know the object name, in this case the data file name.
For more information, see How to Use BR*Tools.
BRSPACE starts and you see a message that includes Start of BRSPACE processing. From now
on, BRSPACE writes a detail log.
BRSPACE displays the Alter data file main menu.
2. If you have already entered the data file name and action, continue with step 6 (quick mode).

If you have entered multiple data files, BRSPACE displays as confirmation a List of data
files for alter. You cannot make a selection from this list. If required, go back and make a
new selection.
Continue with step 6 (quick mode).
3. Choose or confirm the required action (see the list of actions in step 1 above).
4. If you have already entered the data file name, continue with step 6 (quick mode).
BRSPACE displays the data file list:
List Entry Meaning
Pos. List sequence number
Tablespace Tablespace name for the data file
Status Data file status – online, offline, system or recover
Type Data file type – regular or raw disk
Size Data file size
AuExt. Autoextend setting
File File name

BRSPACE only displays the data files that can be processed by your chosen action.
For example, if you choose Set data file online, only the data files that are currently offline
are displayed.
5. Select a data file or multiple data files.

These examples apply only to input in character mode.


To select the first three data files in the list, enter 1-3.
To select the first and third data files, enter 1,3.
To select the first three data files and the fifth, enter 1-3,5.
BRSPACE displays the menu, Options for alter of data file.
6. Set the required options:
Menu Entry Meaning
Current data file status (status) Current status of the data file
– display only
Current datafile size in MB (currsize) Current size of the data file
– display only
Alter data file action (action) The action that you selected above
– display only
Force offline mode (force) -f dfalter -f|-force
Maximal file size in MB (maxsize) -f dfalter -m|-maxsize
File increment size in MB (incrsize) -f dfalter -i|-incrsize
New data file size in MB (size) -f dfalter -s|-size
SQLPLUS command line (command) The SQL command that is to be
executed using the current settings.
For more information, see your Oracle
SQL documentation.
7. To start processing with the selected options, choose Continue.

Results
Check the results in the BRSPACE logs.
The summary log space<DBSID>.log displays the return code.
The detail log s<encoded timestamp>.dfadisplays the details.
The structure change log struc<DBSID>.log logs all structure changes.
For more information on how to view the logs with BR*Tools, see Showing Logs and Profiles with
BR*Tools.

Showing Logs and Profiles with BR*Tools


Use
You can use BR*Tools for Oracle to show the following logs and profiles generated by BR*Tools:
Oracle profile – see Oracle documentation
BR*Tools profile, that is, initialization Profile init<DBSID>.sap
BRBACKUP logs
BRARCHIVE logs
BRRESTORE logs
BRRECOVER logs
BRCONNECT logs
BRSPACE logs
For more information, see Profiles, Logs, Messages, and Return Codes for BR*Tools.

Procedure
...

1. Start BRGUI or BRTOOLS.


2. Choose one of the following:
 Additional Functions Profiles and Logs Oracle profile
 Additional Functions Profiles and Logs BR*Tools profile
 Additional Functions Profiles and Logs BRBACKUP logs
 Additional Functions Profiles and Logs BRARCHIVE logs
 Additional Functions Profiles and Logs BRRESTORE logs
 Additional Functions Profiles and Logs BRRECOVER logs
 Additional Functions Profiles and Logs BRCONNECT logs
 Additional Functions Profiles and Logs BRSPACE logs
BRTOOLS displays a list of available logs or profiles.
3. Select the log or profile that you want to show.
BRTOOLS indicates which file is to be shown, as in the following example:

Following file will be displayed: /oracle/GC2/sapbackup/rdjxfcel.rsb


4. Choose Continue to show the log or profile.

16) from which version u have done kernal upgradtion ?

7.1 to 7.2

17) where to check java logs?

Go to the Java server main page(http://<server_name>:<port>/index.html) , and click on “NetWeaver


Administrator.” Then, navigate to System Management > Logs and Traces

18) iwhy j control and j lanch?

Component Description
JControl Starts, stops, and monitors the processes of a
Java instance (usually a dispatcher and several
server processes). The program implements
the SAP signal handling to stop the
instance.JControl starts
the JLaunch processes.
JLaunch Starts a Java program. It loads the JVM into its
own address space and then represents the
required cluster element. The program can
receive from notification from
the JControl process via named pipes to
stop the cluster element, and terminates, if
the JControl stops running (forkemulation
under Windows).
Bootstrap JAVA Synchronizes the binary data from the Java
database with the local file system and creates
a property file describing the processes of the
Java instance, which is used by the Jlaunch
processes.

19) why jco rfc provider?

In the J2EE Engine the RFC functions are implemented by the JCo RFC Provider service, which is used
for processing ABAP to Java requests. A feature is provided for receiving calls from the SAP systems –
this is done by registering the J2EE Engine as a RFC destination.
The JCo RFC Provider Service processes calls from the SAP systems. It dispatches the calls to a
stateless session bean, which is registered in the J2EE Engine naming system. By naming convention
the JNDI name used is identical to the name of the SAP function module.
Technically, the service is based on the JCo (SAP Java Connector).

20) confog and visula admin tool differnce?

21) sdm and jspm differnce?

The Software Deployment Manager (SDM) is a tool with which you can manage and deploy software
packages (Software Deployment Archives (SDAs) and Software Component Archives (SCAs)) that you
receive from SAP.

JSPM is just an interface for SDM and all the processing is done through SDM. Through JSPM we can
import both single support patch and SAP support package stacks. We can also apply kernel through
JSPM. Through SDM, we can only deploy a single patch, and can't deploy all of the support packs.

The Software Deployment Manager (SDM) is the deployment tool for an SAP Java development
landscape. You normally use an SDM GUI and various SDM servers for deployments on different hosts.
The SDM Server accepts only one user at a time. If somebody has already connected to it, you will
receive an error message. SDM is used for Netweaver 04 components only. SDM is supplemented by a
more robust Patchm anagement tool Java stack Patch Manager (JSPM). JSPM is available from
Netweaver 04S onwards

22) how to apply patches through jspm and what are prerequesit

The SAP NetWeaver Application Server Java (AS Java) and the database have been backed up

The support package stack you want to apply and the corresponding stack definition XML file have been
downloaded to the global EPS inbox directory /usr/sap/trans/EPS/in.

The <SID>adm user has Read permissions for the global EPS inbox
directory /usr/sap/trans/EPS/in.

There is enough disk space.

23) use of jcmon?

Monitoring – JCmon
Use
The JCmon is a native monitoring program, part of the startup and control framework, which can be used
to:
Display a list of the processes
Enable, disable, and restart the specified processes
Shutdown a specified J2EE instance
Enable/disable debugging for a specified process
Dump stack trace
Display a list of the ports used by the J2EE Engine
Activate/deactivate debug sessions
Increment/decrement the trace level

To start the JCmon, execute the jcmon script file from the /usr/sap/<SID>/<INSTANCE
NAME>/j2ee/os_libs directory, where <SID> is the system ID of the cluster (for example, C11) and
<INSTANCE NAME> is the instance name of the J2EE instance (for example, JC00). The instance name
consists of a prefix (JC or J) and the two-digit instance number afterwards. As parameter for
the jcmon script file specify the SAP instance profile:

jcmon pf=/usr/sap/<SID>/sys/profile/<SAPSID>_<INSTANCE_ID>_<HOST>.
Example:
jcmon pf=/usr/sap/C11/sys/profile/C11_JC00_testpc.
Enter command „20‟ to display the main menu.

Features
The JCmon main menu provides the following functions:
0: Exit
Returns back to the main menu.
1: Refresh list
Refreshes the process list and the menu.
2: Shutdown instance
Invokes the shutdown of the specified J2EE instance.
3: Enable process
Enables and starts a process, which is switched off. (Restart == no)
4: Disable Process
Stops a running process and switches off the restart flag.
5: Restart Process
Restarts the specified process.
6: Enable bootstrapping on restart
7: Disable bootstrapping on restart
8: Enable Debugging
Checks if the specified process is running in debug mode. If not and the process is configured for
debugging, JControl will restart the process in debug mode.
9: Disable Debugging
If the process is running in debug mode, JControl will restart the process and switch off the debug mode.
10: Dump stack trace
The specified process gets an event to invoke the dump of the stack trace of the Java VM. The stack
trace is stored in the stderr<n> output file in the work directory.
11: Process list
Displays the status and additional information about all the processes.
12: Port list
Displays a list with detailed information about the ports used by the J2EE Engine.
13: Activate debug session
Activates the debug session for the specified process. To activate a debug session:
The process must be running in debug mode.
The process must be “Load Balance Restricted”.
14: Deactivate debug session
Deactivates the debug session. The process will be restarted or stopped – this depends on the process
configuration.
15: Increment trace level
This increments the trace level for the developer trace file of the specified process (dev_<component
name>)
16: Decrement trace level
This decrements the trace level for the developer trace file of the specified process (dev_<component
name>)
17: Enable process restart
18: Disable process restart
-----
98: Synchronize instance properties
99: Extended process list on/off

http://help.sap.com/SAPHELP_NW04s/helpdata/EN/d3/4d074147c1f06fe10000000a1550b0/content.ht
m

24) spdd and spau

-----------------------------------------------------------------------------------------------------------------------

long running bcg job

long running transport

server down

Developer Traces:
-- dev_disp Dispatcher developer trace
-- dev_ms Message Server developer trace
-- dev_wp0 Work process 0 developer trace
The "services" file, which contains TCP and UDP services and their respective port numbers.
This plain-text configuration file is located under %winnt%/system32/drivers/etc.
Windows Task Manager (TASKMGR.exe).
Dispatcher Monitor (DPMON.exe), which is located under /usr/sap/<SID>/sys/exe/run.
Database logs.
EventViewer (EVENTVWR.exe).

explanation

- Windows Event viewer


- dev_disp/dev_w0 in the systems work directory

TMS
what is a tranport layer

transport layer--all development projects developed under same SAP system and transported under
single transport route are grouped under one transport layer.

,diff between sap and zdev transport layer.

sap standard objects are trasnported under sap trasnport layer and other develpment objects are
transported under z<sid> trasnport layer.

trasnport route?

Trasnport route define the path for transporting of changes between different sap systems and different
clients within the same or different sap system.

what is doamin controller.

among the systems in trasnport domain one system is chosen as domain controller which acts as a
central system to configure tms,create transport routes,transport layers ,create rfc connections and all
other activities related to TMS.

how do you trouble shoot if imported is done with rc-8

CLEINT ADMINISTRATION

LOGICAL SYSTEM?

HOW DO U CHECK TABLE SPACE USAGE PERCENTAGE, MAIN MEMORY AND HOW DO U INCREASE IT
WHILE PERFROMNG CLIENT COPY
------------------------------------------------------------------------------------------------------

fazal company

all users are locked in production how do u login

tp locksys sid pf =profile path

tp unlocksys sid pf =profile path

only sap* and ddic can login during system lock

how do u chekc if the kernel version is updtated or not

all clients are locked how do u login to a client

how do u unlock a client

There are two method to unlock the client which is locked while doing client copy.

1. We can lock a client using SCCR_LOCK_CLIENT and unlock SCCR_UNLOCK_CLIENT functions.

Run se37

Once we run this functions with a client as input , that client will be locked/unlocked. Actually this function set flag ''
Client is locked temporarly for client copy" in client maintanance menu. And the client will not be available for users
other than DDIC and SAP*. If you try to login in that client as any user , system gives message that ' Client locked
temporarly'..

2. Go to T-code SCC4 double click on the client u want to unlock under Display view Client detail under the
restrictions tab there is a check box for “ Lock due to client copy” just uncheck it .

what are access method

different types of printers

how do u rectify print issues

operation modes switch

if a background job is scheduled at 8.15 and the server has to be shutdown then hod u handle this
scenario

user has scheduled a job and the log says the job is terminated how dou rectify this problem
-----------------------------------------------------------------

IBM BANG 2ND TIME--SRUJAN SINGH,MURUGAN--date--7th may 2012

what is priv mode and ,when is it needed

sap sizing

HOw do configure TMS

which sytem is domain controller and y

what are transort routes and tansport layer types and how do u create them

how do u import tr's form different domain controller

issues faced during transorting

types of clent copy and there differences

hod do u apply pathces

hos do u download kernel patches form market place

how many application servers u have.what is a application sever

what is the difference between central instance and application serverhow does central instance
communicates with the application servers

what do u check in st03

how do u configure logon groups

how do erform load balancing

how do create tracks for different s/w components

WHAT IS SLD

HOW DO U IMPORT TRACKS INTO PRODUCITON SYSTEM

WHAT IS SPOOL REQUEST AND OUTPUT REQUEST


HOW DO U PERFORM LOAD BALANCING IN SPOOL SERVER

WHAT ARE DIFFERENT ACCESS TYPES

CAN U TRANSPORT OUTPUT DEVICE FROM DEV TO QUA AND QUA TO PRD

HAVE U WORLED ON OTHER SAP COMPONENTS

WHAT ARE THE THIRD PARTY TOOLS U USED

HOW DO U PERFORM TRANSPORTS IN NWDI

HOW DO U CONFIGURE CALENDER

HOW DO U CHECK FAILED TRFC'S

HOW DO U LANGUAGE INSTALLATIONS

HOW DO U GET PRINT OUT IN JAPANESE LANGUAGE

WHAT ARE DIFFERENT PORT NUMBERS

Accenture may16th

What are the profiles ,what is the sequence in which they start up

Parameters present in these profiles

What is the post for java engine

How many tracks are created for java developments

Spdd and spau phases in patch application

Type of files downloaded during kernel files downloaded

Diff between sccr keys and developer keys

Difference between dispatcher and message service

What are the different work process

Architecture of netweaver

Difference between customizing and workbench request


How do u configure TMS

WHAT are the two RFC’S created during tms

Diff between transport domain and transport group

Can a transport domain contain system with different transport group

Different client copies and there t-codes

Procedure of client export/import

Table which contains client details

ARE the files of client independent and dependent ans sap scripts always ceated

Number of files created in client export/import

Do we need to update SAINT when we update spam

Spdd and spau phases in SPAM

Do u schedule RDDIMPDP throough sm3 6 or through a report

Did u configure solution manager

Tell me about One issue u have faced

Difference between visual admin and config tool

Path of JSPM

WHAT ARE THE RUNTIME SYSTEMS IN NWD

PORT NUMBERS

WHAT ARE IVIEWS

HOW DID U PERFORM TRANSPORTATION IN PI

PATH FOR JSPM

Accenture May 30, 2012 anil hyd

Solution manager config


What do u check in import log

How do u check ot which systems the tr is impoted

Itil process

Kernel upgrade

System refresh

Background process that run dnring import

Profiles in tms

source--

http://www.saptechies.com/sap-basis-interview-questions/

I am unable to give the answer for following questions. If anybody knows the answer, please update the
answers and replay to all. It is really very help to all sap basis consultant.

1.What is the difference between System Trace, Developer Trace and System Log?

2.Incase, My sap system was down (Users are unable to login to sap system) How to analyze this
problem?

3.How to import the transport request at operating system Level? When importing a transport request,
what are the common errors you faced?

4.For example, my sap system having patch number was 8.I want to apply patch 9 and 10.Mistakenly I
will apply the patch directly 11 without applying 9 and 10.How sap system will recognize this problem?

5.One user unable to execute one t-code, that is authorization object is missing, How to add this
authorization object to user?
6.for example, consider a client 800.This client having 75 users. But 15 users account was locked. I want
to unlock this 15 users account at a time. How to do?

7.what is the use of parameter tab, and personalization tab in user master record? What is the use of
account id in logon tab?

8.how to change the number of work process at OS level? How to analyze the status of work process at
OS level?

9.For example, my sap system having 4 application sersvers. How many enqueue work process allowed
for this sap system?

10.What is the latest version of sap kernel? Can u give me the list of kernel versions?

11.what are the prerequisite for before applying support packs? Shall I apply sap basis patch to all the
system, like BW, ABAP, HR, etc.

12.For example, I want to transfer 50GB of data from DEV to Quality. I am using client export and import
method; can you tell me how many hours take for client export and import? And also How many hours
take for remote client copy?

13.How to perform a client import and export at OS level?

14.What is the use of reference and service user in sap?

15.For example, I scheduled one ABAP program as a background job, But it was running 10 days and
above. How to analyze this problem?
16.How to take a sap backup using BRTOOLS explain the procedure? When using BRTOOLS, which
backup device, you are used (Drive/tape)?

17.When applying a support pack to sap system. Can you tell me what are errors you are faced?

18.In CUA, I am unable to changes from DEV to QAS or PRD.How to troubleshoot this problem?

19.In CUA, What is the use of distribution model, partener profile, BAPI?

20.what is the user group and use in sap?

21.Example you have 6 sap application servers, I want to monitor all the application servers. How to
configure a CCMS?

22.what are the configuration details of ECC6.0?

1.Server ConfigurationèHDD, RAM, OS, DATABASE.

2. System Configurationè HDD, RAM, OS, DATABASE.

23.What are things we have to monitor in ST02, ST06, ST04, and ST03?

24.what is the name of your output device, device type in printer?

25.Can you tell me the path in service market place for download support packs and kernel?