Interview Questions Self

15
Re: What does mean by SWAP? Where should we monitor this? what is the threshold value for swaps/day? If it is more what will u do? Answe r # 2 the accessed data will sit in the buffer. If someone is trying to access the same data, that will be retrieved fast from the buffer. If the buffer is full and some one is retrieving the data which is not there in the buffer then that data will be fetched from DB and placed in the buffer and the oldest data in the buffer will be swapped for this. More number of swaps means more DB hits. If there are more Swaps we can increase the buffer size Re: WHAT ARE THE STEP BY STEP PROCESS TO APPLY JAVA PATCHES through JSPM ON SAP R/3 SYSTEM? Answe r # 2 Steps for Patching JAVA Stack Once the required patches files are downloaded from Service Market place, then move all the patches files to global EPS inbox directory /usr/sap/trans/EPS/in. Step 1: Start the JSPM tool from \usr\sap\<SID>\ DVEBMGS00\j2ee\JSPM\ go.bat .It will prompt for the JSPM password. Step 2: Choose the Deployment tab. JSPM guides you through the process of applying a support package stack via a wizard, which consists of the following five options: 1.Select Package Type 2.Specify Queue 3.Check Queue 4.Deploy Queue and 5.Completed. Step 3: Select Support Package Stack type(option button). Support package Stack, Single Support Package etc.. NWDI controls:(option button)

Transcript of Interview Questions Self

Page 1: Interview Questions Self

Re: What does mean by SWAP? Where should we monitor this? what is the threshold value for swaps/day? If it is more what will u do?Answer# 2

the accessed data will sit in the buffer. If someone is trying to access the same data, that will be retrieved fast from the buffer. If the buffer is full and some one is retrieving the data which is not there in the buffer then that data will be fetched from DB and placed in the buffer and the oldest data in the buffer will be swapped for this. More number of swaps means more DB hits. If there are more Swaps we can increase the buffer size

 Re: WHAT ARE THE STEP BY STEP PROCESS TO APPLY JAVA PATCHES through JSPM ON SAP R/3 SYSTEM?Answer# 2

Steps for Patching JAVA Stack

Once the required patches files are downloaded from ServiceMarket place, then move all the patches files to global EPSinbox directory /usr/sap/trans/EPS/in.

Step 1: Start the JSPM tool from\usr\sap\<SID>\ DVEBMGS00\j2ee\JSPM\go.bat .It will prompt for the JSPM password.

Step 2: Choose the Deployment tab. JSPM guides you throughthe process of applying a support package stack via awizard, which consists of the following five options:1.Select Package Type 2.Specify Queue 3.Check Queue 4.DeployQueue and 5.Completed.

Step 3: Select Support Package Stack type(option button). Support package Stack, Single Support Package etc..NWDI controls:(option button)If your system is not used for NWDI development, select NoNWDI. And If your system is used for NWDI development,select the role of your system by selecting one of thefollowing: DEV, CONS, TEST, or PROD.

Step 4:Choose Next.Support package stacks that are available for deployment

Page 2: Interview Questions Self

from the global EPS inbox directory are displayed in the screen.

Step 5:Click on Next buttonJSPM starts the deployment of the software components thatare part of the selected support package stack. The statusof all software components changes to SCHEDULED.

Note: If the support package stack includes a kernelupgrade, and if your system is distributed, during thedeployment you will be first prompted to stop the centralservices instance and any running dialog instances, and tochoose Next. You will be then prompted to start the centralservices instance and to choose Next. Step 6: The deployment of the components of the supportpackage stack can finish with the one of the following status:*DEPLOYED*DEPLOYED WITH WARNING*ERROR*NOT DEPLOYED

If the support package stack includes the JSPM, when it hasbeen updated, for the update to take effect, you will beprompted to restart it. If there are still components instatus NOT DEPLOYED, JSPM will proceed with their deploymentwhen you start it again.

Bear in mind that you must not change the content of theglobal EPS inbox directory before the deployment has finished.

Step 7: Click NextIf the deployment of the support package stack has finishedwith status DEPLOYED, you can choose New Deployment or Exit

