Tuesday, 5 March 2013

How to increase trace file size in SAP?


How to increase trace file size in SAP?
  
     o    How to increase the size of a trace file in SAP?
     o    What is the parameter used to increase the size of a trace file?
     o    How to dynamically increase the size of a SAP parameter rstr/max_filesize_MB?

Sometimes, it is required in SAP to increase the size of a trace file from default value so that more trace or log can be captured.  Mostly SAP requests this change to resolve an Oss message. This can be done as follows:

Login to SAP ABAP system.
Go to transaction RZ11

As shown above, please provide the SAP parameter rstr/max_filesize_MB and click on display button which results in the below screen


 


As shown in the description, this parameter sets the maximum file size of a trace. Default value of trace file is 16MB. The maximum value is 100MB.
To view documentation related to this click on “documentation” push button.
To change the value, click on “Change Value” push button which results in following screen.

As shown in above screen set the new value and also select “switch on all servers” checkbox if you would like to change this parameter across all the application servers of an SAP system.
However, if you would like to change this parameter in any specific application server, please make sure this checkbox is unchecked.
As rstr/max_filesize_MB is a dynamic, parameter takes effect immediately without restart of the SAP system. However, the parameter lasts only till restart of the server. After restart, default value will be set again for this parameter

How to create RFC connection?

How to create RFC connection


This procedure should allow the Basis team to create a RFC connection in any SAP server.

1. Logon to SAP server

2. Use Transaction Code SM59

3. On SM59 screen click on “Create” button

4. On the new screen, give RFC destination name – Name by which the connection would be identified

5. Give Connection Type ( 3 for any SAP to SAP communication ) F4 Help will list down all possible types    
     of connections.

6. Give Description for the RFC Connection – Generally the purpose of the connection is mentioned here.

7. Click on SAVE

8. Give IP address/Host name and system number for destination server in Technical  Settings tab.

9. Click on SAVE

10. Use “Test Connection” to check RFC.

11. If Trusted RFC connection is required, give user credentials in “Logon/Security” tab.



Tips and Tricks

Tips and Tricks
This space is for those bits of information that can save you a lot of time and trouble and usually are hard to find in the documentation.

1. Problems with username/passwords while setting JCO's?... try with the password in UPPERCASE.

2. Going home in a hurry? Use transaction /nex to close all your sessions at the same time in    specific 
     application server you are logged-in       

3. In an R/3 screen, use %pc to download any Tcode full page in any format you want.(.htm, .txt etc). Also
    use Tcode /nSO21 to specify the default download location (this is very useful as saving all files to the 
    sapworkdir can be little annoying at times) 
   
4. Show Work Process usage over time by running SM50 -> List -> CPU. This shows CPU usage in 
    minutes since startup. If all of your DIA WP's show time, then consider adding more.

5. If you want to select text on your SAP screen and if you are not able to do it. Use Ctrl+Y and then you 
    can select text. 

6. To access history of Tcodes used, click on the Tcode command field and use UP and DOWN arrow 
     keys.

7. To display the checked object when not authorized call transaction SU53. It reports the last objects
     verified and also the respective values. Incase missing authorization through pop-up then close it (click 
     cross mark) instead of continue it. Then run SU53 immediately either in same session (/nSU53) or in new
     session (/oSU53)

8. Use ctrl+? To go to the Tcode command field on SAP screen.

9. Enter /i on Tcode field to delete the current session.

10. Enter /nend to cancel all SAP sessions and log off.

11. Use ALT+F+W and ALT+F+U in SAP Easy Access Screen to download and upload the user
       favorites within/across systems.   
      
12. To send a SAP message to another person use Function Module TH_POPUP from transaction SE37.

13. Ctrl & + to open new SAP session

14. ctrl+shift+F8 System Administration information.

15. ctrl+shift+F8 Manual entry of Transaction Code.

16. ctrl+shift+F5 Create folder in Favorite list.

17. ctrl+shift+F7 Add additional object

18. ctrl+shift+F12 Direct go to Role maintenance

19. Change application server in SM51 by double clicking on application server you want to get in.

20. ALT + F12 Calls the menu pop up for Customizing of local layout.

