BASIS Interview 7

SAP BASIS Interview  7



Where the transport data files will be placed?
How to make security authorization reports?
In which table failed user login attempts will be there?
How to see the t able entry values?
How you will give new authorizations?
Have you participated in Kernel upgrading and OCS Patches?
Have you done any up gradations?
How to configure TMS?
What is transport domain?
What is Consolidation route and delivery routes? How you will identify them?
Transport error codes and their description?
The transaction should not be displayed in User Easy access menu but he must execute that transaction how to do that?

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

If you want to record the internal SAP system activities, use the function SAP System Trace. Recording the processes in your application server enables you to monitor the system and facilitates troubleshooting.
Developer Trace:
Developer traces contain technical information for use in the event of problems with your system. Using the entries in the developer traces requires a sophisticated knowledge of the host systems in which your SAP system is running and of the SAP system itself.
System Log:
You can use the log to pinpoint and correct errors occurring in your system and its environment.
To work with system logs, choose Tools ® Administration from the R/3 initial screen. When the System Administration initial screen appears, choose Monitoring ® System log. Alternatively, you can choose Test ® System log from the ABAP/4 Development Workbench initial screen.

2.Incase, My sap system was down (Users are unable to login to sap system) How to analyze this problem?
Check if all the services of SAP, Database, SAPOSCOL are up and running.
check the wp status using dpmon.
Try restarting the workprocess., if that does not work., than try to kill some of the jobs. Else., restart the application Server.

3.How to import the transport request at operating system Level? When importing a transport request, what are the common errors you faced?
tp import client U123689
RC 8 & 12

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?

Firstly, the dependencies are checked. And without performing a test import no BASIS consultant would import a support pack. If you did that., than clear the OCS queue by running OCS_RESET_QUEUE in SE37 than import SP9 and SP10. If it is JAVA stack than no need to make changes you can directly apply SP11.

5.One user unable to execute one t-code, that is authorization object is missing, How to add this authorization object to user?
Take the SU53 screenshot., based on the output results., you can search for authorizations that are existing in the system. If the authorization is available and you receive an approval from the concerned HOD or the concerned person., than you can directly attach the authorization. If there is no authorization available., than the functional lead or the HOD will revert back to you saying that you need to create the Role or make modifications in an existing role. Than do that in DEV, transport it to QAS and PRD.
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?
Using T-code SU10.
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?
By editing the instance profile at the OS level, you can increase the no. of work processes by adding or modifying the parameter rdisp/wp_no_=
Status of a WP can be checked at the OS level by executing dpmon.

9.For example, my sap system having 4 application sersvers. How many enqueue work process allowed for this sap system?
1 (you can increase them by making modifications in rdisp/wp_no_enq)
 

10.What is the latest version of sap kernel? Can u give me the list of kernel versions?
service.sap.com/swdc
710 (Demo version is available)
700
640
620
610 (WEB AS was introduced in this version)
4.6D
4.5
4.0
3.1
3.0
 

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.
Dependency check.... check if the new SP to be installed has any dependent coponents in any of the other SP's.
You must implement different SP's for different components in SAP.

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?

Data transfer rate depends on the H/W Configuration and N/w Speed in Remote Client copy.

13.How to perform a client import and export at OS level?
using r3trans or tp
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?
what is the selection criteria?

16.How to take a sap backup using BRTOOLS explain the procedure? When using BRTOOLS, which backup device, you are used (Drive/tape) ?
refer inist.sap file.

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?
HDD, RAM, OS, DATABASE.
è1.Server Configuration
 HDD, RAM, OS, DATABASE.
è2. System Configuration
23.What are things we have to monitor in ST02, ST06, ST04, and ST03?
We can monitor many things in the above T-codes. What exact info do u need?
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?
service.sap.com/swdc


Related  same Anwers for above Questions

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?
a) Check Database status
b) SAP services
c) SAP Management console (Dispatcher, IGS and Message Server)
d) On the basis of point at serial no (c), you need to findout trace root
e) If all are ok, check network connectivity

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?

If case there is some dependency, system will prompt an error for pre-requisite while importing Patch

5.One user unable to execute one t-code, that is authorization object is missing, How to add this authorization object to user?

Use Tcode:PFCG, Click on Authorisation, Change Authorisation Data, Click on search to check for authorization object, add the value

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?
Use Tcode: SU10 for mass changes

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?

Latest version is 196, You check status of sap version, login SAP GUI, click on status, click on other Kernel info
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.

You need to check dependency before applying, SPAM should be latest, then SAP Basis, APPL, ABA , after ward another patches

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?
Use Tcode: SCC7, SCC8, you need to copy request file from Dev to Quality.

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?

Use Tcode: SM50

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?

Q locked, Dependency Patch not implemented

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?

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

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

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?

