30
What is your system landscape? 4 system landscape –dev 2quality and production What are you roles and responsibilities in your company? A) User Maintenance / Unlock the users / Monitoring users. B) Performed daily system monitoring to check for short dumps, error logs, table locks, work processes, batch jobs, database & OS,response times,buffer stats and CCMS alerts What are versions of SAP & R/3, Oracle you are using? C) Ecc6.0-SR2 ,oracle=10g,ptach=10.2.0.2 Patch numbers of SAP kernel & Oracle you are using A) Kernel patch=154, oracle=10.2.0.2 if a user wants to execute a background job immediately but there is no Background work process available. How u will do? A) By manually switching operation mode What are common Housekeeping background jobs that run in your system? DELETE ABAP DUMPS(RSSNAPDEL) DELETE OLD BATCH INPUT FILES DELETE OLD JOBS(RSBTCDEL) DELETE OLD SPOOLFILES(RSPO0041) Collect sysperformance statistiS(RSCOLL00) What are common transport errors u faced while transporting? 1. Error: In STMS initial screen it is coming "TMS Configuration is inconsistent" & Transport Route Configuration is inconsistent. In SM59 it is giving error "Partner not reached". RFC connection "error with system/destination" Solution:

Interview

Embed Size (px)

DESCRIPTION

Interview

Citation preview

What is your system landscape?

4 system landscape –dev 2quality and production

What are you roles and responsibilities in your company?

A) User Maintenance / Unlock the users / Monitoring users.B) Performed daily system monitoring to check for short dumps, error logs, table locks, work

processes, batch jobs, database & OS,response times,buffer stats and CCMS alerts

What are versions of SAP & R/3, Oracle you are using?

C) Ecc6.0-SR2 ,oracle=10g,ptach=10.2.0.2

Patch numbers of SAP kernel & Oracle you are using

A) Kernel patch=154, oracle=10.2.0.2

if a user wants to execute a background job immediately but there is no Background work process available. How u will do?

A) By manually switching operation mode

What are common Housekeeping background jobs that run in your system?

DELETE ABAP DUMPS(RSSNAPDEL) DELETE OLD BATCH INPUT FILES DELETE OLD JOBS(RSBTCDEL) DELETE OLD SPOOLFILES(RSPO0041) Collect sysperformance statistiS(RSCOLL00)

What are common transport errors u faced while transporting?

1. Error:

In STMS initial screen it is coming "TMS Configuration is

inconsistent" & Transport Route Configuration is

inconsistent.

In SM59 it is giving error "Partner not reached".

RFC connection "error with system/destination"

Solution:

Recreate the TMS route.

2. Error:

Errors: connect failed due to DbSL load lib failure

Solution:

DIR_LIBRARY and LIBPATH - Set the /usr/sap/<SID>/SYS/exe

path

3. Error:

SAP STMS Buffer Error

TOOLS: Highest return code of single steps was: 16

ERRORS: Highest tp internal error was: 0243

tp finished with return code: 243

meaning:

transport in buffer too long or unknown format detected

Solution:

The buffer file is stored in /usr/sap/trans/buffer/<SID>

rename the file to .old and again add the trainsport

request to buffer.

How you will do client copy? If SAP * user is not available at all in your system then how u will do client copy?

sqlplus /nolog

connect /as sysdba;

delete sapsr3.usr02 where mandt='<client no.>' and

bname='SAP*';

goto /usr/sap/SID/SYS/profile and change the default

profile.

Add the parameter login/no_automatic_user_sapstar=0

How u will apply OCS patches?

OCS stands for :- online correction system. Using SPAM u can

Apply OCS patches.

What is the database backup strategy in your company?

Full online SAP backup every day at 20:00 (including weekends)  

Full OS filesystem (minus SAP data) every weekday.  

Continuous archive logging from 15:00 to 11:00 next day (weekdays) and 15:00 to 14:30 (weekends).  

Archive log deletion at 14:45 every day.  

We perform a parallel backup on 2 tapes using 3 x 5 DLT tape autoloaders using a 7 day rotating tape cycle. OS backup onto single DAT.  