21. CTRL + Shift + P Makes a Hard copy which shows no menu pop up and can also contain status texts 
      and modal pop ups.

22. CTRL + / Cursor jumps directly to the OK-Code field.

23. CTRL + I Cursor jumps to the first focusable field or control.

24. CTRL + ; Creates Sap shortcut.








The Difference between SAP_ALL and SAP_NEW profiles


Most of the times you might have question in your mind that why you give sap_all and sap_new every time we create admin user (Although some people used to give sap_all to everyone).So here i am sharing my knowledge about difference between these 2:

SAP_NEW:-
SAP_NEW is a SAP standard Profile which is usually assigned to system users temporarily during an upgrade to ensure that the activities and operations of SAP users is not hindered, during the Upgrade. It contains all the necessary objects and transactions for the users to continue their work during the upgrade. It should be withdrawn once all upgrade activities is completed, and replaced with the now modified Roles as it has extensive authorizations than required.


SAP_ALL:-
SAP_ALL is a SAP standard profile, which is used on need basis, to resolve particular issues which may arise during the usage of SAP. It is used by Administrators/Developers only and is applied on a need to use basis, then withdrawn. It contains all SAP system objects and Transactions. SAP_ALL is very critical and only SAP* contains SAP_ALL attached to it in the production system. No other dialog users have SAP_ALL attached to them.

SAP_NEW is used in the Production environment during a version upgrade whereas SAP_ALL shouldn't be or not allowed be used in Production except where necessary, in a controlled manner with all proper approvals from the customer. 

How to "kill" a work process


How to "kill" a work process

    Stopping Run-Away or “Bad” Work Processes
1. Log on to any client in the appropriate SAP system.
2. Go to transaction SM50.
3. On the Process Overview screen, find the process which must be stopped. Place a in the   to     the left of the process number to be stopped by pressing Space. On the top-most menu bar, click the Process Cancel without core.
4. Click the blue arrow circle picture-icon to refresh the Process Overview screen until the stopped process has cleared from the display.
5. You may now leave the SM50 transaction.

If this does not kill the process, 
you can go to transaction SM04 and kill the user’s session. 
If this does not kill the process, 
you can log on to the server, open a Task Manager session, and End the Process. 
If this does not kill the session, there is an executable in the RUN directory on the server called sapntkill.exe. Run it providing the process ID number. If none of the above work, you have no choice but to “bounce” the SAP instance and or possibly the server.

Basic Understanding Regarding to Spool


Basic Understanding Regarding to Spool
Explain on Local Printing, Remote Printing and Front End Printing.
Concept of logical server and SAPLPD.
Tcode: SPAD

 Local Printing means that your spool server (R/3) and print manager (OS) are running on the same machine and the printer is connected locally or via network connection to the Print manager (OS).
Access Method for local printing:
C: Direct operating system call - for windows
L: connect locally via lp/lpr with signal - for UNIX

Remote Printing means that your spool server (R/3) and print manager (OS) are running on different machine and the printer may be connected locally or via network connection to the print manager (OS).
Access Method for Remote printing :
U: Print on LPDHOST via berkeley protocol - for windows and unix
S: Print on LPDHOST via SAP protocol - for windows
Front end printing means that printer is connected to the front end system. There is no need to define the printer on the SAP system.
Access method for front end printing:
F: Print on front end (locally) via SAPLPD
Logical Server is mapped to the physical server or another logical server. These servers are used for load balancing purpose.
SAPLPD daemon is an interface between Spool server (R/3) and Print Manager (OS). When using the access method U,S and F this daemon program should be running on the print manager (OS) (in case of U,S) and on the front end system (in case of F). 

Monday, 4 March 2013

SAP Solution Manager - SMSY


SAP Solution Manager - SMSY       

1. A user who has been assigned a profile SAP_ALL can work with SMSY?    (A)
           A.     True
           B.      False

2. T-code SMSY works on ECC systems as well? (A)
           A.     False        
           B.    True

3. Blue print configuration is done in? (B)
           A.      SOLUTION_MANAGER   
           B.       SOLAR02 
           C.     DSWP
           D.     SOLAR01
  
