Showing posts with label saps. Show all posts
Showing posts with label saps. Show all posts

9/06/2017

HOUSE KEEPING / PERFORMANCE TUNING ACTIVITIES IN SAP BW SYSTEMS

In many BW Projects, we have seen Basis team and the BW consultants searching around for tracing the regular and best housekeeping options and activities provided by SAP for improving the performance of BW Production servers.
I have made an attempt to summarize and mention most of the BW House Keeping activities under a single umbrella.
Basically, I have divided the activities into 4 parts namely General monitoring, System health monitoring, Performance related monitoring and Occasional activities along with some pure basis activities in the fourth part.
Part 1 can be found here –> http://scn.sap.com/docs/DOC-46602
Part 2 can be found here –> http://scn.sap.com/docs/DOC-46844
Part 3 can be found here –> http://scn.sap.com/docs/DOC-47062
Applies to:
SAP NetWeaver Business Warehouse (formerly BI). This will also work on SAP BI 3.5 and BI 7.0.
Other popular articles from the same Author:
  1. Points to be considered while integrating BW Bex queries with BO WEBI  –> http://scn.sap.com/docs/DOC-35444
  2. SAP BW 7.3 Promising Features –>  http://scn.sap.com/docs/DOC-30461
A) Occasional Monitoring Activities:
1) Infocube Indexes:
Transaction Code –> RSA1, Manage (of Info cubes)-Performance tab
• Indexes are data structure sorted values containing pointer to records in table.
Indexes are used to improve data reading performance / query performance improvement but decreases data loading/writing performance .We delete/drop them during the data loading to data target and create again after loading finished. Its recommended to include them while designing the process chain. In process chain, before loading the data to cube use the delete index process and load the cube and create index.
• Use transaction RSRV (and RSRVALT) on a regular basis to check Infocubes. Most importantly tag ‘Database’, option ‘Database indices of an infocube and its aggregate’ to check the health of the cube.
• Using the Check Indexes button, you can check whether indexes already exist and whether these existing indexes are of the correct type (bitmap indexes).
Yellow status display: There are indexes of the wrong type
Red status display: No indexes exist, or one or more indexes are faulty
You can also list missing indexes using transaction DB02, pushbutton Missing tables and Indexes under the Diagnostics folder.
• If a lot of indexes are missing, it can be useful to run the ABAP reports SAP_UPDATE_DBDIFF and SAP_INFOCUBE_INDEXES_REPAIR.
2) Temporary tables:
• Run frequently or schedule ABAP report ‘SAP_DROP_TMPTABLES’.   
Remove temporary database objects SAP
• Run frequently or schedule ABAP report ‘RSAN_RTT_CLEAR_TEMP_TABLES’
Delete temporary tables created by analysis process
• Run frequently function module ‘RSDDS_CHANGERUN_TMPTABLS_DEL’
test function module
3) Unused database partitions:
Tools: ABAP ‘SAP_DROP_EMPTY_PARTITIONS’.
• Remove unused and empty partitions in the F- table of Infocubes using the ABAP ‘SAP_DROP_EMPTY_FPARTITIONS’. See note 430486 for further details.
Locate remove unused or empty partitions of F fact cube
4) Log files:
Tools: ABAP ‘SBAL_DELETE’, ‘RSTBPDEL’, ‘RSSM_ERRORLOG_CLEANUP’.
Remove old application logs from the Database.
• Run periodically ‘SBAL_DELETE’ to remove old application logs(see note 456150)
• Run periodically ‘RSTBPDEL’ to remove old database logs(see note 706478)
• Run periodically ‘RSSM_ERRORLOG_CLEANUP’ to remove old error logs(see note 456150)
5) Archieving:
Transaction Code  –> SARA, ABAP ‘RSEXARCA’ (See notes 643541 and 653393 for more details).
Without archieving, unused data is stored in the database and the DSO’s and Infocubes can grow unrestricted. This can lead to deterioration of general performance.
The benefits of BW archieving include:
• Enables you to archive data from InfoCubes and ODS objects and delete the archived data from the BW database. This reduces the data volume and, thus, improves upload and query performance.
• Reduction of online disk storage.
• Improvements in BW query performance.
• Increased data availability as rollup, change runs and backup times will be shorter.
• Reduced hardware consumption during loading and queries.
6) Delete PSA data:
Transaction Code –> RSA15
• Determine a retention period for data in the PSA tables. This will depend on the type of data involved and data uploading strategy. If PSA data is not deleted on a regular basis, the PSA tables go unrestricted. Very large tables increase the cost of data storage, the downtime for maintenance tasks and performance of the data load.
7) Delete change log data:
• For change logs, the deletion can be done from DSO –> Manage –> Environment –> Delete change log data.
SAP BW guide
Deleting change log data
Please note that only already updated change log requests can be deleted and after deletion a reconstruction of requests for subsequent data targets using the DSO change log will not be possible.
8) Delete DTP temporary storage:
This task is only relevant for BI 7.0/7.3.The DTP can be set up from the temporary storage in case of problems.
The deletion of temporary storage can be set from DTP maintenance –> Goto –> settings for DTP Temporary storage –>Delete temporary storage.
SAP BW blog
sap bw display data transfer process
Here you can choose for each DTP:
• For which steps you want to have a temporary storage.
• The level of detail for the temporary storage.
• The retention time of temporary storage.
9) Compression:
Transaction Code –> RSA11
• Info cubes should be compressed regularly (See notes 375132,407260,590370 for more details). Uncompressed cubes increase data volume and have negative effect on query and aggregate build performance. If too many uncompressed requests are allowed to build up in an infocube, this can eventually cause unpredictable and severe performance problems.
B) Pure Basis Activities:
SAP BW basis activities
1) Apply SAP notes / SAP service and support packs / add-on’s:
Transaction Code  –> SNOTE, SAINT, SPAM
• Implement a SAP note on demand.
• Implement SAP service packs on demand. Normal practice is that this will happen twice a year. More frequent if the BW version is rather new and the service packs comes out more frequently, lesser when the BW version is at the end of its life cycle.
• Implement BW add-ons on demand.
• To keep the system up to date, SAP recommends implementing support packages and / or patches into the system landscape on a regular basis. This should prevent already known and fixed bugs affecting your business and you can make use of product improvements. To guarantee an optimal level of support from SAP side, the system has to have an up-to-date status.
• Corrections for BW (front-end, server, plug-in or add-on) are only made available in the before mentioned support packages. With the expectation of individual cases, no description of the correction (table entries, coding) is given in the notes. In general, SAP does not carry out corrections directly in the customer system. It is recommended to apply support package stacks ,which are usually delivered quarterly.(see http://service.sap.com/sp-stacks) 
2) BW upgrades:
• Upgrade the BW system on demand.
3) Transport:   
Transaction Code  –> STMS
• Import transports to the system on demand.
4) Client copy activities:
Transaction Code  –> RSA13. Restore Source system.
• After a client copy of a connected source system, the connection needs to be restored.
5) Data base and Kernel settings:
Transaction Code  –> RZ10
• Reevaluate the SAP Kernel and Database settings on a yearly basis.
Related Content:
1) How to optimize Reporting Performance
2) Guide to perform efficient system copy for SAP BW Systems
3) Periodic Jobs and Tasks in BW
4) House Keeping activities for Archiving in BW systems
5) House Keeping Task List
6) BW House Keeping and BW PCA