Click on Support Packages and Patches-> Support package stack/ Support package stack à ECCà Next StepàSelect “SAP KERNEL 6.40 32-BIT for SAP ECC Server (From SP000 to SP101) / MS SQL Server and Database Independent àNext Step
"/ SAP ERP 2004/" SAP ERP"My Company's Application Components/
By: Shailesh Singh | 11 Jul 2010
You can refer http://pragyarawal.blogspot.com/ for more java interview questions.
By: | 21 Jul 2010
ANSWER for some Unanswered questions 

14. a) Reference user is user to to provide the Authorization uo another user 
b)Service user no change password .EG . if u created user as dialog .at first login u have to change the pwd. but in service user no need 
15. Due to program Error inform to developer to correct the program
20.User group is user to Group the User.it is crated in T.Code-SUGR 
25. service.sap.com/swdc/support package /my company applications
There are many ways through which you can get the Version Number of SAP Kernel.
One of the method is from any window in the top menu go to
system--> status and click on the other kernel info button which is between the navigate and cancel buttons.

Another method is to login as administrator and enter the following disp+work -v. in command field on left top corner. This will show you the kernel version of SAP.

You can also check the log or trace files at os level /usr/sap/work/dev_disp.

You can also get this kernel information from sm51 screen. Go to transaction sm51 then click on database server (single click only. Not double click) and then click on release notes. Then you will see the kernel information and patch level.


This is a critical and security feature. You can know whether some one is logon using your user id from any other computer. Multiple logons of users must be set to 1 in sap production systems. This can be allowed in DEV systems. But in production it must be restricted.
Go to rz10 and change the paramenter
login/multi_login_users. By default the value is 0 which is inactive. If you want to activate mupltiple logons for some users in sap like service users you have to change the parameter
login/disable_multi_gui_login = you have to enter the user names in the values seperated by semi colon ; and dont leave spaces between the userids. Now you have to restart the instance.
Posted by Basis-Consultant at 1:04 PM 0 comments
Labels: Basishow to'sSecurity
To deleted scheduled jobs in SAP you need to go to Tcode SM37. Now you select the jobs that you want to delete. Click on the check button left side of each job name and now in the menu go to job->delete.
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-FMMnIhf5cd1P9n4NYrLx0awYA-S-XgQdn82qHBLF2ZXmZLT6P3ZH4zC19oyQUi-1yNLlTpquXSyCtBKuSX-JXbqd2_MPlV4jR8ce82M93aVHCYGd7TR62zYLT-_vn-JJX052w7SJTpY/s400/deletescheduledjob.jpg
Precaution must be taken when dealing with dependent jobs. If the completion of job1 starts the job2 and if you delete job1 then job2 will not start.
When deleting the jobs the system will inform you of any such dependent jobs and you need to reschedule them to start again
Posted by Basis-Consultant at 12:34 PM 0 comments
What are the maximum no of sessions per user in SAP?
This is the maximum no of windows which you can open in SAP for that system.
By default the value is 6. So a user can open 6 sessions in 4.7x.
You set this values in rdisp/max_alt_modes parameter.
You can change this parameter using RZ10 in instance profile and use extended maintenance for changing this.
Mos of the companies restrict this no of sessions since they can cause unecessary load..
Posted by Basis-Consultant at 12:24 PM 1 comments
Labels: BasisBasis Tips
Friday, July 25, 2008
what is saposcol?
A)SAPOSCOL is 
SAP Operating System Collector
is a standalone program that runs in background at OS level. It
collects information about operatin system resource usage like


·                                            CPU Utilization
·                                            Main Memory and Virtual Memory utilization.
·                                            Physical Disk and File System utilization.
·                                            Resource usage by running processes.
How many instances of SAPOSCOL to be run?
A)Only
one instance of SAPOSCOL needed to be run per hardware. Even if there
are multiple instances running on a single hardware only one SAPOSCOL
process is needed.

What is the frequency of data collection by SAPOSCOL?
A) Data is collected every ten seconds.

Where is the data collected by SAPOSCOL stored?
A)The data is stored in shared memory and for long & future usage data is stored in tables MONI & OSMON.
    Tha data collected by SAPOSCOL copied to tables MONI & OSMON by background job COLLECTOR_FOR_PERFMONITOR

What are the SAP level tcodes to view this data?
A) At SAP level you can view the information collected by SAPOSCOL using tcodes/transactions ST06, OS06 & OS07.
Posted by Basis-Consultant at 4:55 AM 0 comments
Labels: BasisGeneral Info
Heap Memory stores User Context when Extended Memory allocated to a work process gets exhausted and the work process requires more space to continue. Heap Memory stores contains same type of Data as Extended Memory. Heap Memory is allocated dynamically according to requirement and not during system startup. When the workprocess starts using heap area it enters in to PRIV mode.
Posted by Basis-Consultant at 4:55 AM 0 comments
These are important categories of system parameters. You can access and change them using RZ11.
to
display you can use report RSPFPAR which can be run thorough SA38. Not
all parameters can be changed.Using RZ10 (profile maintainance)
you can change parameters that are dynamically switchable and they are
activated immediately.