4. To generate Solution Manager key, we need to provide? (A,B & C)
           A.     Message server 
           B.     SID 
             C.     SNo 
           D.    SAP router string

5. Which of the following can be done using t-code SMSY alone? (D)
           A.     Transport change requests     
           B.     Client copy
           C.     Creating a new project
           D.     Creating a new logical component 
                
 6. The name of the server created in the video demo is? (B)

           A.     UWIN-Pro  
           B.      UWIN Pro 
           C.     UWI
           D.     UWINPro  
  
7. Non-SAP servers can be added using SMSY? (B)
          A.     False
            B.     True 
        
8. Which of the following can be created with assistant? (B)
           A.    Logical components       
           B.     Product systems        
           C.    Databases
           D.    Servers    
  
9. To create a project, which of the following t-code is used? (C)
           A.     PROJECT-ADMIN 
           B.     SOLAR01
           C.      SOLAR_PROJECT_ADMIN
           D.     SOLAR02   

10. The following can be created with SMSY? (A,C & D)  
           A.     Product systems        
           B.      Message server
           C.     Databases
           D.     Servers     

Basis Interview Questions


1. 
What are common transport errors?
A. 
Return code 4: indicates imported ended with warning.
Ex: 1. Generation of programs and screens
       2. Columns missing and Rows missing.
Return code 8: indicates not imported ended with error.
 Ex: 1. Syntax error.
       2. Program generation error.
       3. Dictionary activation error.
       4. Method execution error.
Return code 12: indicates import is cancelled.
 Ex: 1. Import is cancelled due to object missing.
       2. Objects are not active.
       3. Program terminated due to job RDDEXECL Is not working.
Return code 16: indicates import is cancelled.
Ex: 1. Import cancelled due to system down while importing.
      2. Import cancelled due to user expires while importing
      3. Import cancelled due to insufficient roles.
2. 
How you will do client copy? If SAP * user is not available at all in your system then how u will do client copy?
A. 
Just go to RZ04 and increase the number of background processes in the specified operation mode. We do a system copy using SCCL transaction.
If SAP* is not available,
login at OS level as SIDADM and
sqlplus /nolog connect /as sysdba;
delete sapsr3.usr02 where mandt='' and bname='SAP*';
go to /usr/sap/SID/SYS/profile and change the default profile.
Add the parameter ogin/no_automatic_user_sapstar=0
                                                 (0R)
go to RZ10, select default profile and extended maintenance and change.
add the parameter ogin/no_automatic_user_sapstar=0
3. 
How to schedule background jobs at OS level?
A. 
Invoke a sapevent using a OS script and then have a SAP background job set to run on a sapevent. I say this assuming Unix and a job in crontab. I would guess the same thing could be done on a Windows system. sapevt TRIGGER_NAME -t pf=d:usrsapDEVsysprofileDEV_DVEBMGS00_SVRNAME nr
4. 
What is the full name of SAP Default user DDIC?
A. 
DDIC stands for DATA (D) DICTIONARY(DIC)- DDIC
5. 
What is supplementation language?
A. 
Use the language supplementation function to fill in the gaps in a language that has not been translated completely.
Supplementation actions are client-specific. The languages are supplemented in the client in which you are logged on.
If you use multiple clients, you must supplement the languages explicitly in each production client.
You can also access the texts stored in cross-client database tables from all clients simultaneously. The default setting specifies that cross-client tables are supplemented when you are logged on to client 000.
6. 
How to define Logon groups? And what is Logon load balancing?
A. 
Logon group are set using SMLG transaction. Load balancing: During the request message server check for the least loaded instance in the group and route the request to that instance. If instead of logon group we specify the instance then the request is routed to that instance only. Means no load balancing occur in this case.
7. 
What is the difference between Synchronous and asynchronous transports?
A. 
Dialog or batch process is blocked until import has ended in synchronous transport. Dialog or batch process is released after import is started in asynchronous transport.
8. 
How to know whether a system is Unicode or non Unicode?
A. 
Through sm51 t-code we can see whether it is unicode or not. in sm51 t-doe we can find the release notes button in the application tool bar if u click on that u can see the total information like database, os, kernal version and unicode or non unicode.
9. 
What is Consolidation route and delivery routes?
A. 
The route between development to quality is called consolidation route. The route between quality to production is called delivery route. It is used to transport data devqua prod.
10. 
What is Transport domain and Domain controller? What is Consolidation route and delivery routes? How to define Logon groups? And what is Logon load balancing? What is Transport domain and Domain controller?
A. 
consolidation route : consolidation route is defined between the development system ( consolidated system ) and the quality system (integration system ) Delivery route : Delivery route is the transport route that connects the integration system and the Delivery system ( Production system ) Defining Logon Groups : we can do this though our GUI and always make sure that saplogon.ini is backed up , that consists of all the logon data Logon Load balancing : It is used to identify the least loaded application server Domain controller : it is the central admin of the system transport domain : it is the place the transport layer and routes can be configured to access this transaction use stms.
11. 
Could you explain the transport steps procedure?
A. 
Go with t-code 'stms' then 'transport overview' then create system either virtual or external for the quality system and production system, if development is showing there then create only qua & prod but if development is not there, then go with client '000' and login with sap*, then 'stms' and create from here all the three, and do according to the above procedure and after making all three go through 'transport routs' then configuration, & then three system in a group, now give the name of three group, and save it and activate it throughout the system. Now transport management system is configured.
12. 
How many transport request types are there?
A. 
Four types of transport requests
           1. customizing request
           2. Workbench request
           3. transport of copies
           4. relocation