Connect SAP Diagnostics Agent to Solution Manager using SSL

Перейти к концу метаданных
    The aim of this wiki is to help in enabling the configuration to connect the Diagnostics Agents to the Solution Manager 7.10 using SSL, as described in note 1898685. Actually, the focus is narrowed down to prerequisite #2 of step #2, described in the same note.

This configuration is not valid for Solution Manager 7.20.

Prerequisites

The prerequisites are the deployment of the IAIK libraries in the Diagnostics Agent, as described in note 1898685  and the SSL configuration for the Solution Manager Message Server and P4 ports.

Solution 

Configure transport layer security on Solution Manager JAVA Stack

The configuration of the Solution Manager Java Stack to enable secure communication is described in detail in the following guide: 
The following setup step needs to be performed to enable secure communication on the Solution Manager Java stack:
Configure SSL on AS Java:
  1. Create SSL Credentials: in the Visual Admin(/usr/sap/<SID>/DVEBMGS<xx>/j2ee/admin) of the Solution Manager, select the Key Storage, under Server > Services. Create new credentials or check the validity f the already available credentials for service_ssl:

    Detailed information and the how to guide is available under: http://help.sap.com/saphelp_nw70ehp2/helpdata/en/a6/98f73dbc570302e10000000a114084/content.htm.
  2. Assign SSL Credentials to HTTPS communication port: Access the SSL provider with the following path: Server > Services > SSL Provider. Select the configured HTTPS port (default is 5xx01) and assign the SSL certificate created in the previous step as "Server Identity".
     
  3. Assign SSL Credentials to the P4S communication port: Access P4 provider with the following path: Server > Services > SSL Provider. Select the configured P4S port (default is 5xx06) and assign the SSL certificate created in the frist sttep of this section as "Server Identity".

    Further documentation about SSL configuration for Solution Manager Java Stack is available in the following documentation:  http://help.sap.com/saphelp_nw70ehp2/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm.