Completed 

Page 3: Interview Questions Self

Re: What are the port nos of Dispatcher,Gateway, Message Server, Printer in windows,niping,Router ?Answer# 10

check /etc/services file(for windows %windir%/system32/driver/etc/services) if your instance no is 00 then search for term

sapdp00 --> Dispatchersapms00 --> MS portsapgw00 --> GW port

Etc.

We can find same using netstat command.

Dispatcher 3200Gateway 3300Message Server 3600Printer in windows 515niping 3298Router 3299

 

Re: why we are creating system land scape in company ? why we can't do development on prd server? pls tell me detail. its interview questionAnswer# 7 Creating Landscape is really important to

keep ProductionBox up thus running business smoothly since According toClient requirement. Customizing is done and changes aretested then are served to Customer. As per SAPrecommendation, One need to have at least one Developmentserver, One test and then production.and thereafter As perrequirement of customer many other SAP servers can be absorbto form a Complete Landscape.

Yes we can do development on Production server but YourBusiness will be at stake since SAP will not support it andmoreover even a single fault will ruin entire Business since you dont have any scope left to test your programbefore taking them Live. 

  Re: If a user wants to execute a background job immediately but there

Page 4: Interview Questions Self

is no Background work process available. How u will do?Answer# 4

Using the concept of operation mode you can define the additional background work process by Tcode RZ04

we can than perform a manual operation mode switch using tcode RZ03.Then there is no need to restart the systen.

 Re: after changing some parameters in rz10 and restart, the system doesn't start up?what to do?Answer# 2

When you make changes in RZ10 and save it, before overwriting the profile files in /sapmnt/<SID>/profile folder the system makes a file with extention .BAK which is created just before overwriting the original file.So incase if you system doesnt comes up after making changes in RZ10. Just backup the current profile files and then rename the .BAK with the original file name which will bring back the old profile status, then try starting the SAP system.As a best practice you should always back the profile files before making any changes to it.

 sapcar -xvf " in this command what is '-xvf' stands for.

Answer# 1

x- stands for extractv- stands for Verbose mode,f- stands for file

Re: What is SAP?

Answer# 7

SAP Stands fo System Application Product in data processing. SAP was first started in 1972 in Germany and in 1973 SAP/R1 was introduced and in 1992 SAP/R3 was Developed and so the password is built in such a manner that it contained 2 based on the calender and they were as

1)199207062)06071992.

Page 5: Interview Questions Self

Full Form of ECC : ERP (Enterprise Resource Planning) Central Component

 Can anyone tell me what is Server and Instance in sap, what is exact meaning of that?Answer# 4

Instance could be defined as a combination of one or moreprocess addition with memory allocation. it might be centralinstance, dialog instance or database instance. each n everyinstance have certain number of work processes with instancespecific memory area. dispatcher and workprocess could be a part of instance butnot defined as a complete instance without memory.

server comes from the logic of parent and child relationshipin between two applications. one the parent application isknown as domain server, and others child applications areknown as clients, and managed from the server.

 wha is the purpose of parameters tab in su01?

Answer# 1

The frequently keyd data can be stored by using parameter.for Eg: If you are running Va01,in its initial screen you need to put all field value every day like sale org, distribution channel, sales area etc.We can reduce this hectic job by storing the parameter value in SU01--> parameter tab for that particular user.Enter Pid and value there and save.from next time onwards if the user hits Va01 he will get all the values automatically coming in initial screen.similar like "variant".

What are common transport errors?

Answer Return code (4) indicates import ended

Page 6: Interview Questions Self

# 3 with warning.Ex:1. Generation of programs and screens 2. Columns missing and Rows missing.

Return code (8) indicates not imported ended with errorEx:1. Syntax error.2. Program generation error.3. Dictionary activation error.4. Method execution error. Return code (12) indicates import is cancelled.Ex:1. Import is cancelled due to object missing.2. Objects are not active.3. Program terminated due to job “RDDEXECL” is not working.Return code (16) indicates import is cancelled.Ex:

1. Import cancelled due to system down while importing.