13.
I have t-code su01 in CRM and r3 in a financial org. I can create sap ids, unlock /lock sap ids, assign t-code, roles & assignment to users. What else can be done?
A. 
SU01
1. You can reset the passwords to the users.
2.Lock/Unlock the passwords
3.Role assignments/Deassignments
4.You cannot add transactions to user, only we can add transaction to role
5.we can restrict the validity period to roles
14. 
What are the .sca files and their importance?
A. 
    .sca stands for SAP Component Archive.
    .sda for SAP deployed Archive.
These two are same and it use to deploy the java components, patches and other java developments in the form of .sca, .sda, .war and .jar.

15. 
How to install multiple Central Instances on the same physical machine?
A. 
Create a separate the file system and SAP mount points for each CI under the folder for which installation is going to be done and start the installation.
16. 
What is supplementation language?
A. 
The default languages for newly installed system are German and English. SAP support many other languages. Any other language except English/German may not fully translated. To fill this gap supplement language are installed on the SAP system. Supplementary Language: It is the additional language (program) installed on the SAP system when additional language which is not fully translated to the basic language of SAP (English/German)
17. 
How to increase tables space, resizing, backups and in what situation are these done?
A. 
Brtools are use to Perform all the database related task in sap. Always use adm or ora user to access Brtools.
18. 
What is SAPS?
A. 
The SAP Application Performance Standard (SAPS) is a hardware-independent unit that describes the performance of a system configuration in the SAP environment. SAP standard application workbench which is used to measure CPU. Like a standard CPU of 1.6 GHz produces 800 to 1000 SAPS.
19. 
Name some drawbacks of SAP?
A. 
There are many benefits to implementing an integrated solution such as SAP. Commercial benefits would include having a single source for your financial information. Capturing your business transactions in one location allows you to easily review inventory, customer and vendor activity. On the technical side, a solution on a single platform will enable easier maintenance and support, reducing costs. Having a consolidated system means fewer interfaces to support. By having a single system of record your human resources will become familiar with terminology associated with this data and the standard processes. This may improve communication and create a work force that is easier to transfer between roles. Any drawbacks to such a solution would depend on the amount of restrictions you choose to place on your environment. New business solutions may have to fit within the current system, technology must be compatible and human resources must adapt to handle data in certain standard processes.
20. 
Where to check for system logs of Sap application at os level?
A. 
The system Logs of SAP Application at OS Level can be checked at SAPMMC SAP Systems SID Syslog.
21. 
How can I check the user login details activity in a month?
A. 
Through SM20 we can check the user login details
22. 
What is the importance of the clients 000,001 and 006?
A. 
000 is also called as Master Client or Golden client. It contains cross client data & Companies Hardware configuration, Patches, Add ons Plug ins Etc 001 is the copy of the Master Client. 066 is called as Early Watch Client. If there is any problem with the SAP system then the early watch client throws the alerts.
23. 
How to transport users from one client to another?
A. 
1. Go to T-code SCC1
2. Choose the Source client from where the Users to be transferred to other client
3. Chose the SAP_USR profile
 4. Transport request NO. is generated