Configure SSL on Message Server for Solution Manager ABAP and JAVA Stack

This section is relevant if you want to use MS HTTPS and P4S connection.
The executable directory of the message server needs the SAPCRYPTO libraries installed. For a message server running as part of Central Instance of ABAP stack this is already performed in step ”Install SAP Cryptographic Library and set Profile Parameters”. For Message Server on Java Central Service Instance (SCS) and ABAP Central Service Instance (ASCS) execute the same procedure. Also make sure a valid server identity is available in $DIR_INSTANCE$/sec that a valid SAPSSLS.pse. For simplification it is possible to reuse the server identity as created for the Solution Manager ABAP Stack.
Add the following parameters to the Central Services Instance Profile to enable Message Server HTTPS port:
ms/server_port_1 = PROT=HTTPS,PORT=444$$

8/30/2017

SAP Transport Management System Configuration Step By Step


I have 3 systems Production(SLP) Quality(SLQ) & Development (SLD) step by step i will tell you how to configure TMS for them


 Step 1- assign transport domain here I am assigning SLP as transport domain Goto T-Code STMS

Step 2- you will get popup, enter details as shown in below image in both boxes domain is SLP and then press Save



Step 3- you will get below screen after saving then press System Overview

Step 4- Click on update configuration 

Step 5- Click on Distribute & activate configuration

Step 6- select first option &click on Green tick

Step 7- Now Go to anther system which is Quality (SLQ) and hit STMS in SLQ elow popup will come their


Step 8-Click on other configuration

Step 9- enter target host as oup domain controller which is SLP in my case

Step 10- Click on Save


Step 11- you will get below screen with below message


Step 12- Now again goto STMS of SLP which is our domain controller to approve newly added system (SLQ)


Step 13- Click on system overview



Step 14- you will find newly added system which is SLQ in my case

Step 14- Click on newly added system and press approve


Step 15- Click on YES


Step 17- Click on Green tick

Step 18- you will find same status for both


Step 19- you will find same status for both means system is added successfully to transport domain

Repeat Step 7 to Step 18 to add third system which is SLD in my case

you will find below 3 system in System overview of SLP (Transport Domain ) after adding 3rd system (SLD)

Creating Transport Routes For TMS


Step 20- in transport domain controller  (SLP) Click on Transport Routes

Step 21-Click on Display Change

Step 22-Click on Change

Step 23-Click on Transport route editor

Step 24-Click on Hierarchical list editor and press enter

Step 25-you will find below screen

Step 26-Click on Display Change

Step 27-Click on Change

Step 28-Droll down Transport Layer by clicking on + mark


Step 29-Click on right click on transport layers and select create option


Step 30-enter transport layer name and description,  transport layer name should start with Z

Step 31- then right Click on transport route and select create option

Step 32-Select Consolidation and enter Development(SLD) & quality system (SLQ) and layer(ZABC) then click on green tick



Step 33-you can see both systems are added

Step 34-again right click on transport route and select create

Step 35-this time click on select delivery and enter quality (SLQ) and production (SLP) system and click on green tick


Step 36-you can see all 3 systems in transport route; now click on SAVE

Step 37-Give short description and enter

Step 38-Distribute & activate configuration

Step 39-your TMS is created  and active

SAP Basis Interview Questions