2. Import cancelled due to user expires while importing .

3. Import cancelled due to insufficient roles.

In the real time we are facing only RC=08.why becase in the rc=08 the abapers programing some screens failed for ex:genaration errors and dictionary failed.

and also cancelled with rc=12.This is error why becase tabels missing thats way the requests cancelled with rc=12

what is the difference between killing a job with core and killing a job without core......plsAnswer# 2

killing a job without core does not geneeratee any log file

killing a job with core generates a log file . The log file is stored here-----directory locationusr/sap/sid/dvebmgs00/Background/work

Page 7: Interview Questions Self

How to find expensive SQL statement, if found, what should be done?

Answer# 3

St04 we can see the Expensive SQL statements with the help of the Coststo4 --- Detail Analysis menu ----Oracle session--- Find with the help of PID and Explain.

(Performance monitor from ST04)

if we Found Expensive SQL statement Analyze those Index's

 Explain Local Client Copy ?

Answer# 1

Create New client with transaction SCC4, Log on to your newclient e.g, 200 with user SAP* and password pass. Choosetransaction SCCL , Select u r source client e.g, 100. Forthe selected profile, choose SAP_USER choose Enter.

Create and schedule the job in background, the log isdisplayed in SCC3

Difference between mount point and file system

Answer# 1

file systems will be created on mount point

Explain Parameters for SAP Memory Management?

Answer# 1

ztta/roll_first Defines the first part of the roll area that is allocated toa dialog process.

ztta/roll_area Defines the total roll area per work process

rdisp/ROLL_SHM Defines the size of the roll buffer

rdsip/ROLL_MAXFS Defines the size of roll buffer and roll file

em/initial_size_MB Defines the fixed size of extended memory

ztta/roll_extension Defines the user quota for extended

Page 8: Interview Questions Self

memory

abap/heap_area_dia Defines the limit for the amount of local memory allocatedto dialog work process

abap/heap_area_nondia Defines the limit for the amount of local memory allocatedto non-dialog work process

abap/heap_area_total Defines the limit for the total amount of heap memoryallocated to all work processes

Can anyone tell me How to lock a single client from sap level and from o/s level?How to lock users from o/s level.Answer# 1

Locking a client at OS level :tp –locksys sid=<sid> client=<xxx>Where 'xxx'=client(100)

We have two options to lock a clientOne is run Tcode SCC4 and got to the client which you want to lock and select the option Locked due to client copy.

And the other one is Run Tcode SE37 and run the report "SCCR_LOCK_CLIENT" press F8 after that put the client no. in Client field and again press F8. The client will be locked..

 In what sequence does a dialog work process allocate the different memory areas (according to SAP recommendations)?Answer# 1

1. Roll Memory upto ztta/roll_first reached2. Extended Memory upto ztta/roll_extension or EM exhausted3. Remainder of roll area is used ztta/roll_area4. Heap Memory upto abap/heap_area_dia or HM exhausted

 who will schedule the background jobs?

Answer# 9

user having following Authority can schedule backround job

1)S_BTCH_ADM2)S_BTCH_JOB3)S_RZL_Adm

Page 9: Interview Questions Self

 Can BW run without a SAP R/3 implementation?

Answer# 6

Techincially speaking, we can have BW system without r/3 implementation. As BW acts as a repository, it can be connected to any external legacy or file system, exracts data and stores in its repository to serve reporting needs.

Yes, we can have BW without R/3. The source system(s) for BW can be anything, there is no complusion on BW to use R/3 as one of the source.

How many types of Work Process.and types of roles. how will assign the role to the user.Answer# 1

Dialog, Background, Update, Spool, Enqueue, Message Server & Gateway are the types of work processes.

Types of Roles - SIngle & Composite.

Assigning ROle to UserWay 1 : - Goto SU01 -> Enter User ID -> Goto Roles Tab -> enter the role name.Way 2 : - Goto PFCG -> Enter Role Name -> Goto Users Tab -> Enter User ID. 

What is Transport domain and Domain controller?

Answer# 2