5. Release the Transport request and export
6. Import the transport request into target system
24. 
Which kernel version, and patch version and now in real time we need to apply?
A. 
The kernel version which we are running in real time is 620.You can upgrade it to 640 in case you are going for SAP Upgrade or else 620 is good enough.
25. 
What is the significance of ODS in BIW?
A. 
An ODS Object serves to store consolidated and debugged transaction data on a document level. It describes a consolidated dataset from one or more Info Sources. This dataset can be analyzed with a BEx Query or InfoSet Query. The data of an ODS Object can be updated with a delta update into InfoCubes and/or other ODS Objects in the same system or across systems. In contrast to multi-dimensional data storage with InfoCubes, the data in ODS Objects is stored in transparent, flat database tables.
26. 
What is the difference Between Role and Profile?
A. 
Profiles are the component of the older SAP releases, this was not replaced in the newer versions but a new layer was placed above Profiles, Roles. Profiles are therefore a subcomponent of Roles, they have a one too many relationship where when authorization objects overflow one profiles limit it will create a second profile for that Role and so on. Roles are logically assigned to users to give the newer functionality of Roles (Menus etc), but profiles are assigned to give the authorizations.

27. 
What is the standard program to check the consistency of partner profiles?
A. 
RSECHK07
28. 
What are the current kernal patch level and current support patch level?
A. 
For ECC6 SAP KERNEL 7.00 32-BIT ORACLEWindows Server on IA32 32bit, the patch level is 33 Support Patch levels Basis patch level 15 ABAP Patch level 15 APPL Patch level 12
29. 
What are homogeneous copy and heterogeneous copy and how you will do that? How to import the OSS notes? What is OCS how to apply OCS patches? ABAP service pack level can found in SPAM, but how to find the java stack level?
A. 
Homogeneous copy is done when the source and target system are on the same OS and Database. Heterogeneous Copy is done when the source and target system differ either in OS or Database. Any ONE difference needs a heterogeneous copy. Homogenous copy is done by export/import technique. Heterogeneous copy is done by system migration. It is same as export/import except that it will ask for target OS and DB type and needs a key to be entered. OSS notes are applied using T-code SNOTE. Java stack level can be found at http://hostname.domain.com/500 go to system info to find the java stack level.
30. 
What is the procedure to lock a client?
A. 
There is no direct t-code to lock a client. The easiest way to lock a client is
1. Run t-code SE37
 2. Type function module name - SCCR_LOCK_CLIENT