The tapes are stored offsite and brought in every weekday. On Friday the Friday, Saturday and Sunday tapes are brought in.

How u will give new authorizations?

pfcg

#How to adjust user master records? If user masters record doesn’t adjust what will you do?

PFUD - User Master Data Reconciliation

How to check Kernel, tp versions?

Spam->utilities->check transeport tool

Tp –v= tp version 372.03.35 (release 700, unicode enabled)

R3trans –v= r3transe version: 6.14

Kernal =Disp+work,

Briefly explain a recent problem you faced, which u felt proud by solving that? And ho u solved?

How you will rate yourself in SAP, Oracle from a scale 1 – 10?

6 in sap 5 in oracle

What are your daily activities in your company?

Performed daily system monitoring to check for short dumps, error logs, table locks, work processes, batch jobs, database & OS,response times,buffer stats and CCMS alerts

If a background job runs more than the time it should be completed normally then what actions will u take?

First and foremost thing ,we need to inform that user who has scheduled,then we will get inforamation about the backgroung job.check the load and generation time, check thebuffers and increase it accordingly If the developer wants to kill the job ...then go to sm50 and select the btc work process cancel with core and secondly execute sm37 then select the btc job kill.

How to schedule background jobs at OS level?

sapevt <event described> nr=00 name=<hostname>

How to add authorizations, how you will maintain profiles?

Using pfcg

CCMS profile maintenance tool to maintain profiles

Transport request types and its syntax.

There are 4 types of requests

Customizing request Customizing request records client dependent objects like table entries, SPRO configurations. Client dependent objects are only available to particular client.

Workbench request Workbench request records client independent objects like reports, Functions, tables. Client independent objects are available across the system irrespective of client

Transport of copies

Relocation

Where will u find transport error logs?

D:\usr\sap\trans\log

How to do transport at OS level?

tp connect <target system> pf=<complete path of the parameter file

tp addtobuffer <request> <target system> pf=<complete path of the parameter file>

datafile and cofile of the request will get copied under respective data subdirectory and cofiles subdirectory

tp import <request> <target system> pf=<complete path of the parameter file>

tp import all <target system> pf=<complete path of the parameter file>

You can add the following to specify a specific client for import:

client = <number of the client>

How to transport objects from Production to Development?

Export tp files and import in dev server

How to define instances and operation modes?

call transaction RZ04....The system displays a list of productive instances.

What are Homogenous system copy and Heterogeneous system copy and how you will do that?

Homogeneous system copy: copying of the data from the source system to the target system having the same(OS and database) as on the source system.

Hetrogeneous system copy: copying of the data from the source system to the target system having either the different OS or database as on the source system

At OS level in which directory oracle alerts are stored?

E:\oracle\PRD\saptrace

If a lock entry is holding more than 24 hours then what will you do? If another user wants to share that lock but the user using that lock haven’t released lock he went for holiday what will u do? This user wants lock ASAP then what will u do?

If the another user wants the LOCKED object, for which the lock is too old, then, there is only 1 way to free it and that is to delete the lock by SM12. But, before doing that perform the following:

1. Check with SM37, if any background job, pertaining to the lock is running or not.2. Check the user session with SM66 and SM50, if any WP is running or not.After only confirming that there is no job running, you can delete the lock, otherwise inconsistency may arise

In SM12 check any lock entry older than 2 days, if any outdated entry check the corresponding User and check the user online or offline in AL08 and contact that User (you can get the User info from su01) and inform about the lock else if the user is offline release the table from lock by deleting the lock.

Enque/table_size= Default value of this parameter is 32mb,min=4mb,max=1gb

**What will you do if u got Update failure?

If we see any fail updates first we will check the coloum client, user and which Transaction code he is using, then we will contact the user and inform him that whet ever he was updating with TCode is failed. and he has to repeat the tcode again

What will you observe in System log (SM21)?

Sm21 is used to findout the logs for an individual instance. In sm21 it will record all the error that are taking place, warning, etc..

How to increase tables space, resizing, backups and when will you do?

Using BRTOOLS

Various client copy methods and how you will do them?

3 Types,sscc4,sccl,scc8,scc7,scc9,scc5,scc1