1. What are you roles and responsibilities in your company?
2. How you will do client copy?
3. If SAP* is not available then how u will do?
4. After client copy is table space and database sizes will be increased or not?
5. How to do client copy fast?
6. What are various profiles available for client copy?
7. How to do transport’s between Production and Development?
8. How to apply OCS Patches?
9. How to do client copy?
10. How to do transports from OS level?
11. Where the transport data files will be placed?
12. How to make security authorization reports?
13. In which table failed user login attempts will be there?
14. How to see the t able entry values?
15. How you will give new authorizations?
16. Have you participated in Kernel upgrading and OCS Patches?
17. Have you done any up gradations?
18. How to configure TMS?
19. What is transport domain?
20. What is Consolidation route and delivery routes? How you will identify them?
21. Transport error codes and their description?
22. The transaction should not be displayed in User Easy access menu. How to do user auditing in sap? What will u audit?
23. How to find users used transaction codes which are not authorized for?
24. How to schedule online and offline backup which takes every day, every week. How to monitor it
25. How will u send mail after completion of backup?
26. How will u integrate existing ecc6 environment into solution manager
27. What are the regular activities u do in solution manager and how
28. How to update SAP
29. How to lock or unlock a transaction code using sm01?
30. How to setup RFC connection in ecc6 tells me steps involved?
31. Tell me steps for support pack installation in ecc6?
32. If possible send me screenshot doc for installation of ecc6
33. Screenshot document for solution manager installation.
34. What is the database backup strategy in your company?
35. What is upgrade process? And how u will do that?
36. How u will give new authorizations?
37. How to adjust user master records? If user master record doesn’t adjust what will you do?
38. How to check Kernel, tp versions?
39. Briefly explain a recent problem you faced, which u felt proud by solving that? And how will u solved?
40. How you will rate yourself in SAP, Oracle from a scale 1 – 10?
41. What are common background jobs that will run in your system?
42. If a background job runs more than the time it should be completed normally then what actions will u take?
43. How to schedule background jobs at OS level?
44. How to add authorizations, how you will maintain profiles?
45. What are common transport errors and their codes?
46. Transport request types and its syntax?
47. Where will u find transport error logs?
48. How to do transport at OS level?
49. How to transport objects from Production to Development?
50. How to define instances and operation modes?
51. What are Homogenous system copy and Heterogeneous system copy and
52. How you will do that?
53. What is oracle Architecture?
54. At OS level in which directory oracle alerts are stored?
55. If a lock entry is holding more than 24 hours then what will you
56. Do? If another user wants to share that lock but the user using that
57. Locks haven’t released lock he went for holiday what will u do? This
58. User wants lock ASAP then what will u do?
59. What will you do if u got Update failure?
60. What will you observe in System log (SM21)?
61. How to increase tables space, resizing, backups and when will you do?
62. Various client copy methods and how you will do them?
63. How you will get help from OSS notes?
64. What is the need of having Development system?
65. Difference between Application server and Central Instance?
66. How you will check whether database is active or not from OS level?
67. How to lock a client? How to delete a client?
68. How to login in to SAP from command level?
69. How to define Logon groups? And what is Logon load balancing?
70. How to find sap transaction codes?
71. How to find list all the T codes for a role in sap?
72. How to lock or unlock a client a sap?
73. Find the oracle alert log?
74. How can I delete a data file that was created by mistake?
75. Which pools are resizable?
76. User could not logon to the system? Why?
77. How to change default client like 111?
78. What is difference between oracle 9i and oracle 10g?
79. What is the difference between pfile and spfile?
80. How to add datafile using brtools?what are steps?
81. If brtools is not working how you will add datafile?
82. If job is slow?
83. List of r/3 user types?
84. How to unlock the object?
85. Difference between SPAD and SPAU?
86. What is SSO? How to configure SSO?
87. How to check cpu usage in EP?
88. If java is down how you will do trouble shooting?
89. How to take back up on EP?
90. How to apply job on OS Level?
91. Difference between system refresh and client copy?
92. Where you have to see oracle parameter?
93. How database extend?
94. If table space auto extend size how to see the size?
95. Difference between RFC and Export and import?
96. What are steps for DB Refresh?
97. What are the Pre- requisite for system copy?
98. How to fiind if there are an expensive SQL statements running if yes, What to do?
99. A transport is imported into QAS in 2 min. time the same transport when imported into PRD is taking more than 20 min. why? What to do?
100. How do you solve oracle archive struck?
101. What are the table space names that you see in DB02?
102. What are the Parameters need to be set when connecting EP to r/3 system what are they?
103. TMS Configuration?
104. Do you have done System copy? What are the steps?
105. What are the DVD’s Download for implementation?
106. Difference between visual admin and configtool?
107. What is the difference between SDM and JSPM?
108. When support pack is stuck? What you do?
109. What are the errors you got while applying support pack?
110. Difference between SAPNote and Support package?
111. How you apply patches on java using JSPM?
112. Problem in SPAM taking lot of time? Why?
113. How you will define background job? Which job class used?
114. While applying support patch or importing DDIC will get stuck what you do?
115. If transport is imported or not where you will check?
116. Kernel upgradation procedure?
117. While doing implementation do you get any issues?
118. Where the log files are stored?
119. How many files to download for kernel upgrade?
120. What kind of ABAP dumps errors you faced and how to resolve?
121. During backup what kind of files you take?
122. Error in the phase import_proper while applying support packages?
123. If client copy is stopped in middle, what happens if you want to start it again?
124. How you will do client copy if sap* user is not available at all in your system then how you will do client copy?
125. What is transport layer and domain controller? In which system you have create domain control?
126. How you will find if table is over flow in DB?
127. How to applay support patches? Pre- requisites?
128. What are the types of tranports?
129. How do you troubleshoot transport problem?
130. If you have a long running job how do you analyze?
131. Difference between system copy and client copy?
132. How you connect ECC to EP?
133. What is redolog file? Path?
134. Where can I get a list of all transaction codes in SAP?
135. For ex: i scheduled one ABAP program as a background job but it was running 10 days, how to analyze the problem?
136. Applied basis support pack successfully when the system which is not updated in the system status? Why? How to resolve?
137. Where you monitor the PI messages?
138. What is the sequence order of instance profile?
139. What are the pre requisite for the SAP Installation?
140. How do you create control file? What is the command?
141. Difference between synchronous RFC and asynchronous RFC?
142. What are the activities you done in Oracle?
143. What is logical system?
144. Have you done load balancing?
145. What is the SAP Buffer hit ration?
146. What are the parameter file in oracle ? What is the use?
147. Difference between init.ora and listener.ora?
148. Have you done any parameter changes using configtool and visual admin tool?
149. What are the activities you done in EP?
150. How you create solmon key? Procedure?
151. Did you configure automatic mail send and receive? How?
152. How to know the status of saposcol in unix? How to stop and start?
153. How to find SAP up or not in Unix? What is the command?
154. How you find listener up or not in unix?
155. What is SLD and its usage?
156. If java server got strucked or stopped?
157. Where XML file is generated in solution manager?
158. How to add sap systems in solution manager? Steps?
159. How to find file system with size in unix?
160. To check if sap work processes are running?
161. To check if oracle processes are running?
162. Last step of kernel upgrade in unix Root.sh?
163. What is OPS$ mechanism?
164. Database related issues?
165. If Background job active long time ?
166. Difference between shutdown abort and shutdown immediate?
167. Difference between DB Verify and DB Check?
168. If user admin password forgot? What you do?
169. Type of client copies?
170. How will you do a local client copy? Just tell us up to the point where you monitor the progress. What if SAP* user is not available at all in your system then how u will do client copy?
171. What is the difference between R/3 and ECC?
172. What is the purpose of table USR02?
173. How can you tell if a transport is in the process of being imported?
174. Will a client copy transfer the background job schedules and all client dependent data?
175. How do you change five dialog work processes into batch. Where can you do this?
176. How to monitor user accessed transactions (T-code) on a given day?
177. How do you disable the “Import All” button on STMS for the queues?
178. How do you create a password exception list?
179. When you are Locking/Unlocking accounts what happens behind the scenes? Why is the good to know?
180. What are the functional modules used in sequence in BDC?
181. Where are t-code name and program values stored? How can I find a list of all the t-codes in the SAP system?
182. What is the purpose of table T000?
183. How would you estimate the client size?
184. Tell me two ways to check kernel, tp.exe version?
185. Users are complaining that the SAP system shows a hour glass for a long time at the time of logon and they aren’t able to log on to the system and users logged on are complaining of long delays going from t-code to t-code. How can you troubleshoot this problem if you can’t get to SM50 or SM66 or even logon? Why is this?
186. How would you import a transport request at operating system Level?
187. What is difference between sm50 and sm66?
188. What is “Hit Ratio”?
189. What is BEx?
190. What is your UNIX experience and the types of UNIX systems you have worked on.
191. Describe your last/current company’s landscape, similar to what you would find in STMS>Transport Routes.
192. What is swap?
193. Performance tuning?
194. What are the activities you do as a basis consultant in BI?
195. If you want check java stack level?
196. Client export/ import pre-requisite?
197. 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 you do?
198. Incase my sap system was down (users are unable to login to sap system) how to analyze this problem?
199. What are the activities you done in PI?
200. EWA configuration?
201. Oracle up gradation procedure?

Popular Posts