3. Enter the Client No.
4. Execute the function module.
31. 
How to transport from uses from one client to another?
A. 
First export the objects for transport from the table AQLDB to the transport table AQTDB. This creates a transport request for the transport system that includes all entries created by the export from table AQTDB (transport dataset). The request covers all the entries from table AQTDB (transport dataset) generated by the export and has a name which corresponds to transport system conventions (sysKnnnnnn). In the table AQTDB, the transport dataset is stored under a key which matches the name of the transport request. If you are transporting within one SAP system (that is only from one client to another), you can also import the transport dataset from the target client. In this case, you use the name of the transport request which is specified during the export and matches the key of the transport dataset in the table AQTDB. During this import, the system reads the transport dataset from the transport table AQTDB into the table AQLDB. At the same time, it performs numerous checks which ensure that no inconsistencies occur in the table AQLDB.
32. 
What is SAP R/3?
A. 
SAP R/3 is SAP's integrated software solution for client/server and distributed open systems. SAP's R/3 is the world's most-used standard business software for client/server computing. R/3 meets the needs of a customer from the small grocer with 3 users to the multi-billion dollar companies The software is highly customizable using SAP's proprietary programming language, ABAP/4. R/3 is scalable and highly suited for many types and sizes of organizations. The R/3 architecture is comprised of application and database servers. The application servers house the software and the database servers handle document updates and master file databases. The system can support an unlimited number of servers and a variety of hardware configurations. SAP R/3 is based on various hardware and software architectures, running on most types of UNIX, on Windows NT and OS/400.
33. 
What is WF and its importance?
A. 
Business Work Flow: Tool for automatic control and execution of cross-application processes. This involves coordinating the persons involved, the work steps required, the data, which needs to be processed (business objects). The main advantage is reduction in throughput times and the costs involved in managing business processes. Transparency and quality are enhanced by its use.
34. 
How can I create a new client?
A. 
Run the SCC4 and create new client in any SAP server.
35. 
What is the importance/need of Virtual system?
A. 
The significance of Virtual system is that. Without VR all the request generated buy user will be local and local request cannot be imported / transported to other system. So always create a VR system so that all the development can be transported to the other system. When u will create VR system u can c transport at OS level cofile /data file.
36. 
What JAVA tools to install JAVA Patches?
A. 
SAP Installer (SAPinst.exe) is used to apply the Java patches.(The program is used to install Instance as well as ABAP instances by choosing different option)
37. 
How can we create a Z authorization object and what the procedure and the T-code for the same?
A. 
T-codes for Creating z authorization object - su20,su21.
su20 - create the authorization field list.
su21 - Create a object class, include the added authorization object. select the tcode assignment and assign to the needed tcode.
Go to the User profile and add the object manually give the authorization.

38. 
What is BEx?
A. 
BEx (Business Explorer) is the reporting tool used to work with data in the BW database. BEx has a Web-based user interface and is made up of two components, the BEx browser and the BEx analyzer. The BEx browser provides an organized interface where a user can access and work with any type of document assigned to them in the Business Information Warehouse, such as workbooks, links, and BW Web reports. The BW database itself is segmented into discrete data areas called InfoCubes that are made up of data and associated metadata. The BEx analyzer allows the user to examine segmented data in a variety of useful combinations, for example when comparing financial data for different fiscal years.
39. 
Explain the concept of Business Content In SAP Business Information Warehouse?
A. 
Business content is a set of pre-configured set of roles and task relevant information models based on consistent metadata in the SAP business information warehouse. Business Content provides selected roles within a company with the information they need to carry out their tasks. The information models essentially contain roles, workbooks, queries, Info Sources, InfoCubes, key figures, characteristics, update rules and extractors for SAP R/3, mySAP.com Business Applications and other selected applications.
40. 
What is the relevance of the Deletion Flag/Indicator in the archiving process?
A. 
Deletion Flag is for running the delete program.
The sequence for archiving is:
1.      Data declaration component
2.      Customizing settings
3.      Programs
a. Write
b. Delete
c.  Read After write program is executed (Where we select write indicator) we schedule/execute Delete program by choosing this indicator In-short, this indicator signify the program which has to run.
41. 
What SAP tools you use to install SAP patches?
A. 
SPAM is the sap tool used to install sap patches But if patches is less then 10MB at that time you will Run transaction SPAM, if patches greater than 10 MB at that time you have to uncar by using SAPCAR File name and after UNCAR put the file in /user/trans/directory.
42. 
Can SAP patches be installed when other users are online?
A. 
No, We can’t do this because there will be some programs and tables which will get updated when applying support packages. if some user is using that program or table then the support package manager will not be able to update and it will terminate with dump. So it’s better to apply support packs when there are no users login into system. Performance will also be better if there is no users login into system.
43. 
How to monitor user accessed transactions (Tcode) day wise?
A. 
The transaction codes to monitor user accessed transactions are as follows : ST01, ST05. By putting the trace on we can find what are the various activities performed by the user along with the missing authorizations of a particular user.
44.
Why do you usually choose to implement SAP?
A. 
Because sap has so many advantages to others, like :-
1. Sap is componentized (summation of moduled).
2. Software & hardware independent.
3. R/3 architecture.
4. Own programming language (abap)
4-generation.
5. Supports at different level are also.
 6. Sap is able to fit easily into any size of company.