How you will get help from OSS notes?

It is nothing but corrections to the programs

What is the need of having Development system?

In order to test the developments in the system for a project you need a test system

Difference between Application server and Central Instance?

Central Instancehas a message server and work processes Application server has no message server, having workprocesses.

How you will check whether database is active or not from OS level?

R3trans -d

What is Transport domain and Domain controller?

Transport domain is the collection of transport controller, trans directory and all other systems in the group.

Transport domain controller is a system which has trans directory, and in which the total landscape is designed and maintained (prd or qas)

What is Consolidation route and delivery routes?

Only in Consolidation route the objects can be changed and we can transport to one system to another system but in

Delivery route changing the object is not possible and we can't transport it.

Simply we can say objects are change and transport is possible in Consolidation and it is not possible in Delivery Route

How to lock a client? How to delete a client?

SE37->

SCCR_LOCK_CLIENT,

DELETE=SCC5=CLIENT NUMBER

Locking/unlocking the entire system, an admin can use the following commands:1. tp locksys <SID> pf=<transport profile>2. tp unlocksys <SID> pf=<transport profile>

How to login in to SAP from command level?

You can go to command prompt ( in windows desktop ) and type the command as below syntax

sapgui <hostname> or <ip address> <instance no >

How to define Logon groups? And what is Logon load balancing?

Logon groups can be defined by using the Tcode SMLG. U need

to create the group and then assign the instances for that

particular group. The load balancing is introduced so that

there will not be heavy load on one instance.

After client copy is table space and database sizes will be increased or not?

Yes.DB Size & Tablespace size will definitely increase after client copy

How to do client copy fast?

Yes, If you want parallelize client copy choose "Goto" -> "parallel processes

What are various profiles available for client copy?

SAP_UCUS SAP_CUST with user master dataSAP_UCSV SAP_UCUS with variants SAP_ALL All client data except change documents (see note

180949) and local data is copied.SAP_APPL SAP_ALL without user master data

HOW TO IMPROVE THE CLIENT COPY PERFORMANCE?

deleting unnessary tables from client

Using parallel processing

System copy instead of a client copy for very large clients

What are the Memory parameters in sap instance profile?

They also define the available instance resources (main memory, shared memory, roll memory, and so on), and how to allocate memory to the SAP application buffers.

Session timeout:

The session timeout period should be synchronized between the SAP NetWeaver portal and your company portal.

To set the SAP Portal timeout value, perform the following steps:

1. Shut down the system.

2. Open the Config Tool from the following location:

C:\usr\sap\<SID>\J<instance no.>\j2ee\configtool\configtool.bat

3. Choose  View Expert Mode

4. Navigate to  Services servlet_jsp

5. In the Key column, scroll down to the following parameter: Global_app_config/session_config/sessionTimeout

6. In the Custom Value field, enter the timeout value and choose Set Custom Value.

7. Save and then restart the system

Default Timeout:

This is the most used and the most common parameter used for portal component timeout.  It is set  at portal

System Administration –> System Configuration –> Service  Configuration –> Default configuration.

Parameter is Default.component.timeout

Where the transport data files will be placed?

/usr/sap/trans/data: holds the data of transport objects after they are released

In which table failed user login attempts will be there?

Usr40

How to see the t able entry values?

SE16,SE11

How you will give new authorizations?

if u have to create a user id u will still use SU01any security for that user id to bex queries we will use RSU01

How to configure TMS?

First decide which system you would like to define DOMIAN controller. Configure the Domain Controller Steps to configure ------------------

1. Login to the system with sap* in client 000 2. Goto SE06. 3. Click Post installation activities 4. Goto STMS 5. It will ask for Domain controller name. 6. Enter DOMAIN_<SID> as domain controller name and enter the description.  7. Click Save button

Steps to add the other system with Domain controller ---------------------------------------------------- 1. Login to system with sap* in client 000 2. Goto SE06 3. Click Post installation activities 4. Goto STMS 5. It will ask for Domain controller name. 6. Enter System ID of the Domain controller 7. Enter DOMAIN_<SID> as domain controller name and enter the description.  8. Click Save button  9. Login to Domain controller system  10. Approve the added system.