transport domain contains copy of reference configuration.domain controller contains reference configurationtransport domain consists of all systems that you plan tomanage using stms. within transport domain all systems musthave unique system ids and only one of these systems isidentified as the domain controllerthe transport domain controller is the system where all TMSconfiguration settings are maintained. any changes in tothe configuration settings are distributed to all systems inthe landscape a transport group is one or more systems that share a commontransport directory

Page 10: Interview Questions Self

Name of the ABAP program to delete background jobs?

Answer# 1

RSBTCDEL-It deletes finished or cancelled jobs

What is the difference Between Role and Profile

Answer# 2

Role refers to the collection of associated activities as transactions, reports and so on.While profile is a set of authorizations that are valid for the transactions defined in that role.

Role has various components as MENU of transaction, reports, urls; AUTHORIZATION PROFILE(S) and USERS who are assigned to that role.

Roles are otherwise called Activity Groups or User Role Templates.

What is OCS and How to apply OCS Patches ?

Answer# 1

OCS stands 4: online correction system. Using SPAM you can apply OCS patches.

Why Downtime minimize mode is used while applying SP by SPAM?

Answer# 1

To save the system downtime duration, it performs all step online and only object activation is done in downtime.(Extra -> setting -> tick the downtime minimized mode)

Post processing step of kernel upgrade ?

Answer# 1

We have to execute saproot.sh script to set proper permissions.

From RZ11 can we change static parameters ?

Answer# 1

No, only dynamic parameters can b changed from rz11 and they don’t require restart for activation. Static parameter can be changed from rz10 but it needs system restart to activate those parameter.

Re: How u will assign Logon Groups?where u find logo.ini

Answer# 1

SMLG and logon.ini windows folder 

Page 11: Interview Questions Self

Re: what is SAPMNT?

Answer# 2

SAPMNT is a directory store SAP profile and global parameters. 

Re: what is SAPMNT?

Answer# 3

SAPMNT is the sharable name of folder /usr/sap. IT containsthe global parameters like profiles, global,exe and local (specific to instance) parameters like work,data,logs.

It also contains the trans directory which is used by allthe systems in transport group.

Re: who is the owner of system files?

Answer# 5

<sid>adm 

ABAP Service Pack level can be found in SPAM, but how to find the Java Stack Level?Answer# 2

if u want to chk java stack levelgo to browserin the addresbar http://<hostname>:50000then enterthen click on the "?" and then choose statusit will give u java stack level

what all checks will you perform when sap is down

Answer# 1

Basically we have the following 4 types of check

1. Hardware check2. R/3 check (with application servers)3. OS check4. Database check

1. Hardware checkCheck console messagesCheck hardware components Check main log files

Page 12: Interview Questions Self

Start up/shut down log filesCheck the disk space

2. R/3 check (with application servers)Check for problems with PDC file server.Check processes or services at operating system levelCheck connection with database Check the buffer size and disk capacity

3. OS checkCheck the event viewer

4. Database checkCheck database specific error log fileCheck database error numbersCheck database alerts.

what all checks will you perform when sap is down

Answer# 3

Apart from HW check OS Check DB Check, we need to check at R/3 level with 1. Whether dispatcher is running or not 2. If Dispatcher is not running check dispatcher with developer trace to find out what is the reason. 3. Check Dispatcher is running but if it is not connected to Messege Server. 4. If everything looks fine, then check with OS level services and give a fresh stop/start.

How to apply note in SAP if SNOTE transaction doesn't exists?

Answer# 1

Apply manually by reading the correction instruction given in the note. 

 Which type of Backup and Redo log backup is performed daily? And which type of Backup and Redo log backup is performed Weekly in the organization?Answer# 1

Daily :online backup of DEV & QASWeekly:offline backup of DEV ,QAS & PRD

 What is TMS, TDC, CTS, STMS and difference among them?

Answer# 1

TMS --> Transport Management system

STMS is an transaction code for TMS

TDC --> Transport domain controller , it acts like cetntal

Page 13: Interview Questions Self

system to transfer data from one system to another ,Normally always Development system will be configure as TDC

CTS --Change Transport System --This one will use to releasea transport requests (request number)