·                                            ES/* : Related to extended memory settings
·                                            INSTANCE* : Identify an instance or server
·                                            ABAP/* : Related to program execution, including heap settings
·                                            AUTH/* : Related to authorization
·                                            DBS/
·                                            EM/* : General system related settings
·                                            ENQUE/* : Settings for the enqueue WP (or standalone ENQ server)
·                                            GW/* : SAP Gateway related settings
·                                            ICF/* & ICM/* : Settings for the Internet control framework and ICM
·                                            LOGIN/* : Controls the logon environment (such a multiple sessions etc)
·                                            MS/* : Message server related settings
·                                            RDISP/* : Controls the dispatcher & dispatcher controlled processes
·                                            STAT/* : Statistics collector related parameters
·                                            SCSA/* : Shared common system area parameters
·                                            ZTTA/* : Extended memory related parameters
Posted by Basis-Consultant at 4:54 AM 0 comments
Labels: BasisGeneral Info
Tcode SM50.
Sm50
tcode is used to see the workprocess overview in application
server you are logged in.
There are several fields diplayed in the work
process overview screen.
Each of the field value is described in below
table.


Menu path for this tcode is
 Tools --> Administration--> Monitor -->System monitoring --> Process --> overview



No
This is the work process number and is unique to each work process.
Type
This denotes the type of work process.
These are the possible values for type field
DIA: Dialog
UPD: Update
BGD: Background
ENQ: Enqueue
SPO: Spool
PID
Process ID which is a unique no to identify the process at os level.
Status
This shows the status of work process like PRIV mode etc..
Ended
 Work process has been terminated because of some error in SAP kernel.

Running – work process is busy processing user request.  

Waiting – work process is ready to accept user request.

PRIV – Work process running with heap memory (noramally basis admins terminate the dia wp if it enters priv mode).
Completed
The work process has been terminated and they can not be restarted.
Reason
If a work process status is stopped, this field gives the reason why it is stopped.
Start
This field tells if the dispatcher can restart the work process if it gets terminated.
Err
Err field gives the no of times the work process .
Sem
Number of semaphore.

With Green background =>Process is holding the semaphore.

With Red background => Process is waiting for the semaphore.
CPU
The CPU Time utilization by each work process format minutes:seconds
Time
The time that has been consumed processing the current request (in seconds).
Report
The name of report which is being executed
Clie
Client No.
User
Name of user whose request is currently being executed.
Action
For the work process with status “running”, this displays the current action.
Table
The DB tables that is accessed previously by work process.
Posted by Basis-Consultant at 4:52 AM 0 comments
Labels: BasisGeneral Info
Instance Profile Parameters Related to Memory





abap/heaplimit
Work Process
Restart
ztta/roll_extension
Limit for Extended Memory
ztta/roll_extension_dia
EM Quota for Dialog Work Processes
ztta/roll_extension_nondia
EM Quota for Non-Dialog Work
Processes
abap/heap_area_dia
Heap Memory Limit for Dialog Work
Processes
abap/heap_area_nondia
Heap Memory Limit for Non-Dialog
Work Processes
abap/heap_area_total
Total Quota for Heap Memory
ztta/roll_area
Size of Roll Area Roll Area
ztta/roll_first
Size of the Initial Allocation
from the Roll Area
abap/heap_area_total
Heap Memory Limit
em/initial_size_MB
Extended Memory Pool Size
rdisp/ROLL_SHM
Roll Buffer Size
rdisp/ROLL_MAXFS
Maximum Roll File Size
rdisp/PG_SHM
Size of the Paging Buffer
rdisp/PG_MAXFS
Maximum Size of SAP Paging File
em/blocksize_KB
Segment Size for the Extended
Memory Memory Management Statistics
em/stat_log_size_MB
Statistics - User Context Size
em/stat_log_timeout
Statistics - User Context Size
Posted by Basis-Consultant at 4:52 AM 0 comments
Labels: BasisGeneral Info
Using the operation modes, you can adjust the type and distribution of the
work processes to the varying load distribution during the day. You can
also adjust the distribution of the work processes to business
requirements that only occur once. During the day the demand for dialog
work process is high an system response for dialog work process must be
fast. At night there are less users so system resources are not
utilized fully if a major percent of them is reserved for dialog work
process. By defining operation modes, you can change not only the total
number of work processes defined in the profiles, but also the type and
distribution of the individual work process types within this total
number. The switch between the work process types is performed
dynamically during the runtime of the SAP system. The switch is
triggered using a defined schedule. A reserved work process is not
immediately terminated, but marked for switching. This means that
certain delays may occur. This type change is logged in the system log.
During the switch of the operation modes, neither the instance nor the
affected work processes need to be restarted. This means that the
quality of the buffer of the SAP system is retained during an operation
mode switch ,and that the request that is currently being processed by
a work process is completed. The individual work processes retain their
process ID after the switch, which can be observed in the process
overview (SM50).You can trigger an operation mode switch from a program
that you have written yourself using a function module (RZL_PERFORM_BA_SWITCH)
Posted by Basis-Consultant at 4:51 AM 0 comments
Memory allocation of non-dialog work process in UNIX

In UNIX, if Roll memory gets full Heap memory is occupied and if heap memory gets full extended memory is used.

But
in windows it is different, after roll memory (ztta/roll_first) is
filled the work process uses Extended memory, after extended memory is
fill then remainder of roll memory ( ztta/roll_area - ztta/roll_first)
is used soon..
Unix or Unix like systems
Windows
Roll Memory
up to
 ztta/roll_area
Roll Memory
up to
ztta/roll_first
|
|
\|/
|
|
\|/
Heap Memory
up to
abap/heap_area_nondia
or HM Exhaust
Extended Memory
up to
ztta/roll_extension
or EM Exhaust
|
|
\|/
|
|
\|/
Extended Memory
up to
ztta/roll_extension
or EM Exhaust
Roll Memory
Remainder of
ztta/roll_area
|
|
\|/
Heap Memory
up to
abap/heap_area_dia
or HM Exhaust

Posted by Basis-Consultant at 4:49 AM 0 comments
Labels: BasisGeneral Info
What is dispatcher?
A) Dispatcher is tha central workprocess in an application server which along with operating system manages the resources for ABAP applications.

What does the dispatcher does?
A) The dispatcher distributes the transaction load among various work process, connecting to the presentation level and organizing communication. The processing requests are first saved in request queues and then processed according to 'first in -- first out' rule.

Does Dispatcher process data?
A) No, the data is processed in work process like dialog wp or background wp or update wp etc.. The dispatcher only distributes load between work process. There is no assignment of a work process to single user. The requests which are created by user using SAPGUI is distributed among the work process. Processing user requests sometimes requires data to be read from the database or written to it. For this, every work process is connected directly to the database.
Posted by Basis-Consultant at 4:47 AM 0 comments
Labels: BasisGeneral Info
One can check the status of a background job in tcode sm37 (job overview). You can see the job status of all jobs of a userid by entering the userid in the job selection screen or you can see the status of jobs by selecting naming convention. you will have options in the sm37 screen to select jobs by their status.
Posted by Basis-Consultant at 4:46 AM 0 comments
There are 6 status for background jobs


·                                            Scheduled - The job has been created, but it has not yet been assigned a starting time.
·                                            Released - The job has been created and it has been assigned a starting time.
·                                            Ready - The job is ready to be processed.
·                                            Active - The job is being processed.
·                                            Finished - The job has finished successfully.
·                                            Cancelled - The job did not finish successfully.
Posted by Basis-Consultant at 4:44 AM 0 comments
Labels: BasisGeneral Info
memory allocation for dialog work process
This is the order in
which the memory space is used. If Roll memory is filled then the
memory in Extended memory is used and soon as shown below. The memory
allocation sequence is same in windows & unix.

   Roll Memory
(Max size) ztta/roll_first
------->
Extended Memory up to
ztta/roll_extension
or EM Exhaust


-----------+
            |
           \|/
Roll Memory Remainder of
ztta/roll_area
            |
           \|/
Heap Memory up to
abap/heap_area_dia
or HM Exhaust

ztta/roll_first
maximum size of Roll memory
ztta/roll_extension
max size of extended memory
ztta/roll_area
max size of local roll area
abap/heap_area_dia
max size of heap memory

Posted by Basis-Consultant at 4:42 AM 0 comments
Labels: BasisGeneral Info
Sunday, July 13, 2008
why does lock table overflow?
There are many reasons why lock table overflows.
when you try to lock a object or change a object you will see a system message
"lock table overflow", there are amny reasons this will occur.
for example



·                                            small size of lock table
·                                            a particular program sets a large no of locks
·                                            an update process hangs hence setting a large number of locks
above reasons are only a few of the reasons why the lock overflow occurs.
Posted by Basis-Consultant at 3:52 AM 0 comments
Labels: Basis
Sunday, July 6, 2008
The lock table is a table in the main memory of the enqueue server that records the current locks in the system. For each elementary lock, the table specifies the owner, lock mode, name, and the fields in the locked table. There is a limit to how many locks can be done in the system. The maximum number of locks in the lock table is subject to an upper limit, which can be defined in a profile parameter "enque/table_size" determines the size of the lock table in KB.
Posted by Basis-Consultant at 12:44 AM 0 comments
Labels: Basis
Wednesday, April 2, 2008
In ST02,
1) Hit ratio for each buffer should be greater than 95%.
2) If hit ratio is less than 95%, no swap should be there.
3) Current usage of extended memory should not cross 75%.
4) We have to check the swaps for each buffer. For program buffers it should be 10000 hits/ day & for other buffers it should be 1000 hits/ day.
5) We have to check the free space & the free directory for each buffer.


In ST06/ST06N,
1) Ideally CPU should be free for 60% of the time.
2) Page out/s should be 0.
3) Under LAN, we have to check for collisions & errors. They should be 0.
4) We have to check for the SAPOSCOL status.


NOTE: These are very generic guidelines and may not hold appropriate for all kinds of SAP Systems. For example, on production systems, we expect better performance then other systems or Sandbox systems may experience more buffer problems. With a bit of variation, these will hold correct for most of SAP Systems.
Posted by Basis-Consultant at 11:55 AM 0 comments
Labels: Basis
Monday, December 31, 2007
External commands are predefined commands for end users. They are operating-system independent and are protected by authorizations, so that normal end users can schedule only those commands that the system administrator permits them to.Like ls in unix or dir in windows. Refer to this post for information on how to run a external command

External programs are unrestricted commands that are neither pre-defined nor restricted by authorizations. A user with administrator authorization can enter any of these in a job step. For example , programs like java or other exe files
Posted by Basis-Consultant at 6:03 AM 0 comments
Labels: Basis
Thursday, December 27, 2007
To view locked users in sap

1) Call transaction su10
Click on authorization data and scroll down
check the locked users only field as shown in figure and execute (F8).
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOg4wlnqkKHC13HIE4IAsnIrIdc73530gsx78nZqO2l0-k8DpX5S0Bfdr9c4jUJeS53qj36O0HVJSKS3xSqqNyREzCfHdjHKgGhxOpTllKKlg1Fgf1YABNO29Xcrz7hnYqu7tcUBLIM1U/s400/su10_lockedusers.jpg
2) Call transaction sa38 and run the program RSUSR006 . You will get a list of locked users.
3) Goto transaction ewz5 you will get users with locked status
4) Run report EWULKUSR in transaction sa38 to get the list.
5) Call transaction SUIM , goto
a) authorizations > User > User by complex search criteria >List of User Master
Records Locked Due to Incorrect Logon
or
b) user > unsuccessful logons
6) Call transaction S_BCE_68001402
Posted by Basis-Consultant at 2:12 AM 0 comments
Labels: Basishow to's
Subscribe to: Posts (Atom)
Showing posts with label BasisShow all posts
Sunday, January 11, 2009
There are many ways through which you can get the Version Number of SAP Kernel.
One of the method is from any window in the top menu go to
system--> status and click on the other kernel info button which is between the navigate and cancel buttons.

Another method is to login as administrator and enter the following disp+work -v. in command field on left top corner. This will show you the kernel version of SAP.

You can also check the log or trace files at os level /usr/sap/work/dev_disp.

You can also get this kernel information from sm51 screen. Go to transaction sm51 then click on database server (single click only. Not double click) and then click on release notes. Then you will see the kernel information and patch level.

If you guys are interested checkout out our new php tutorials website
Php Tutorials
Posted by Basis-Consultant at 1:21 PM 1 comments 
Labels: Basishow to'sSecurity
This is a critical and security feature. You can know whether some one is logon using your user id from any other computer. Multiple logons of users must be set to 1 in sap production systems. This can be allowed in DEV systems. But in production it must be restricted.
Go to rz10 and change the paramenter
login/multi_login_users. By default the value is 0 which is inactive. If you want to activate mupltiple logons for some users in sap like service users you have to change the parameter
login/disable_multi_gui_login = you have to enter the user names in the values seperated by semi colon ; and dont leave spaces between the userids. Now you have to restart the instance.
Posted by Basis-Consultant at 1:04 PM 0 comments 
Labels: Basishow to'sSecurity
To deleted scheduled jobs in SAP you need to go to Tcode SM37. Now you select the jobs that you want to delete. Click on the check button left side of each job name and now in the menu go to job->delete.
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-FMMnIhf5cd1P9n4NYrLx0awYA-S-XgQdn82qHBLF2ZXmZLT6P3ZH4zC19oyQUi-1yNLlTpquXSyCtBKuSX-JXbqd2_MPlV4jR8ce82M93aVHCYGd7TR62zYLT-_vn-JJX052w7SJTpY/s400/deletescheduledjob.jpg
Precaution must be taken when dealing with dependent jobs. If the completion of job1 starts the job2 and if you delete job1 then job2 will not start.
When deleting the jobs the system will inform you of any such dependent jobs and you need to reschedule them to start again
Posted by Basis-Consultant at 12:34 PM 0 comments 
What are the maximum no of sessions per user in SAP?
This is the maximum no of windows which you can open in SAP for that system.
By default the value is 6. So a user can open 6 sessions in 4.7x.
You set this values in rdisp/max_alt_modes parameter.
You can change this parameter using RZ10 in instance profile and use extended maintenance for changing this.
Mos of the companies restrict this no of sessions since they can cause unecessary load..
Posted by Basis-Consultant at 12:24 PM 1 comments 
Labels: BasisBasis Tips
Friday, July 25, 2008
what is saposcol?
A)SAPOSCOL is 
SAP Operating System Collector
is a standalone program that runs in background at OS level. It
collects information about operatin system resource usage like


·                                            CPU Utilization
·                                            Main Memory and Virtual Memory utilization.
·                                            Physical Disk and File System utilization.
·                                            Resource usage by running processes.
How many instances of SAPOSCOL to be run?
A)Only
one instance of SAPOSCOL needed to be run per hardware. Even if there
are multiple instances running on a single hardware only one SAPOSCOL
process is needed.

What is the frequency of data collection by SAPOSCOL?
A) Data is collected every ten seconds.

Where is the data collected by SAPOSCOL stored?
A)The data is stored in shared memory and for long & future usage data is stored in tables MONI & OSMON.
    Tha data collected by SAPOSCOL copied to tables MONI & OSMON by background job COLLECTOR_FOR_PERFMONITOR

What are the SAP level tcodes to view this data?
A) At SAP level you can view the information collected by SAPOSCOL using tcodes/transactions ST06, OS06 & OS07.
Posted by Basis-Consultant at 4:55 AM 0 comments 
Labels: BasisGeneral Info
Heap Memory stores User Context when Extended Memory allocated to a work process gets exhausted and the work process requires more space to continue. Heap Memory stores contains same type of Data as Extended Memory. Heap Memory is allocated dynamically according to requirement and not during system startup. When the workprocess starts using heap area it enters in to PRIV mode.
Posted by Basis-Consultant at 4:55 AM 0 comments 
These are important categories of system parameters. You can access and change them using RZ11.
to
display you can use report RSPFPAR which can be run thorough SA38. Not
all parameters can be changed.Using RZ10 (profile maintainance)
you can change parameters that are dynamically switchable and they are
activated immediately.


·                                            ES/* : Related to extended memory settings
·                                            INSTANCE* : Identify an instance or server
·                                            ABAP/* : Related to program execution, including heap settings
·                                            AUTH/* : Related to authorization
·                                            DBS/
·                                            EM/* : General system related settings
·                                            ENQUE/* : Settings for the enqueue WP (or standalone ENQ server)
·                                            GW/* : SAP Gateway related settings
·                                            ICF/* & ICM/* : Settings for the Internet control framework and ICM
·                                            LOGIN/* : Controls the logon environment (such a multiple sessions etc)
·                                            MS/* : Message server related settings
·                                            RDISP/* : Controls the dispatcher & dispatcher controlled processes
·                                            STAT/* : Statistics collector related parameters
·                                            SCSA/* : Shared common system area parameters
·                                            ZTTA/* : Extended memory related parameters
Posted by Basis-Consultant at 4:54 AM 0 comments 
Labels: BasisGeneral Info
Tcode SM50.
Sm50
tcode is used to see the workprocess overview in application
server you are logged in.
There are several fields diplayed in the work
process overview screen.
Each of the field value is described in below
table.


Menu path for this tcode is
 Tools --> Administration--> Monitor -->System monitoring --> Process --> overview



No
This is the work process number and is unique to each work process.
Type
This denotes the type of work process.
These are the possible values for type field
DIA: Dialog
UPD: Update
BGD: Background
ENQ: Enqueue
SPO: Spool
PID
Process ID which is a unique no to identify the process at os level.
Status
This shows the status of work process like PRIV mode etc..
Ended
 Work process has been terminated because of some error in SAP kernel.

Running – work process is busy processing user request.  

Waiting – work process is ready to accept user request.

PRIV – Work process running with heap memory (noramally basis admins terminate the dia wp if it enters priv mode).
Completed
The work process has been terminated and they can not be restarted.
Reason
If a work process status is stopped, this field gives the reason why it is stopped.
Start
This field tells if the dispatcher can restart the work process if it gets terminated.
Err
Err field gives the no of times the work process .
Sem
Number of semaphore.

With Green background =>Process is holding the semaphore.

With Red background => Process is waiting for the semaphore.
CPU
The CPU Time utilization by each work process format minutes:seconds
Time
The time that has been consumed processing the current request (in seconds).
Report
The name of report which is being executed
Clie
Client No.
User
Name of user whose request is currently being executed.
Action
For the work process with status “running”, this displays the current action.
Table
The DB tables that is accessed previously by work process.
Posted by Basis-Consultant at 4:52 AM 0 comments 
Labels: BasisGeneral Info
Instance Profile Parameters Related to Memory





abap/heaplimit
Work Process
Restart
ztta/roll_extension
Limit for Extended Memory
ztta/roll_extension_dia
EM Quota for Dialog Work Processes
ztta/roll_extension_nondia
EM Quota for Non-Dialog Work
Processes
abap/heap_area_dia
Heap Memory Limit for Dialog Work
Processes
abap/heap_area_nondia
Heap Memory Limit for Non-Dialog
Work Processes
abap/heap_area_total
Total Quota for Heap Memory
ztta/roll_area
Size of Roll Area Roll Area
ztta/roll_first
Size of the Initial Allocation
from the Roll Area
abap/heap_area_total
Heap Memory Limit
em/initial_size_MB
Extended Memory Pool Size
rdisp/ROLL_SHM
Roll Buffer Size
rdisp/ROLL_MAXFS
Maximum Roll File Size
rdisp/PG_SHM
Size of the Paging Buffer
rdisp/PG_MAXFS
Maximum Size of SAP Paging File
em/blocksize_KB
Segment Size for the Extended
Memory Memory Management Statistics
em/stat_log_size_MB
Statistics - User Context Size
em/stat_log_timeout
Statistics - User Context Size
Posted by Basis-Consultant at 4:52 AM 0 comments 
Labels: BasisGeneral Info
Using the operation modes, you can adjust the type and distribution of the
work processes to the varying load distribution during the day. You can
also adjust the distribution of the work processes to business
requirements that only occur once. During the day the demand for dialog
work process is high an system response for dialog work process must be
fast. At night there are less users so system resources are not
utilized fully if a major percent of them is reserved for dialog work
process. By defining operation modes, you can change not only the total
number of work processes defined in the profiles, but also the type and
distribution of the individual work process types within this total
number. The switch between the work process types is performed
dynamically during the runtime of the SAP system. The switch is
triggered using a defined schedule. A reserved work process is not
immediately terminated, but marked for switching. This means that
certain delays may occur. This type change is logged in the system log.
During the switch of the operation modes, neither the instance nor the
affected work processes need to be restarted. This means that the
quality of the buffer of the SAP system is retained during an operation
mode switch ,and that the request that is currently being processed by
a work process is completed. The individual work processes retain their
process ID after the switch, which can be observed in the process
overview (SM50).You can trigger an operation mode switch from a program
that you have written yourself using a function module (RZL_PERFORM_BA_SWITCH)
Posted by Basis-Consultant at 4:51 AM 0 comments 
Memory allocation of non-dialog work process in UNIX

In UNIX, if Roll memory gets full Heap memory is occupied and if heap memory gets full extended memory is used.

But
in windows it is different, after roll memory (ztta/roll_first) is
filled the work process uses Extended memory, after extended memory is
fill then remainder of roll memory ( ztta/roll_area - ztta/roll_first)
is used soon..
Unix or Unix like systems
Windows
Roll Memory
up to
 ztta/roll_area
Roll Memory
up to
ztta/roll_first
|
|
\|/
|
|
\|/
Heap Memory
up to
abap/heap_area_nondia
or HM Exhaust
Extended Memory
up to
ztta/roll_extension
or EM Exhaust
|
|
\|/
|
|
\|/
Extended Memory
up to
ztta/roll_extension
or EM Exhaust
Roll Memory
Remainder of
ztta/roll_area
|
|
\|/
Heap Memory
up to
abap/heap_area_dia
or HM Exhaust

Posted by Basis-Consultant at 4:49 AM 0 comments 
Labels: BasisGeneral Info
What is dispatcher?
A) Dispatcher is tha central workprocess in an application server which along with operating system manages the resources for ABAP applications.

What does the dispatcher does?
A) The dispatcher distributes the transaction load among various work process, connecting to the presentation level and organizing communication. The processing requests are first saved in request queues and then processed according to 'first in -- first out' rule.

Does Dispatcher process data?
A) No, the data is processed in work process like dialog wp or background wp or update wp etc.. The dispatcher only distributes load between work process. There is no assignment of a work process to single user. The requests which are created by user using SAPGUI is distributed among the work process. Processing user requests sometimes requires data to be read from the database or written to it. For this, every work process is connected directly to the database.
Posted by Basis-Consultant at 4:47 AM 0 comments 
Labels: BasisGeneral Info
One can check the status of a background job in tcode sm37 (job overview). You can see the job status of all jobs of a userid by entering the userid in the job selection screen or you can see the status of jobs by selecting naming convention. you will have options in the sm37 screen to select jobs by their status.
Posted by Basis-Consultant at 4:46 AM 0 comments 
There are 6 status for background jobs


·                                            Scheduled - The job has been created, but it has not yet been assigned a starting time.
·                                            Released - The job has been created and it has been assigned a starting time.
·                                            Ready - The job is ready to be processed.
·                                            Active - The job is being processed.
·                                            Finished - The job has finished successfully.
·                                            Cancelled - The job did not finish successfully.
Posted by Basis-Consultant at 4:44 AM 0 comments 
Labels: BasisGeneral Info
memory allocation for dialog work process
This is the order in
which the memory space is used. If Roll memory is filled then the
memory in Extended memory is used and soon as shown below. The memory
allocation sequence is same in windows & unix.

   Roll Memory
(Max size) ztta/roll_first
------->
Extended Memory up to
ztta/roll_extension
or EM Exhaust


-----------+
            |
           \|/
Roll Memory Remainder of
ztta/roll_area
            |
           \|/
Heap Memory up to
abap/heap_area_dia
or HM Exhaust

ztta/roll_first
maximum size of Roll memory
ztta/roll_extension
max size of extended memory
ztta/roll_area
max size of local roll area
abap/heap_area_dia
max size of heap memory

Posted by Basis-Consultant at 4:42 AM 0 comments 
Labels: BasisGeneral Info
Sunday, July 13, 2008
why does lock table overflow?
There are many reasons why lock table overflows.
when you try to lock a object or change a object you will see a system message
"lock table overflow", there are amny reasons this will occur.
for example



·                                            small size of lock table
·                                            a particular program sets a large no of locks
·                                            an update process hangs hence setting a large number of locks
above reasons are only a few of the reasons why the lock overflow occurs.
Posted by Basis-Consultant at 3:52 AM 0 comments 
Labels: Basis
Sunday, July 6, 2008
The lock table is a table in the main memory of the enqueue server that records the current locks in the system. For each elementary lock, the table specifies the owner, lock mode, name, and the fields in the locked table. There is a limit to how many locks can be done in the system. The maximum number of locks in the lock table is subject to an upper limit, which can be defined in a profile parameter "enque/table_size" determines the size of the lock table in KB.
Posted by Basis-Consultant at 12:44 AM 0 comments 
Labels: Basis
Wednesday, April 2, 2008
In ST02,
1) Hit ratio for each buffer should be greater than 95%.
2) If hit ratio is less than 95%, no swap should be there.
3) Current usage of extended memory should not cross 75%.
4) We have to check the swaps for each buffer. For program buffers it should be 10000 hits/ day & for other buffers it should be 1000 hits/ day.
5) We have to check the free space & the free directory for each buffer.


In ST06/ST06N,
1) Ideally CPU should be free for 60% of the time.
2) Page out/s should be 0.
3) Under LAN, we have to check for collisions & errors. They should be 0.
4) We have to check for the SAPOSCOL status.


NOTE: These are very generic guidelines and may not hold appropriate for all kinds of SAP Systems. For example, on production systems, we expect better performance then other systems or Sandbox systems may experience more buffer problems. With a bit of variation, these will hold correct for most of SAP Systems.
Posted by Basis-Consultant at 11:55 AM 0 comments 
Labels: Basis
Monday, December 31, 2007
External commands are predefined commands for end users. They are operating-system independent and are protected by authorizations, so that normal end users can schedule only those commands that the system administrator permits them to.Like ls in unix or dir in windows. Refer to this post for information on how to run a external command

External programs are unrestricted commands that are neither pre-defined nor restricted by authorizations. A user with administrator authorization can enter any of these in a job step. For example , programs like java or other exe files
Posted by Basis-Consultant at 6:03 AM 0 comments 
Labels: Basis
Thursday, December 27, 2007
To view locked users in sap

1) Call transaction su10
Click on authorization data and scroll down
check the locked users only field as shown in figure and execute (F8).
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOg4wlnqkKHC13HIE4IAsnIrIdc73530gsx78nZqO2l0-k8DpX5S0Bfdr9c4jUJeS53qj36O0HVJSKS3xSqqNyREzCfHdjHKgGhxOpTllKKlg1Fgf1YABNO29Xcrz7hnYqu7tcUBLIM1U/s400/su10_lockedusers.jpg
2) Call transaction sa38 and run the program RSUSR006 . You will get a list of locked users.
3) Goto transaction ewz5 you will get users with locked status
4) Run report EWULKUSR in transaction sa38 to get the list.
5) Call transaction SUIM , goto
a) authorizations > User > User by complex search criteria >List of User Master
Records Locked Due to Incorrect Logon
or
b) user > unsuccessful logons
6) Call transaction S_BCE_68001402

Comments

Popular posts from this blog

SAP NWA: Net Weaver Administration Tool

Advanced JAVA

SAP BASIS SPOOLING : Printing problems and general issues