The transaction should not be displayed in User Easy access menu but he must execute that transaction how to do that?

1)your daily tasks

monitoring-sm21,sm04,sm50,sm51,db02,sb13,st04,st03,st02

2) issues in client copy while import from os( cmd at os level)

3) sap gateway:

IT is used to communicate b/w different systems (RFC, CPI/C).

4) what health checks we perform

Identify non-documented procedures around standard SAP BASIS transactions such as: buffer hit ratios, database locks, work processor utilization, runtime statistics , CPU, main memory and database contention more->Conduct analysis to identify weakness in key areas including:o alert thresholdso key processes such as MRP processing and month-end-closeo user levelso SLA and management reportingo daily checklist executiono daily job reviewso infrastructure drawbacks0 Identify bottlenecks such as CPU, main memory and database contention0 Identify ways to compliment SAP’s native performance monitoring tools such as CCMS and Solution Manager

5) in sm51 wht are the ways to chek central instance

Select the system by host name it will show u all processes

6) database questions

7) archive log mode enabling, spfile n pfile, how to chek the database is up and running or not by processes

Startup mountalter databse archivelogalter database open,

STARTUP PFILE = /u01/oracle/dbs/spf_init.ora

R3transe-d=databse is up or not

8) what are we can done in mount state

MOUNT: This stage is used for specific maintenance operations. The database is mounted, but not open. You can use this option if you need to:· Rename datafiles.· Enable/disable redo log archiving options.

· Perform full database recovery.· When a database is mounted it

. Changeing log archive destination

9) difference b/w sga and pga & in shared server pga is there or not?

Oracle uses an area of shared memory called the system global area (SGA) and a private memory area for each process called the process global area (PGA).The basic difference between SGA and PGA is that PGA cannot be shared between multiple processes in the sense that it is used only for requirements of a particular process whereas the SGA is used for the whole instance and it is shared.

The PGA is a process piece of memory. This is memory specific to a single operating system process or thread. This memory is not accessible by any other process/thread in the system. The PGA is never allocated out of Oracle&#697;s SGA &#8208; it is always allocated locally by the process or thread

10) how to check list of users in sap

Sm04/al08

11) How many users in sap, hardware of sap, database size, no.of application servers

200 users,6gb ram,2tb hdisk,1tb,3

12) how to check whether the system is unicode or not

( disp+word ),sm51 release note,system status

13) what is BI content in sap

Business Content is delivered as an add-on to SAP BW, Business Content is a pre-configured set of role and task-relevant information models based on consistent metadata in the SAP Business Information Warehouse

14) alert log location in sap

E:\oracle\PRD\saptrace

15) how to reset sap* password

update SAPSR3.USR02 set bname='SAP*1' where bname='SAP*' and MANDT=000;

16) some users are already logged in and working but new users are unable to login in sapgui what to do

dpmon to identify the issue and troubleshoot.

If even basis administrator could not login to SAP system, then use dpmon tool to identify the processes that have gone to PRIV mode

17) full form of DDIC

Data Dictionary

18) hoW TO check users transactions in sap stad, & if a particular transaction is taking much time what to do

19) how to check the quality of database buffer

( st04 & it should be 99%) if it is 60% what to do.

20) how many datafiles are ther in ur sap system

4

21) how much data size increases per month

512mb

22) what is missing indexes and how to create indexes in sap

Go to Transaction DB02-->Diagnostics-->click on missing indexes

3) what is consolidation route and delivery route in sap

Consolidation route the objects can be changed and we can transport to one system to another system but in

Delivery route changing the object is not possible and we can't transport it. Simply we can say objects are change and transport is possible in Consolidation and it is not possible in Delivery Route

4) In spam in abap wordlod is higher what to do

What is the function of dispatcher in Kernel

SAP dispatcher

SAP dispatcher is the control agent that manages the resources for the R/3 applications.

Functions of dispatcher

Equal distribution of transaction load to the work processes.

Management of buffer areas in main memory.

Integration of the presentation levels.

Organization of communication activities

Where do you activate the trace for WP and increase the trace level

