Documente Academic
Documente Profesional
Documente Cultură
What is the relevance of the Deletion Flag/Indicator in the archiving process? Can SAP Patches be installed when other users are online? What is the importance/need of Virtual system? How to transport users from one client to another? What are the differences between system refresh and client refresh? How to know whether a system is Unicode or non Unicode?
Basis Administration Questions Answers What is th difference between Sap lock and database lock?
A SAP lock is named enqueue lock, the enqueue is on a much higher level, e. g. a complete sales document is locked there whereas in the datbase usually only row locks exist. Since SAP runs on more database than Oracle (thanx god) one needed to have a mechanism, that is database independent and on a higher level. What is the diff between clients 000 and 001? Client 000 is the SAP source client, client 001 exists only on certain installations (e. g. solution Manager). I would like to know is there anyway to transport roles from Production to Development or Sandbox. Goto PFCG and enter the role which you want to transfer to other system. goto utilities->Mass download it will ask the path where to download/save that role on local desktop give the location and save it. Next logon to the system where you want that particular role. PFCG-> Role -> upload. Give the path where the role is saved. it accepts and generates successfully. What is the need of having Development system? To develop and custamize SAP to companies requirement. say if you dont have DEV, after go-live(started using SAP (PRD}) if you want to do some changes to application, you cannot do changes directly toPRD server, which may cause problem the PRD server live data. so you do the required changes on DEV first and test them on QAS, if it works fine them transport the same to PRD. Difference between Application server and Central Instance? AS: Is just a dialog instance. CI: Is Dialog instance + Database Instance. What is Transport domain and Domain controller? TD: is the collection of transport controller, trans directory and all other systems in the group. TC: A system which will have trans directory, and in which the total landscape is designed and maintained. in stms you can see all these.
What are SNOTES ? How to apply them in SAP ? The name of the transaction is SNOTE. A note in general is a hint, documentation, error/bug description and may contain code corrections, that are applied with the transaction SNOTE. What is OSS ? OSS is the old name of the nowadays sapnet which contains everything you need to run SAP a program, patches, installation/upgrade documentation etc. What are different modules used like EP, XI, CRM ,BW, etc? Those are not different modules but different products. EP = Enterprise Portal XI = Exchange Infrastructure CRM = Customer Relationship Management BW = Business Warehouse (that is the old term), its now call BI(Business Intelligence) What is the correct use of SPAM, SAINT, SPAD and SPDDtransactions. When should we use each? SPAM is for installing support packages, SAINT is used to install new addons. SPAD is for creating printers (I assume you meant SPAU) and SPDD is for adjusting modification to dictionary objects. Is it possible to update Support Release packages from OS level? No you can import them but the full process will require additional steps the tools tp and R3trans are not aware of. The way is to useSPAM - but SPAM has the possibility to schedule those imports in the background. After doing any Support Package update in SPAM, are there any further steps to carry out for this update to take effect? No, they are active immediately.
1. Why do we require a support package and why it is not incorporated with the new version of SAP R/3? 2. What are add-ons and why do we require add-ons? 3. What is CRT and why we require it? 4. Who should decide which patch should be applied and when? Support packages are a collection of fixes that have come out after the official release of an SAP software solution. Notice, though, that some support packages are preloaded with the system. R/3 Enterprise SR1 is a good example of that.
An add-on is a component that can be loaded into an SAP software solution. Examples: PI, PI_BASIS, SOA 1.0 (CGVMIC). The CGVMIC is the Management of Internal Controls add-on, which is part of the Sarbanes & Oxley Compliance Tool. New SAP releases come with some add-on preloaded, too. PI (Plug-In) is a good example. It's used to exchange data with other applications such as BW and APO. A CRT (Conflict Resolution Transport) is used when you have installed an Add-on and Support Packages that conflict with each other. Who decides about what patch should be applied and when? That's a good question. The answer is: You, the customer. I have one question about the SAP R/3 architecture: What distinguishes BASIS from the Application Server? What is the role of Basis doing vs. the role of an Application Server? How are these two linked & finally are ABAP/4 programs interpreted or compiled or both? Please give me an insight into this. Basis is part of the application server. But, think of Basis as the foundation of the SAP system. "Basis" has to do with the installation and configuration of components that make the system work. About the ABAP/4 language: programs are compiled to a program code that runs interpretively. The compilation process is referred as "generation". I'm updating my users with their correct User Type for the User Audit. Is there any listing that identifies which tcodes are for which User Type? (Example: MM03-Informational, MM02-Operational) As you know everything is in R/3 tables. So, you can get a list of "users by type" by querying table USR02. The field 'USTYP' indicates the type of user (Dialog, Background, CPIC). Once you get a list of users by type, you can use transaction SUIM to get the list of transactions assigned to users. After running SUIM, select Transactions->Transaction Lists According to Selection With User, Profile or Object->Executable for user. You can create your own SQL script to get everything in a pretty automated way. Tip: declare cursors To help you out, see the following SQL queries (which you can then improve by declaring cursors).
-- This query lists all user accounts that are type Background in client 400 select * from USR02 where USTYP='B' and MANDT='400' -- This query lists all activity groups in client 400 assigned to the user JOHND select * from AGR_USERS where MANDT='400' AND UNAME='JOHND' -- This query lists all transactions assigned to activity group 'AP_CLERK' in client 400 select TCODE from AGR_TCODES where MANDT='400' and AGR_NAME='AP_CLERK' I'm confused about what Basis administration entails. Does it involve the J2EE and ABAP engines? Please help me sort out my confusion. Yes, Basis administration does involve the J2EE and ABAP engines, but not necessarily both at once. The most common is the administration of the Web Application Server (Web AS ABAP system). The J2EE applies to environments where Web development takes place. As the Basis (technical) administrator you need to install, configure and maintain just about every aspect of the system architecture. For information about J2EE please visit this link: http://help.sap.com/saphelp_47x200/helpdata/en/13/a3bb3eff62847ae10000000a114084 I am a new Basis administrator, and our systems are: * SAP R/3 4.6C ( support patch: KA47, KB47, KH47 and KE84) * Kernel 4.6D (Support Patch Level: 988) * Solaris operating system is 64-bit, and Oracle database is 32-bit. My questions: 1. How can I find out if our SAP kernel is 32-bit or 64-bit? I found only saposcol file is 64-bit, most of the files are 32-bit. 2. Do I have to download both DB-independent and DB-dependent files in order to upgrade our SAP kernel? 3. Do I have to download all files in DB-independent and DB-dependent into our system? Or just some files: DB-independent: dw 1969, R3trans 1953, SAPEXE 1747, SAPEXE 1805, SAPEXE 1883, SAPEXE1913 and tp 1967. DB-dependent: SAPEXEDB, SAPEXEDB 1805, SAPEXEDB 1883, and SAPEXEDB 1913).
Run "disp+work -version". If you do NOT see anything saying, "compiled with 64-bit libraries," then your system is running the 32-bit R/3 kernel version. Also, I encourage you to take a look at SAP Note 192822 titled, "FAQ: 32-bit/64-bit R/3-Oracle." I am going to quote a section of this note for you: "For all current releases, the patches are stored in the SAP service marketplace http://service.sap.com/swcenter_3pmain . After choosing Oracle, you have the option to go down the oracle 32-bit or oracle 64-bit path. Please note that in order to decide which of the two to choose the
only thing tht matters is what bit version your Oracle software is. No matter whether your OS is 64-bit; as long as your Oracle is still 32-bit you would go down the Oracle 32-bit path." 2. Yes. You need both. Otherwise, the system will not work properly or won't even start at all. 3. You need to download the latest versions or at least one version before the last one. In the example above, you should download these files: DW_1969, R3trans_1953, SAPEXE_1913, TP_1967 SAPEXEDB_1913 Then, you need to decompress each archive (.SAR) file using SAPCAR -XVF.
I would like to know which users have access to particular transactions. Is this possible? Yes. There are several ways. I think the easiest one is for you to run transaction /nSUIM. In this transaction (User Information System), drill down to: Infosystem authorization -User -Users by complex selection criteria -By transaction authorizations Finally, enter the transaction in question and execute. If you are running R/3 4.7, you can also run transaction /nPFCG.
Some of our users are not able to execute some transaction codes, even though the required roles are granted. How to troubleshoot?
Follow the below mentioned steps to identify the root cause: Check if there is a user comparison issue. (The role name will be suffixed with Red light, instead of green) Check the object S_TCODE existence in the authorization object of that particular profile. Check SU56 to know the objects/values available for the user.
If there is an issue with the 1st mentioned point, simply go to Profile Generator and perform a user comparison, which will adjust the user master record. If the issue is with 2nd, you need to regenerate the profile. Incase, if you find that some of the objects are not loaded properly in SU56, you need to identify the # of profiles assigned and ensure that they are below 312, as you cant assign more than 312 profiles to a SAP User ID. If the issue happens even with very few profiles, verify the Number of authorizations in User Buffers value in the Instance profile. The value for Auth/auth_number_in_userbuffer parameter can be increased. The size of the buffer must always exceed the maximum number of authorizations as authorization checks are made only against those in the buffer.
The default value is 800, but this can be set to a value which is between 12000. Other references: OSS notes 84209 and 75908
I am unable to login to SAP using SAP* user ID in the newly created client. What is the problem?
This issue happens if the login/no_automatic_user_sapstarparameter value is set to 1 in the Instance profile. Change the value to 0 to enable SAP* login. Prior to version 4.0 this parameter waslogin/no_automatic_user_sap*.
How do you change the default SAP GUI client number in the initial screen?
login/system_client parameter should be added in the Instance profile. The default value is 000.You need to make the change, save the instance profile and activate it.
What is GuiXT?
GuiXT is a standard R/3 tool used to personalize SAP screens using scripts, without changing the underlying ABAP or business logic. GuiXT is compatible with R/3 releases from 3.0 to 4.7, SAP ERP Central Component (ECC), and SAP NetWeaver Portal. You can apply GuiXT scripts to all SAP transactions and implement company-wide or user-specific settings on your system. Traditional IMG customization (transaction SPRO) is not required; you configure GuiXT settings in the SAPGUI installation screen, which resides in your front end.
Posted by SAP Basis notes at 9:25 PM 0 comments Labels: Configuration and Upgradation
Posted by SAP Basis notes at 9:24 PM 1 comments Labels: Configuration and Upgradation
Posted by SAP Basis notes at 9:23 PM 0 comments Labels: Configuration and Upgradation
Posted by SAP Basis notes at 9:22 PM 0 comments Labels: Configuration and Upgradation
How to change the system wide initial user menu for a SAP system?
Using the transaction code SSM2, you can change the system wide User Menu, i.e., this change will applied to all the users. If they are using their personalized menu, it will not be modified.
Posted by SAP Basis notes at 9:21 PM 0 comments Labels: Configuration and Upgradation
Posted by SAP Basis notes at 9:20 PM 0 comments Labels: Configuration and Upgradation
What is CTS?
The Change and Transport System (CTS) is a tool that helps you to organize development projects in the ABAP Workbench and in Customizing, and then transport the changes between the SAP Systems and clients in your system landscape. This documentation provides you with an overview of how to manage changes with the CTS and essential information on setting up your system and client landscape and deciding on a transport strategy. Read and follow this documentation when planning your development project.
Posted by SAP Basis notes at 9:20 PM 0 comments Labels: Configuration and Upgradation
What are the various system profiles, and how to set the parameter values?
SAP has 3 system profiles: Start profile Default profile Instance profile
Transaction RZ10 can be used to edit any of these profiles. Start profile defines which SAP services are started, for e.g.: Message server, Dialog, Gateway or enqueue process.
Default profile will be used incase if the instance has multiple application servers. Mostly the global parameters will be defined in this profile such as buffer values, etc., Instance profile is where we can define additional configuration parameters such as authorization, login, memory, etc.,
Posted by SAP Basis notes at 9:18 PM 0 comments Labels: Configuration and Upgradation
Many of our users are experiencing CALL_C_FUNCTION_NO_AUTHORITY ABAP dump. How can we resolve this issue?
The AUTHORITY_CHECK_C_FUNCTION is a function module which can be used to check the authorizations required to execute an ABAP program. This is mainly used by the ABAPers while coding programs that require critical authorizations to identify the access required by the users to execute the program. The CALL_C_FUNCTION_NO_AUTHORITY ABAP dump occurs if there is an issue with the authorization. Verify the ABAP dump to identify the exact program and function module where the error is generated. Following is an example error: The termination occurred in the ABAP/4 program "SAPLXTRK " in "GET_APPLICATION_TIMEZONE".
Posted by SAP Basis notes at 9:16 PM 0 comments Labels: SAP BASIS Tips and Tricks
Frontend computer: Select Export: Select Export: Select Output device: Give * for all the printers. If you want only the printers that start with S, you should give s* 4. Click the Execute button 5. Open the saved text file and replace all the PADISABLED values with = X (It should be displayed as PADISABLED = "X") 6. Follow the same process and Import the file. 7. Save. This will lock all the printers. To unlock, follow the same process and change the PADISABLED value to "".
Posted by SAP Basis notes at 9:15 PM 0 comments Labels: lock/unlock all the printers in SAP
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7b1d5312-0d01-0010-7bbbc819a4579f58
Posted by SAP Basis notes at 9:11 PM 0 comments Labels: SAP BASIS Tips and Tricks
How to find out if the client is able to reach the SAP server perfectly?
This can be diagnoised using NIPING.EXE command, which is available in Exe -> Run directory. To test the connectivity between SAP and front end computer, do the following: First start the NIPING server on computer: Nipping s I 0 Then start the same on the client. Use the following command: Nipping c h
Posted by SAP Basis notes at 9:09 PM 0 comments Labels: SAP BASIS Tips and Tricks
The SAPOSCOL service in Windows has been deleted some how? How can I restore it back?
The ntscmgr.exe program located in the Exe -> Run directory can be used to reinstall the SAPOSCOL as a service. Execute the following command: ntscmgr.exe install SAPOsCol -b saposcol.exe p
This will be very useful, when you have issues at SAP Level, and cant use SM50 to terminate any processes.
Posted by SAP Basis notes at 9:07 PM 0 comments Labels: work process status
How can you differentiate the Central Instance from a Database Instance?
The Central Instance will have Enqueue work processes and the database instance will not. You can find the available work processes information in SM51 (SAP Servers) transaction code.
How do you check the work process status in different Operating systems?
Windows: Go to Windows Task manager and you can see the processes listed. All the disp+work.exe processes are SAP work processes. Right-click Start bar and click Task Manager to invoke it.
Unix: The following Process Status command can be used to know the work processes status. ps -ef | grep SAP Also, irrespective or the operating system we can use dpmon.exe executable, which is located in the Kernel (usr\sap\\sys\exe\run) directory.
Posted by SAP Basis notes at 9:04 PM 0 comments Labels: work process status
Basis Questions
1)Which SAP system parameter points to the path of the transport directory? 1. DIR_HOME
2. DIR_DBMS 3. DIR TRANS 4. DIR_EXECUTABLE 2)Transaction for defining logical systems is: 1. BD15 2. BD54 3. BD64 4. BD87 3)Operation modes are created as empty containers in transaction? 1. RZ04 2. SM69 3. SM58 4. SM30 4)In ALE configuration the transaction for maintaining the partner profiles is 1. WE05 2. WE20 3. BD15 4. BD87 5)Which of the following are building blocks of ALE? (More than one answer can be correct) 1. Logical system 2. Message Type 3. Program ID 4. Partner Profile
6)Which of the following are true? 1. Access to http://service.sap.com/ is available only to customers. 2. Access to http://help.sap.com/ is available only to SAP partners. 3. Access to http://service.sap.com/ is available only to SAP customers and partners. 4. All of the above. 5. None of the above. 7)Which of the following is true about developer keys and object keys? (Multiple answers are possible). 1. Object keys in a SAP system are stored in table ADIRACCESS.
2. To create a customer program ZABCD you require an object key. 3. To modify a customer program ZABCD you need an object key. 4. To create a customer program ZABCD you need a developer key. 5. None of the above. 8)Which of the following are client copy profiles? (More than one answer can be correct) 1. SAP_ALL 2. SAP_ABA 3. SAP_NEW 4. SAP_ CUST 9)Client copy/transport log analysis can be done using transaction; 1. SCC1 2. SLOG 3. SCCL 4. SCC3 10)With which user id can one log into a newly created client with password PASS? 1. DDIC 2. BASIS 3. SAP* 4. SYS
Posted by SAP Basis notes at 7:52 PM 0 comments Labels: Basis Interview Questions
Basis Questions
1)What will happen if a background job is running and the Operation Mode Switch is activated in between? 1. The job will be cancelled
3. The Job will continue to run and once it finishes then the Operation Mode Switch will occur
2)The standard System Landscape recommended by SAP is 1. DEV, QAS & PRD systems on one Server
2. 999
3. 500
4. 998
2. SAPDPIC
3. DDIC
4. SYS
2. DOMAIN_DEV.cfg
3. TP_.PFL
4. tpimport.pfg
2. Message server
3. Work process
4. SAPGUI
8)Where the SAP Spool system stores data? 1. In the TemSe database
1. roll first, heap memory until exhausted, remaining of roll area, then Extended memory
2. roll first, Extended memory until quota reached, remaining of Roll area, then Heap memory
3. Extended memory until quota reached, then the whole of Roll area, then heap memory
4. roll first , then heap memory, then extended memory , remaining roll area.
10)For external programs which process is used to trigger an event within an SAP system 1. sapxpg
2. gwrd
3. dpmon
4. sapevt
Posted by SAP Basis notes at 7:51 PM 0 comments Labels: Basis Interview Questions
Posted by SAP Basis notes at 7:50 PM 0 comments Labels: SAP BASIS Tips and Tricks
Changing the Title of SAP Transaction Sometimes, internal user or customer might request you to change the Title of the SAP Transaction code to a more meaningful one. The steps are as follows: Goto tcode SE63 . On the top left Menu of the screen - ClickTranslation ---> Short texts - --> Transactions For example, assuming you want to change the title of the t-codesu10 from user maintenance: Mass changes Initial Screen to Mass User changes . On the first screen, fill in the following information: Transaction code - SU10 Source Language - English Target Language - English To change the Title, click the Edit button. On the second line (the one in dark yellow), type in the Title (For e.g. Mass User changes) you want for the transaction code. Click the Save button
Now, call up the transaction code /nSU10 again and you should be able to view the new Title. Please note that it works for most of the Transaction codes. The t-code is available from from version 4.6x.
Posted by SAP Basis notes at 7:48 PM 0 comments Labels: SAP BASIS Tips and Tricks
Remote Function Call (RFC) in SAP RFC is an SAP protocol to handle communications between systems which simplifies the programming. A remote function call (RFC) is the call of a function module that runs in a different system to the calling program. It is also possible to call a function module in the same system as an RFC; normally RFCs are used when the caller and the called function module run in different systems. In the SAP system, these functions are provided by the RFC interface system. The RFC interface system enables function calls between two SAP systems, or between an SAP system and an external system. RFCs manage 1) Communication process 2) Parameter transfer
3) Errors. RFC describes an interface to call the function. In RFC communications between two SAP systems, the calling system uses an RFC definition in the target system to access a specific function. The destination of an rfc call might be R/2 connection, R/3 connection, internal connections, logical connections (like to logical systems) or TCP/IP (external systems) connections. There are five types of RFCs in SAP 1) Synchronous RFC (sRFC) It requires that the target system is active when the RFC is made. This type of rfc is used for communication between different systems and between SAP Web AS and SAP GUI. 2) Asynchronous RFC (aRFC) It doesnt require the target system to be active when RFC is made. This is used for parallel processing jobs and for communication between different systems. 3) Transactional RFC (tRFC) This is a variation of aRFC. The transactions are divided into steps and are processes step by step. This is an asynchronous transaction. This is helpful in scenarios where there is probability of network failure between the systems. 4) Queued RFC (qRFC) This is a variation of tRFC. Here the individual steps are executed sequentially. 5) FastRFC This is used for system internal communications. Interactions between J2ee engine in sap & the abap runtime environment in the same instance are done using these RFC. This type of RFC is possible only if both the source & target are on the same system. The RFCs are managed using t-code sm59
Use t-code SMT1 to manage trusted systems
Posted by SAP Basis notes at 7:47 PM 0 comments Labels: SAP BASIS Tips and Tricks
Posted by SAP Basis notes at 7:47 PM 0 comments Labels: SAP BASIS Tips and Tricks
2) Enter the function module name MENU_FAVORITES_DOWNLOAD ,test run the module, 3) The enter the source user name in the field that appears & execute. You will be prompted for a local path or directory to save the file. Just give the file name as some user_source.mnu and save the file 4) Now enter run a function module MENU_FAVORITES_UPLOADtest run the modules
5) Enter the name username in which you want upload the menu favorites. It will prompt you for the file. 6) This operation require user login details
Posted by SAP Basis notes at 7:46 PM 0 comments Labels: SAP BASIS Tips and Tricks
Goto transaction SCCL give the source client (which you have to find size) and the target client then check test run at the end you will see the size of client
Posted by SAP Basis notes at 7:45 PM 0 comments Labels: SAP BASIS Tips and Tricks
2) How to find derived roles under the master roles 1) Goto transaction SE16 2) Enter the table name : agr_define 3) Enter the master role in the second role field ( this field is in the second row) and execute 4) Then you will see the derived roles based on the master roles Posted by SAP Basis notes at 7:44 PM 0 comments Labels: CUA
1. 2. 3.
Login to the SAP service market place and download the SAP notes containing correction instructions to the front-end. Upload the notes from the frontend to the system using SAP notes assistant (Transaction SNOTE) If you know the sap notes number you can download it by using assistant. Click on the button enter the SAP notes number. and
4.
Then the sap notes is implemented if its status is new ( click on button
1. 2. 3. 4.
It keeps a track of the processing status of all the SAP notes in the system The notes can be de-implemented It check consistency of SAP notes with the release of SAP system It maintains the processing status of SAP notes
The notes assistant is an add-on. One has to import it from SAP service market place and install it in the system by using SAINT. Note: When implemented SAP notes changes the ABAP code only. The ABAP dictionary objects are not changed. This has to be done manually before implementing SAP notes so that the pre-requisites are met.
Posted by SAP Basis notes at 7:43 PM 0 comments Labels: SAP BASIS Tips and Tricks How to send popup message to a specific user in sap
How do you do that? By running a function module!! SM02 sends messages to all users, not a specific one So use function module TH_POPUP goto Transaction code SE37 enter the function module name & test run it the the resulting screen is shown below, type the details and execute
The the user will see message like this ( System name is blurred for privacy reasons)
The user must be logged into the system to receive the message
Posted by SAP Basis notes at 7:42 PM 0 comments Labels: SAP BASIS Tips and Tricks How to Determine the optimum No of Work Process IF you want to find out the optimum no of work processes there are two ways 1) Goto transaction sm50 and click CPU as shown in figure
or press ctrl+shift+f6 . You will see the cpu total times of the work processes . If you have WPs whose CPU time is very less (Say less than 0:20), you can decrease the number of WPS of that type . If the CPU time of certain type of work process is high, you may decide to increase their no. 2) Another method is to go for transaction Al12 then click all servers as shown
Then you will see the total no of requests for each work process. If all the dialog work process have large no of requests then you can add additional dia wps. If you have less dia wps with less requests , then you can decrease the no of dia wps.
This method is useful in deciding which operation mode to be used at a particular time. Posted by SAP Basis notes at 7:42 PM 0 comments Labels: Work Process in Sap Sample Basis Questions and Answers 1. Which of the following are standard users in SAP systems? ( More than
one answers)
a)sap b)ddic c)system d)sap* 2. A background job contains one or more steps. A step can be (More than one answers) a) An ABAP Program b) An external Program c) A java program d) An external os command 3. What are the status a background job can have? (More than one answers) a) Running b) Released c) Finished d) Error
4.What remote procedure calls does SAP provide? (More than one answers) a) Synchronous RFC b) Looped RFC c) Queued RFC d) Direct RFC 5. Which of the following are work process? a) Dialog. b) Message Server c) ICM d) Update e) Gateway 6. Which of the following are valid transport routes? a) Transport route b) Consolidation route c) Integration route d) Delivery route 7. Support Package is imported using the tool a) SPAU b) SPAM c) SPDD d) SAINT
8. The tool for installing an add-on is a) SPAM b) SPAU c) SAINT d) SCU0 9. Which of the following printing mode exist in sap system?(More than one answers) a) Remote Printing b) Local Printing c) Instance Printing d) Front-end Printing 10. Which of the following transaction is used to configure printers in sap system? a) SPAU b) SPAD c) SP01 d) SP02 Posted by SAP Basis notes at 7:41 PM 0 comments Labels: Basis Interview Questions how you can assign a Background work process as a Class A Background Work process
Go to transaction code rz04 then button Operation Modes / Instances. Then select the Operation mode and double click on it. Then you will see a window with no of Background work process. In the field named Class A increase the no to 1 (use the + button to increase that). Default value is zero. Then click on the save button to save the configuration
Posted by SAP Basis notes at 7:40 PM 0 comments Labels: Background Job How to Lock or Unlock a client In sap
To lock or unlock a client in R/3 System, run the following function modules in transaction se37 1. SSCR_LOCK_CLIENT ( to lock the client) 2. SSCR_UNLOCK_CLIENT (to unlock the client) Run these functions with a client input which is to be locked/unlocked. This function set flag '' Client is locked temporarily for client copy" in client maintenance menu.The client will be available for users DDIC and SAP*. If any other user tries to login, system gives message that ' Client locked temporarily'.
To unlock the client 1. Run transaction SE37 2. Enter the function module as SSCR_UNLOCK_CLIENT 3. press F8 or test run (single run). 4. Specify the client and execute(F8). Follow similar procedure for locking the client
Posted by SAP Basis notes at 7:39 PM 0 comments Labels: Lock or Unlock a client In sap How to find an Operation mode Switch How do you find that an operation mode switch occurred?There are many ways 1) Go to sm50. If the no of dialog work processes or background work processes changes then a operation mode switch took place. 2) Go to transaction sm63. Here you can see the time when the operation mode is set. You can guess when the operation mode switch occurs. 3) Go to transaction RZ04, here you can see the list of operation modes and their time. You can guess that from here 4) Go to transaction rz03 , here you can see the current operation mode in which the server is running.
5) Call transaction Code sm62. Then view system events. If there is an event called SAP_OPMODE_SWITCH then
operation mode switch occurred at that time. If you click on activity log you can see the time and date when the event was triggered. It is time and date of operation mode switch Posted by SAP Basis notes at 7:38 PM 0 comments Labels: SAP BASIS Tips and Tricks How to Reset Different Buffers in Sap
You can reset the buffers using following commands Just run the following in SAP command field. Note: Resetting of the buffers could change the performance of the entire system /$DYNP - To reset the screen buffer of the application server /$SYNC - This command resets the buffers of the application server /$CUA - This resets the CUA buffer of the application server /$TAB - This resets the TABLE buffers of the application server /$NAM - To reset the nametab buffer of the application server
Posted by SAP Basis notes at 7:38 PM 0 comments Labels: SAP BASIS Tips and Tricks Types of Work Process in Sap
There are five types of work process in sap Dialog Work process: The Dialog work process fulfill all requests for the execution of dialog steps triggered by an active user. The dialog work process are not used for request which take long time and which use more cpu. Every dispatcher requires at least two dialog work processes. The dialog work process default time is 300 secs. If the dialog work process does not respond in this time, it will be terminated. Also dialog work process are multiplexed to handle large no of user request. Learn more about multiplexing here . You can set the maximum response time of dialog work process from transaction rz11 & set the parameter rdisp/max_wprun_time to time you need. The no of dialog work process can be changed by changing the parameter rdisp/wp_no_dia. Background Work process: The background work processes execute programs that run without user interaction. At least two background work processes are required per SAP system. More than one background work processes can be configured per dispatcher. Usually the background work process are used for carrying jobs that take long time to finish, like client copy, client transport etc.., Then no of background work process can be changed by changing the parameter rdisp/wp_no_btc . There are two types of background work process. They are A type and B type. A type background work process are used for mission critical jobs. Background jobs of priority a have high priority than B type back ground jobs. Update Work Process: Update work processes execute update requests. You need at least one update work process per SAP system and you can have more than one per dispatcher. The profile parameter rdisp/wp_no_vb is used to control the no of update work process and rdisp/wp_no_vb2 for not of update work process of type v2. There are two types of update work process. They are v1 and v2. v1 update jobs have higher priority than v2 jobs. v1 jobs are used for critical jobs. There must be at least one V1 update work process in the SAP System. However there can be more than than one.V2 modules describe less critical secondary changes.These are pure statistical updates, for example, such as result calculations. Spool work process: The Spool work process pass sequential data flows on to printers. Every SAP system requires at least one Spool work process. However, there can be more than one per dispatcher. The parameter to set the no of spool work process isrdisp/wp_no_spo. Enqueue Work Process: The Enqueue work process administers the lock table in the shared memory. The lock table contains the logical database locks of the ABAP stack. Only one enqueue work process is needed for each SAP system. This is present on the central instance. You can determine or find an central instance by looking the the various work process present in it. For example, only the central instance contains enqueue and message work process.rdisp/wp_no_enq. It is not dynamically switchable.
You can see an overview of all work processes in the application server by calling transaction sm50.
Posted by SAP Basis notes at 7:37 PM 0 comments Labels: Work Process in Sap How to view locked Users in Sap
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).
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 SAP Basis notes at 7:36 PM 0 comments Labels: Users Last Login? How to find sap transaction codes
Goto transction search_sap_menu enter the context or the purpose of the t-code like profile, or
user, or
Posted by SAP Basis notes at 7:35 PM 0 comments Labels: SAP BASIS Tips and Tricks How to view recently accessed transactions by users
There are two ways to do that 1) Turn the audit log on by using SM19 and SM20 and analyze the audit logs.Put filters while setting up these logs so that you can see the specific data. 2) In ST03N / ST03, you can analyze the transactions run by users by selecting the "User Profile" under the "Analysis Views" section. Note: ST03N keeps limited data
Posted by SAP Basis notes at 7:34 PM 0 comments Labels: SAP BASIS Tips and Tricks How the check the work process at os level in UNIX
Use these commands to check the work process and other SAP process at os level in unix To check all the work processes: ps -ef | grep | grep dw To check the sap os collector ps -ef | grep sapos To check the message server
Use transaction SA38 to run the following report RSBDCOS0 Then enter the command you want to execute. In this example i am using command DIR
Posted by SAP Basis notes at 7:33 PM 0 comments Labels: External OS command in SAP What is the difference Between External Commands And External Programs in SAP
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 SAP Basis notes at 7:32 PM 0 comments Labels: difference Between External Commands And External Programs in SAP Interview Questions
1) In what sequence does the system read the system parameters the specified locations? a) Instance profile -> Default profile -> Kernel b) start.ini -> Kernel -> Default profile -> Instance profile c) Kernel -> Default profile -> Instance profile d) Kernel -> start.ini -> Default profile -> Instance profile
2) Which are the possible Client Roles a) Test b) Production c) Demo d) Integration 3) Which of the following are types of change requests? a) Workbench request b) Developer request c) Customizing request d) cross-client customizing request 4)In sap when a background job can be triggered? a)When an even occurs b) when database updates c) when a job finished succesfully d) can be triggered only in relese R/3 4.7 5) Which of the following work process can be dynamically changed? a) BTC b)Spool c) v1 d) DIA 6) Which of the follwing are types of RFC destinations a) Inter-system connection
b) R/3 connections c) R/2 connections d) Remote connections 7) Example of Java Standalone installation is? a) Mysap 2005 b) WebAS 7.1 c) Sap BW 3.0 d) SAP Enterprise portal 8)Which of the following work process supports multiplexing? a) Update b) Background c) Dialog d) Enqueue 9)What tasks does a task handler carry out? a) Triggers a event b) Acess the database c) Compile the Abap code d) Coordinates activities within the work process 10) During asynchronous updates, which process records the data to be changed in VB* tables?
These are non interactive users. They are used for background processing and internal communication in the system (such as RFC users for ALE, Workflow, TMS, and CUA). Their passwords cannot be changed by the end users. Only the user administrator can change their passwords. Multiple logon is permitted in these type of users. Dialog logon is not possible for these type of users.
Communication Users (C) Used for dialog-free communication between systems. It is not possible to use this type of user for a dialog logon. Their passwords are valid for certain period of time so they expire. The users have option to change their own passwords.
Service User (S) Dialog user available to a larger, anonymous group of users. The system does not check for expired/initial passwords during logon. Only the user administrator can change the passwords. Generally, highly restricted authorizations are given to this type of users.
Reference User (L) A reference user is, like the service user, a general non-person-related user. Dialog logon is not possible with this kind of user. A reference user is used only to assign additional authorizations. To assign a reference user to a dialog user, specify it when maintaining the dialog user on the Roles tab page
Dialog User
System user
Communication User
Service User
Reference User
Yes
No
No
Yes
No
yes
NA
yes
yes
yes
Password
Expires or initialized
NA
NA
Expires or initialized
----NA---
End user
User Administrator
End User
User Administrator
Posted by SAP Basis notes at 7:28 PM 0 comments Labels: Users in sap Sample Basis Questions
1)The local memory of the work process consist of ( More than one answer can be correct)
1.
Roll buffer
2.
Roll area
3.
Paging buffer
4.
Page area
1.
SM04
2.
SM02
3.
SM12
4.
SM21
1.
2.
3.
4.
4) In case of a MCOD type of SAP installation which of following are true? (Multiple answers are possible).
1.
2.
The same user ids are used by all the SAP System to connect to the same database.
3.
The multiple SAP systems are differentiated using the SCHEMA ID.
4.
1.
SM01
2.
SMSY
3.
SM66
4.
SM13
1.
Database layer
2.
Application Layer
3.
4.
Presentation layer
7)Which of the following are ABAP/4 dictionary objects?(More than one answer can be correct)
1.
Tables
2.
Fields
3.
Data elements
4.
Domain
8)Which of the following are ABAP dictionary changes?( More than one answer can be correct)
1.
Activation
2.
Version management
3.
4.
Table entries
1.
MARA
2.
SARA
3.
DB15
4.
ARCH
1.
SALE
2.
FILE
3.
DB15
4.
DB16
Posted by SAP Basis notes at 7:27 PM 0 comments Labels: Basis Security Sample Basis Questions
1)Which SAP system parameter points to the path of the transport directory?
1. 2. 3. 4. DIR_HOME DIR_DBMS DIR TRANS DIR_EXECUTABLE
2)Transaction for defining logical systems is: 1. 2. 3. 4. BD15 BD54 BD64 BD87
3)Operation modes are created as empty containers in transaction? 1. 2. 3. 4. RZ04 SM69 SM58 SM30
4)In ALE configuration the transaction for maintaining the partner profiles is
1. 2. 3. 4.
5)Which of the following are building blocks of ALE? (More than one answer can be correct) 1. 2. 3. 4. Logical system Message Type Program ID Partner Profile
6)Which of the following are true? 1. 2. 3. 4. 5. Access to http://service.sap.com/ is available only to customers. Access to http://help.sap.com/ is available only to SAP partners. Access to http://service.sap.com/ is available only to SAP customers and partners. All of the above. None of the above.
7)Which of the following is true about developer keys and object keys? (Multiple answers are possible). 1. 2. 3. 4. 5. Object keys in a SAP system are stored in table ADIRACCESS. To create a customer program ZABCD you require an object key. To modify a customer program ZABCD you need an object key. To create a customer program ZABCD you need a developer key. None of the above.
8)Which of the following are client copy profiles? (More than one answer can be correct) 1. 2. 3. 4. SAP_ALL SAP_ABA SAP_NEW SAP_ CUST
9)Client copy/transport log analysis can be done using transaction; 1. 2. 3. 4. SCC1 SLOG SCCL SCC3
10)With which user id can one log into a newly created client with password PASS?
1. 2. 3. 4.
Posted by SAP Basis notes at 7:27 PM 0 comments Labels: Basis Security Sample Basis Questions
1)What will happen if a background job is running and the Operation Mode Switch is activated in between?
1. The job will be cancelled
2.
3.
The Job will continue to run and once it finishes then the Operation Mode Switch will occur
4.
2)The standard System Landscape recommended by SAP is 1. DEV, QAS & PRD systems on one Server
2.
3.
4.
2.
3.
4.
2.
999
3.
500
4.
998
2.
SAPDPIC
3.
DDIC
4.
SYS
2.
DOMAIN_DEV.cfg
3.
TP_.PFL
4.
tpimport.pfg
2.
Message server
3.
Work process
4.
SAPGUI
8)Where the SAP Spool system stores data? 1. In the TemSe database
2.
3.
4.
1.
roll first, heap memory until exhausted, remaining of roll area, then Extended memory
2.
roll first, Extended memory until quota reached, remaining of Roll area, then Heap memory
3.
Extended memory until quota reached, then the whole of Roll area, then heap memory
4.
roll first , then heap memory, then extended memory , remaining roll area.
10)For external programs which process is used to trigger an event within an SAP system 1. sapxpg
2.
gwrd
3.
dpmon
4.
sapevt
Posted by SAP Basis notes at 7:26 PM 0 comments Labels: Basis Security Derived Roles
As the name indications are derived from already existing roles. There are two scenarios when we derive roles.
The role menus are identical but the authorizations for the menu actions are different in the derived role. The menu and authorizations of the derived role are identical, but the organizational levels are different in the derived role.
The derived roles inherit the menu structure and functions (including transactions etc...) of the referred role. The default authorization values of the derived role are that of the inherited role. The organizational values are to be maintained in the derived role. The organization level data is only copied the first time the authorization data is adjusted for the derived role. If organization level data is maintained in the derived role, it is not overwritten by subsequent adjustments. Roles derived from another cannot have any additional menu entries. The menu is maintained in the referred role which take effect immediately in all derived roles.
To change the menu of the derived role without changing the menu of referred role you have to break the inheritance relationship. Once the relationship breaks, the derived role is dealt as a normal role and the inheritance relation ship cannot be re established
Posted by SAP Basis notes at 7:25 PM 0 comments Labels: Basis Security S_Develop Object
S_DEVELOP This is the general authorization object for ABAP/4 Development Workbench objects. It is used to grant access authorizations for all ABAP/4 Development Workbench components. These include:
ABAP/4 development tools
Function library
Object Browser and Info System This is not given to any user in the production system. If given, one can do development activities in the production system. This is given to ABAP/4 developers only in development systems. Posted by SAP Basis notes at 7:24 PM 0 comments Labels: Basis Security What are the checks Done When a Tcode is Called in SAP
When a transaction is called, a system program makes various checks to ensure that the user has the appropriate authorization.
1. Is the transaction code valid? (table TSTC check).
2.
3.
4.
The authorization object S_TCODE (call transaction) contains the field TCD (transaction code).
5.
The user must have an authorization with a value for the selected transaction code.
6.
Does the transaction code have an authorization object? If so, a check is made that the user has authorization for this authorization object.
Then there are check at ABAP program level and if these checks are succesful the the authorization checks are successful. If any one of the checks fail, the user cannot execute the tcode. Posted by SAP Basis notes at 7:24 PM 0 comments Labels: Basis Security Updating SAP Kernel in UNIX
Posted by SAP Basis notes at 7:11 PM 0 comments Labels: SAP BASIS Tips and Tricks Configure On Line Help in SAPGUI
Configuring the default SAP Help files path In 3.0x, the help path was set in c:\windows\sapdoccd.ini In 4.6x, transaction SR13 - Variants to adjust help (SAP library) was used to set the default path of the help files. If it is not found, SAP will search your local harddisk for c:\windows\sapdoccd.ini In transaction SR13, click HtmlHelpFile Variant Platform Area Path Language Default WIN98 WN32_98 IWBHELP C:\ EN X (Your SAP help folder should be C:\htmlhelp.)
In transaction SR13, click HtmlHelpFile Variant Platform Area Path Language Default WIN98 WN32_98 IWBHELP C:\ EN X (Your SAP help folder should be C:\htmlhelp.) SAP 4.6x HelpType=HtmlHelpFile HtmlHelpFilePath-DE=C:\HTMLHELP\HELPDATA\EN HtmlHelpFilePath-EN=C:\HTMLHELP\HELPDATA\EN HtmlHelpFilePath=C:\HTMLHELP\HELPDATA\EN SAP 3.0x [GLOBAL] docucdD=D:\ docucdE=D:\ docucdF=D:\
[SID] SID=XXX docucdD=D:\ docucdE=D:\ Posted by SAP Basis notes at 7:10 PM 0 comments Labels: sap basis tips tricks Changing the Right Hand Side Logo
Consider a following situation:Transaction code - SMW0 X - Binary data for WebRFC application Hit Enter Click Execute Click Settings -> Maintain MIME types Click the Create button Fill in :- TYPE : image/gif EXTENSION : .GIF Click Save Click Back to the Binary data for WebRFC Click Create Fill in :- Obj. name : ZXXXX.GIF Description : Company Logo Click Import and specify the filename where your GIF file is located.File type is BIN. Finish press the Transfer button. If successful, your logo will be shown in the Binary data for WebRFC. Transaction codeSM30 - Table/View - SSM_CUST Click Maintain Click New Entries
Name
Value to be set
Logoff and Login again Posted by SAP Basis notes at 7:08 PM 0 comments Labels: sap basis tips tricks Reset SAP* password
Consider a following situation:you have been put on some project. you need to apply patches to the system. but unfortunately your previous admin forgot to give you the password for sap* user.....
You are trying to change the password for sap* user, however when you go into su01 and enter sap* as the user name, the following message is displayed, user sap* does not exist. .......Well ........ You can survive the situation......
You can delete the SAP* user using ABAP code :Delete from usr02 where bname = 'SAP*' and mandt = '***'; Where '***' means your client no. Then login to your client using password SAP* and password PASS However, if you delete it, then it will automatically created once again with password PASS The userid, SAP*, is delivered with SAP and is available in clients 000 and 001 after the initial installation. In these 2 clients, the default password is 07061992 (which is, by the way, the initial date when R/3 came into being...). It is given the SAP_ALL user profile and is assigned to the Super user group. When I say it is "delivered" with SAP, I mean that the userid resides in the SAP database; there are actually rows in the user tables used to define userids. If you delete the userid, SAP*, from the database, SAP has this userid defined in its kernel (the SAP executable code that sits at the operating system level, i.e., disp+work). When this situation exists, the password defined in the SAP code for SAP* is PASS. This is necessary when you are performing client copies for example, as the user information is copied at the end of the process. You can sign into the client you are creating while a client copy is processing using SAP* with password PASS (but you should have a good reason to do this - don't change anything while it's running). Anyway, if the SAP* userid is missing, you can sign in to the client you want and simply define it using transaction SU01 and, as I stated above, assign it to the SUPER user group and give it the SAP_ALL profile. You define its initial password at this point. If you've forgotten its password and don't have a userid with sufficient authorization to create/change/delete userid, then you can use the SQL statements to delete it from the database and then you can use SAP* with PASS to sign back into the client you want to define it in and recreate it.
There is also a profile parameter which can override the use of SAP* with PASS to close this security hole in SAP (login/no_automatic_user_sapstar). When this parameter is defined either in your DEFAULT.PFL profile or the instance-specific profile and is set to a value of '1', then the automatic use of SAP* is deactivated. The only way to reactivate the kernel-defined SAP* userid at this point would be to stop SAP, change this parameter to a value of 0 (zero), and then restart SAP. The default password for SAP* is 06071992. (DDIC has 19920706)
What is the difference between Sequential Read and Direct Read
It is a very common misconception that "sequential reads in SM50 means that a full table scan is executed and an index is not used". The correct definition/concept is: Direct read The term "Direct read" refers to accesses in which a maximum of one line is returned by the database. This includes summarization queries such as SELECT COUNT and fully-qualified primary key accesses. Sequential Read A "Sequential Read" refers to all other read database accesses, in which there may be more than one line returned. It is true that the term "Sequential read" is a little deceptive since it implies that blocks are always read sequentially (as in a full table scan). In reality, however, when you perform a trace on these queries you will see that index is used in most cases. So, "Direct read" and "Sequential read" in SM50 are worthless for a performance analysis. It only shows that the processes are running and processing one of the queries directed at the database interface. For expensive SQL statements analysis, "Reads/User Calls" value (TCODE BACOCKPIT or ST04OLD) is an indication. If this value is above 15, the SQL statements should be checked in detail.
What is the difference between V1 and V2 update?
In SAP, the update process will be performed in several steps. The time-critical part of an update is called a V1 update, and the non-time-critical part is called as V2 update. The V1 update will be handled by the UPD work processes (UPD: Update process for making V1 (time-critical) database changes) and the V2 will be handled by the UP2 work process (UP2: Update process for executing V2 (not time-critical) database changes). To view the status of these updates, use transaction SM13. However, if you see any failed updates, find out the root cause and advise the users to perform the task again rather than posting it back from SM13.
View the following link to know more about the V1 and V2 update: http://help.sap.com/saphelp_nw04s/helpdata/en/e5/de86f335cd11d3acb00000e83539c3/content.h tm
Archive (ARCH) copies the on-line redo log files to archival storage when they are full. ARCH is active only when a database redo log is used in ARCHIVELOG mode.
Posted by SAP Basis notes at 6:59 PM 0 comments Labels: Data base Faqs What is the function of Redo Log and Redo Log buffer?
The primary function of the redo log is to record all the changes made to data. Changes made to entries are written to the on-line redo log files. So that they can be used in roll forward operations during database recovery. When a change has happened, the entry will be first stored in the SGA. SGA has the following components: 1. Shared pool 2. Database buffer cache (DB cache) 3. Redolog Buffer 4. Large pool 5. Java Pool Shared pool, consists of shared SQL area and shared PL/SQL area. DB cache will have the most recently used blocks & the blocks that needs to be written to the datafile. Redolog Buffercontains the changed/redo data and Large pool is used only in parallel sever environment. The SGA may also use a Java pool, if java stored procedures are used. When a SQL statement is executed, the output (data) will be stored in these DB cache as dirty blocks, and then moved into redo log buffers, which will be updated at a later stage.
What is the difference between Open SQL & Native SQL?
Open SQL allows you to access all database tables known to the SAP system, regardless of the database manufacturer. Sometimes, however, we may want to use database-specific SQL statements called Native SQL in the ABAP/4 program. To avoid incompatibilities between different database tables and also to make ABAP/4 programs independent of the database system in use, SAP has created a set of separate SQL statements
called Open SQL. Open SQL contains a subset of standard SQL statements as well as some enhancements which are specific to SAP. A database interface translates SAP's Open SQL statements into SQL commands specific to the database in use. Native SQL statements access the database directly.
Primary Index: The primary index contains key fields of a table and a pointer to non-key fields of the table. The primary index is created automatically when a table is created in database and moreover you can further define reference to the primary index which are known as Secondary index.
What is the difference among dropping a table, truncating a table and deleting all records from a table.
Drop Table - will remove the existance of the table from the database along with its data and structure and all the constraints. The table will be no longer available. This is an DDL Statement. Truncate Table - will remove all the rows from a table. It will not delete the table. Its a DDL statement that means the deleted rows cannot be reverted back by ROLLBACK statement. It will only be used if users needs to delete the entire rows from a tabls. No conditions will be applied in Truncate. Delete Table - is a DML statement which will delete rows from a table according to the matching criteria mentions in the where clause and these rows can be reverted back by ROLLBACK statement if COMMIT is not fired. Delete statement will used in both the cases, eitehr selected rows or entire rows from tables.
What are indexes?
Indexes are described as a copy of a database table reduced to specific fields. This data exists in sorted form. This sorting form ease fast access to the field of the tables. In order that other fields are also read, a pointer to the associated record of the actual table are included in the index. Yhe indexes are activated along with the table and are created automatically with it in the database.
What is the difference between Sequential Read and Direct Read
It is a very common misconception that "sequential reads in SM50 means that a full table scan is executed and an index is not used". The correct definition/concept is: Direct read The term "Direct read" refers to accesses in which a maximum of one line is returned by the database. This includes summarization queries such as SELECT COUNT and fully-qualified primary key accesses.
Sequential Read A "Sequential Read" refers to all other read database accesses, in which there may be more than one line returned. It is true that the term "Sequential read" is a little deceptive since it implies that blocks are always read sequentially (as in a full table scan). In reality, however, when you perform a trace on these queries you will see that index is used in most cases. So, "Direct read" and "Sequential read" in SM50 are worthless for a performance analysis. It only shows that the processes are running and processing one of the queries directed at the database interface. For expensive SQL statements analysis, "Reads/User Calls" value (TCODE BACOCKPIT or ST04OLD) is an indication. If this value is above 15, the SQL statements should be checked in detail.