1. Choose  Administration System Administration Monitor System Monitoring Process Overview or enter transaction SM50.

2. Choose the work process(es) for which you want to increase the trace level.

3. Choose  Process Trace Active Components .

What are diffrent types of TABL Buffering

Full buffering            When a table record is read, the table is completely         loaded into the buffer.

2.    Generic buffering            The generic key is part of the primary key of a table.         When a table record is read, this buffer type loads all records that         correspond with the generic key.3.    Single- record buffering            The records that are read are loaded to the buffer.

What process will you follow for SM12 deletion

You must NEVER delete locks from SM12 without making sure that the lock owner is logged out of the system and no processes are running in the owners name.

Before Deleting Lock Entries in SM12 ,u will take the Black and White Approval from the Project Manager OR U r Reporting Manager

What is the use of profile ztta/roll_area

The value specifies the size of the roll area in bytes. The roll area is one of several memory areas, which satisfies the user requests of user programs. For technical reasons, however, the first 250 KB or so of a user context are always stored in the roll area, further data- up to the roll area limit ztta/roll_first,- in the extended memory, up to the limit ztta/roll_extension or if extended memory is exhausted, then- again in the roll area, until the roll area is full, then- in the local process area, up to the limit abap/heap_area_dia or abap/heap_area_total or until the address space or theswap space is exhausted

What is the advantage of taking backup to a disk and then to the tape

Disk-Based Backup Benefits Include:

1. Users are no longer relying on tape as the primary storage medium2. Backups can be faster depending on the type of network3. Restores are almost always faster (no tapes to find and mount)4. Network backups provide superior disaster recovery protection

Tape-Based Backup Benefits Include:

5. Inexpensive and virtually unlimited media size (via libraries)6. Small form factor7. Multiple redundant backup sets8. Easy off-site media storage

Patches

1. You have to load new kernel patches, how would you go about the same?2. If there is a problem in R3 trans after the kernel upgrade, what would you do?

3. What is Spam used for?a)Spam is used to apply patches

4. What is the Client that you would use to apply patches?A)client 000 is used to apply patches

5. Will you use DDIC, or SAP*? If not why?A) We should not use both user’s we must make a copy of this user

6. What are the phase while loading the patchesA) there are 17 phases while applying patches

-prolouge-check requirement-add_to_buffer-import_obj_list-Test_import-Run spau-Run spdd-Shedule_rddimpdp-disassembling the patch-ddic import-import proper

Profile Parameters

1. A colleague of yours changed a parameter in one of the application server, and it is behaving differently what would you do?a) will check the parameter in TU02 table and change it using rz10.

2. What is the program that you would use from SID ADM to check the parameters?a)SAPPFPAR CHECK,a)SAPPFPAR ALLa)SAPPFPAR PARAMETER NAME

3. Where are the profile files located?A)D:USR/SAP/SID/SYS/PROFILES

Printing

1. How will you configure a printer in SAP?

A)Using tcode-SPAD

2. Where are the Spool Logs stored?A)

3. How would you clean them? Why not delete them?RSPO0041 or RSPO1041 or CCMS

4)What will you do when spool process fails?

first we need to check why the spool proces is fails.Next we need see the SM50 & sap MMC console regarding spool process .check sm21 for any information.and if possible check the printer configration

sm21Operating system call recv failed (error no. 10054)general network problems- unplugged cables- communication partner (process) crashes- server on which the communication partner is running did crash or was rebootet without stopping the communication partner

10054 is one of the most general tcp/ip errors on windows.

How to define number range for spool request in sap

In Client 000, execute transaction SNRO -Number Range button - Interval. Default numbering range is 100 - 32,000 (which can print up to 31,900 requests) To do this: Transaction SNRO > Table SPO_NUM > Number Ranges (button) > Modify > change the max limit to desired number.

2. Define profile parameter rspo/spool_id/max_number up to 2^313. Define rspo/spool_id/loopbreak to same value as above. This is optional.

Go to transaction SNRO, select SPO_NUM object and click on number ranges in the top right tab.Go to Intervals(change mode) and change to ->100 to 99000

It maybe 100 to 32000 in ur case

CSE COMPANY

CSC COMPANY

Where do u check dumps in java stack?To dump the server processes Java stack trace, select the relevant server process, and from the context menu choose Dump Stack.The resulting Java server stack trace is stored in the dev_server<n> file in the usr\sap\<SID>\<instance name>\work directory/ dev_server<n>

How to take the backup of rfc before performing system copy?

exportfile '/usr/sap/trans/data/filename1.dat'delete from rfcattribselect * from rfcattribdelete from rfcdesselect * from rfcdesdelete from rfcdocselect * from rfcdocdelete from rfcsysaclselect * from rfcsysacldelete from rzllitabselect * from rzllitabdelete from rzlliclassselect * from rzlliclassdelete from sxrouteselect * from sxroutedelete from rfccheckselect * from rfccheck

2 ) execute the command R3trans -w <filename>.log <filename.>.ctl , a log file will be created in /usr/sap/trans/bin with the file name <filename>.log , R3trans return code should be 000 0r 004.

3) If you want to reimport it to the same system at a later point of time create a script <filename2>.ctl in /usr/sap/trans/bin

importfile '/usr/sap/trans/data/filename1.dat'

4) R3trans -w filename2.log -u 1268 <filename2>.ctl

The return code should be 000 or 004 , compare the no of table enties in the exported and imported log files , they should be in sync .

What is the diff b/w conif tools and visual admin?SDM :- Software Deployment Manager is been replaced with JSPM tool for more intelligent work.It is a tool from where we can apply the support packages, but now it is outdated and we are using JSPM tool to deploy the support packages.For SDM tool we need to manually feed the support packages.With SDM tool we can also undeploy the support packages.It is initialized with remotegui.bat (Windows) or remotegui.sh (Unix)

JSPM:- Java support package manager is initialized by go.bat (WIndows) or go.sh (Unix). It uses the SDM password. It is an intelligent toolit will check the patch levels at market place with the existing patch levels. it will read the SP's from inbox automatically.we can even upgrade the kernel here.

Config tool : It is a configuration tool which works offline.it does not require java engine to be up and running to open.it is initialized by configtool.bat or configtool.shit is used to configure the ldap to populate the user information.it is used to increase and decrease the server processes.it is used to change the password of superuser when all the users got locked.

Visual Admin Tool : It is online tool requires java engine to be start.remote login is possible with this tool.it is initialized by go.bat or go.shMost of the parameters are dynamic and does not require restart of engine.it requires user id and password to login

Did u face any BACKGROUND job fail?

Diff b/w spam and saint?

SPAM (Support Package application manager)- It is used for applying support packages (eg. Basis, ABAP or application patches)SAINT (SAP Add-on installation tool) - It is used to install add-on's (eg. SEM or FINBASIS add-on for BI)

SPam are used to import support packages and saint is used to install Plug-ins and add-ons

Where do u check the which user’s having DEV ACCESS key ?

T-CODE=USMM

GO DOWN CLICK ONLY USER WITH SCCR KEY (or) ONLY USERS WITHOUT SCCR KEYS

Where do u start ccms agent?

Where do u check sap database gouth in sap level?

Goto transaction DB02 and navigate to Space -> Space overview to view

Database name Database system Size Free size Used percentage Number of database users Number of tablespaces Number of tables and size Number of indexes and size

What are the things to check before stopping java stack?

Name some drawbacks of SAP - Interfaces are huge problem, Determine where master data resides, Expensive, very complex, demands highly trained staff, lengthy implementation time.

Advantages of SAP: integration,user friendliness,modular scrtucture,3-tier architecture,available for small organization-shops

RESETLOGS                    resets the current log sequence number to 1 and                    invalidates all redo entries in the online and                    archived redo log files.  You must use this option to                    open the database after performing media recovery                    with a backup controlfile.  After opening the                    database with this option, you should perform a                    complete database backup.  NORESETLOGS                    leaves the log sequence number and redo log files in                    their current state.

   You can only specify these options after performing incomplete media recovery.  In any other case, Oracle uses the NORESETLOGS automatically. 

I-GATE PATNI

What is the use of archive log mode?

Administer the Archived Redo Logs

An Oracle database can run in one of two modes. By default, the database is created in NOARCHIVELOG mode. When in NOARCHIVELOG mode the database runs normally, but there is no capacity to perform any type of point in time recovery operations or online backups. Thus, you have to shutdown the database to back it up, and when you recover the database you can only recover it to the point of the last backup. While this might be fine for a development environment, the big corporate types tend to frown when a weeks worth of current production accounting data is lost forever.

Using the ARCHIVELOG Mode

So, if you wish to avoid the wrath of the CEO and angry end-users, you will want to run Oracle in ARCHIVELOG mode. In ARCHIVELOG mode, the database will make copies of all online redo logs after they are filled. These copies are called archived redo logs. The archived redo logs are created via the ARCH process. The ARCH process copies the archived redo log files to one or more archive log destination directories.

What happend if we take a online backup?

During backup mode, for each datafile in the tablespace, here is what happens:

1- When BEGIN BACKUP is issued:

The hot backup flag in the datafile headers is set, so that the copy is identified to be a hot backup copy.This is to manage the backup consistency issue when the copy will be used for a recovery.

A checkpoint is done for the tablespace, so that no dirty buffer remains from modifications done before that point.Begin backup command completes only when checkpoint is done.

2- During backup mode:

The datafile header is frozen so that whenever it is copied, it reflects the checkpoint SCN that was at the beginning of the backup.Then, when the copy will be restored, Oracle knows that it needs to start recovery at that SCN to apply the archived redo logs.This is to avoid the header inconsistency issue.That means that any further checkpoints do not update the datafile header SCN (but they do update a 'backup' SCN)

Each first modification to a block in buffer cache will write the full block into the redo thread (in addition to the default behaviour that writes only the change vector).This is to avoid the fractured block issue. There may be a fractured block in the copy, but it will be overwritten during the recovery with the full block image.

That means that everything goes as normal except for two operations: - at checkpoint the datafile header SCN is not updated - when updating a block, the first time it is updated since it came in the buffer cache, the whole before image of the block is recorded in redo - direct path writes do not go through the buffer cache, but they always write full blocks and then full block is written to redo log (if not in nologging)

3- When END BACKUP is issued:

A record that marks the end of backup is written to the redo thread so that if the copy is restored and recovered, it cannot be recovered earlier than that point. This is to avoid the backup consistency issue.

The hot backup flag in the datafile headers is unset. The header SCN is written with the current one.

What s the diffrence between database restore and database recovery?

Restoring a database is copying the physical files from a backup medium (disk or tape) to the appropriate file locations for database operation Recovery is process of updating database files restored from backup w/changes made to the database since backup, typically using redo log files.(Restored backup files + changes = Recovery

Recovery is the process of applying redo logs to the database to roll it forward

What is the use of adding server process?

A server process is added to scale up your Java Instance. In an ABAP+JAVA stack combined (java add-on to ABAP stack) installation, it is not possible to install java stack (individually, without ABAP stack) in any instance or in any host. So any additional instance of Java Stack can only be installed as an add-on to a fresh ABAP stack .i.e. both have to be installed together. For scaling up java stack a further server process can be added, BUT ABAP stack alone, without JAVA Add-on, can be installed.

What happend in file system when we add server process?

What is point in time recovery?A point in time recovery is restoring a database to a specified date and time. When you have completed a point in time recovery, your database will be in the state it was at the specific date and time you identified when restoring your database. A point in time recovery is a method to recover your database to any point in time since the last database backup.

What does it take to do a point in time recovery?

In order to perform a point in time recovery you will need to have an entire series of backups (complete, differential, and transaction log backups) up to and/or beyond the point in time in which you want to recover. If you are missing any backups, or have truncated the transaction log without first performing a transaction log backup, then you will not be able to perform a point in time recovery.

Can we perform transactional data copy using client copy if we have 100gb of data?Application data will be consistent only if customizing/workbench will be same in source and target system. That is the reason copying only application data is not possible.

Application data depends on customizing data, so it can only exist consistently together with it. Application data is therefore always deleted from the target client, exception for copies with SAP_USER. Application data is generally in tables with delivery class A.

If we have a saparate transe directory can we perform transport?

Release the request then in a target system adjust the request from a rqst queue den import it

What is BR-Archive?It is used to backup the log files

It can be initialized using SM49

How many threads we can have in one server process?Application Thread ManagerMin Thread Count=40Max thread count=40

What is max heap size and min heap size?Suppose I have a machine with a lot of RAM, ie more than 20 GB RAM; according the note I should set just 2GB for the Heap size

Databse is not opening it is only in mount stage what to do?

Sap is not allowing user to login what to do?

Deleting Old Audit Files choose Tools Administration Monitor Security Audit Log Reorganization.

The Security Audit: Delete Old Audit Logs screen appears.

       2.      Enter the Minimum age of files to delete (default = 30 days).

Explain How data is stored in cluster table?  Each column of cluster table behaves as tables which contains the no. of entries. 

2. Name SAP objects that are client dependent? 

SAP Script layout, text element, and some DDIC objects. 

Which transaction code can I used to analyze the performance of ABAP program. se30

11. How can I copy a standard table to make my own z_table.

Go totransaction SE11. Then there is one option to copy table. Press that button.  Enter the name of the standard table and in the Tar get table enter Z table name and press enter.

12. What is a ‘Z’ report?Y or Z report refer to custom made abap programs written for SAP modules

13. Why can’t we create an ABAP program without using Y or Z?It’s because all non Yor Z programs are already reserved by SAP programs.

14. Name the table name to store the output program names.Table TNAPR

15. How can we pull out a report that gives a count of how many times a report has been executed?Using TCODE STAT.

how to assign a object to 100 roles at a time

Go to se11 T-Code..from there go to the table agr_agrs. You will be asked to provide the Access key ..then enter the object that needs to be added to 100 roles...then Select the range of roles in which the objects needs to be added and then save or Activate whatever option is given

transport is imported into QAS in 2 minutes time.the same transport when imported into prd is taking more than 20minutes.why?and what to do?nswer# 4

To resolve the concern prob. we need to understand background process of STMS. There may be several reason depend upon perticular configuration at you end for the concern delayed.

Verify following point to trace the actual reason. 1. STMS CONSISTANCY2. LOAD ON THE PERTICULAR SYSTEM3. NETWORK CONFIGURATION. 4. what is inside in the requests & configuration difference between QAS & PRD

In Quality system contains less number of users so it not take more time to Transport but whereas in Production system huge number of end users are continuosly working so it will take time to transport...

difference between dev access and access key in sap?

1) Developer Key - To Create/Change any Custom Object your will require this Key.<ACCESS table>2) Object Access key - This key will be available in service.sap.com and is for modifying the standard SAP Objects.< ADIRACCESS table>T-CODE=USMM

CREATE CONTROLFILE REUSE DATABASE OR SET DATABASE?

REUSE in CREATE CONTROLFILE is to specify that existing controlfiles are to be overwritten.SET in CREATE CONTROLFILE is to specify that the DB_NAME is being changed from whatever is the existing name in datafile headers.They are two different clauses for two different purposes. It is not an "either/or" decision.I can REUSE with SET.I can REUSE without SET.I can exclude REUSE but use SET.I can exclue REUSE and exclude SET

They are two different options.REUSE is to overwrite the existing controlfiles if they already exist (else the CREATE command fails).SET is to change the name of the database.RESETLOGS  Specify RESETLOGS if you want Oracle Database to ignore the contents of the files listed in the LOGFILE clause. These files do not have to exist

NORESETLOGS  Specify NORESETLOGS if you want Oracle Database to use all files in the LOGFILE clause as they were when the database was last open. These files must exist and must be the current online redo log files rather than restored backups

DISPATCHER not starting after kernel upgrade to ECC 6.0problem is that schema user SAPSR3 got locked and sap is not able to communicate with db. unlockink SAPSR3 solved the problem

SELECT USERNAME,STATUS FROM DBA_USERS;

SQL>ALTER USER SAPSR3 ACCOUNT UNLOCK;

SQL> COMMIT;