Friday, 12 December 2014

SAP BASIS Tips


Checks When SAP R3 is Very Slow

I'm using SAP R3 4.6C MS SQL 2000.  I have 190 users. I notice when users are log in during peak hours 9am -6pm SAP R3 is very very slow. I lately increase my DIA and BGD process but still same issue.
Check if there are long running jobs in the background during the peak times (SM50) or if users are running long running
transactions/big lists.
System performance cannot improve if Dia and Bck workprocess increased. In fact those itself will bring down the performance of the system.
* Do not allocate more the 2 bck process in peak hours
* Check if your hardWARE is adequately sized for these many users.
* Check for any jobs consuming more than 60% of you resource.
  ( STO6-DETAIL ANALYSIS-TOP CPU)
* Check if  there is any NETWORK COLLISION AT SERVER AND USER END.
* Rate of ARCHIEVE LOG SWITCH OVER .
* All USERS use SAME SERVER AT A TIME
* Even USER with ALL SUPER USER AUTHORISATIION can bring DOWN SYSTEM PERFORMANCE AT TIMES
* TRANSPORTS, providing AUTHORISATION and EXECUTING RESOURCE CONSUMING REPORTS TO BE AVOIDED at PRIME TIME.


What is the difference between unicode and nonunicode.  For what purpose it is used.

Unicode is a character encoding system similiar to ASCII. You can see the definiton for Unicode by Unicode consortium below.
 
Unicode is the universal character encoding, maintained by the Unicode Consortium.
This encoding standard provides the basis for processing, storage and interchange of text data in any language in all modern software and information technology protocols".  Unicode covers all the characters for all the writing systems of the world, modern and ancient. It also includes technical symbols, punctuations, and many other characters used in writing text.
The Unicode Standard is intended to support the needs of all types of users, whether in business or academia, using mainstream or minority scripts.
Most of the SAP implementations are done on Unicode system as it support all kind of languages, which is good for a company to expend their business. Another things is Unicode system requires 70% more storage area and processing speed to run the system perfectly.
There are systems like XI, which can work only on Unicode so it is always advisable to go for unicode then to non-unicode.

Regular Job to Purge Transactions Logs

You should re-organize (note 16083) the following data at regular intervals. When doing so, use the following job names as they can be used to check if the jobs have already been active in your system: 
Administration Data for Background Jobs
  • Program: RSBTCDEL
  • Re-organized tables: BTC*
  • Path for accessing files: /usr/sap/SID/SYS/global/<client>JOBLG
  • Job scheduling: Daily (with variants)
  • Recommended job name: SAP_REORG_JOBS
Spool Data and Administration Data for Spool Jobs
  • Program: RSPO0041
  • Re-organized tables: TSP*
  • Path for accessing files: /usr/sap/SID/<instance>/data
  • Job scheduling: Daily (with variants)
  • Recommended job name: SAP_REORG_SPOOL
Administration Data for Batch Input
  • Program: RSBDCREO
  • Re-organized tables: BDC* and APQ*
  • Path for accessing files: /usr/sap/SID/SYS/global
  • Job scheduling: Daily (with variants)
  • Recommended job name: SAP_REORG_BATCHINPUT
Runtime Statistics for Background Jobs
  • Program: RSBPSTDE
  • Re-organized tables: BTCJSTAT*
  • Path for accessing files: Not specified
  • Job scheduling: Weekly (with variants)
  • Recommended job name: SAP_REORG_JOBSTATISTIC
Question about Go Live Check

What's Go-Live Check?
Who's responsible for Go-Live Check?
What should we prepare before Go-Live Check?
How many times for Go-Live Check?(I mean that Go-
Live Check seperate into how many steps/types such as 3 times for 1 Month before Go-Live, 2 Weeks before Go-Live
and 2 Weeks after Go-Live etc.) What's recommend schedule for each time?
How can we proceed Go-Live Check?
You have to open a message in component XX-SER-TCC to find out if your installation is scheduled for a Go-Live check which is conducted by SAP and it’s partners.
Go-Live Functional Upgrade Analysis – ideally 6 months before Golive – basically checks your hardware requirement , will it be able to accommodate the increase in the functionalities caused by the Go-Live, also some parameter recommendations to fine-tune your system.
Go-Live Functional Upgrade Verification – This is normally 2 months after the Go-live which is to see e’thing is fine after the upgrade.
Then you have normal Earlywatch session , each installation is entitled for 2 free earlywatch session in a year, in this performance tuning is done for your system, hardware,memory, I/0 bottlenecks are identified.
Reports of all these sessions carried out by SAP is then sent to you in form a MS-Word document and you can follow the guidelines mentioned and call up SAP or mail the person who has done the session for you for any clarifications.
Usually once a session is scheduled.
SAP will contact you to open the connections for them, so that they can prepare the system before the actual session takes place , in which they see , if SDCC version is good enough so that they can download the data from your system into their internal system on which they carry out the analysis, see if SAPOSCOL is running and enough history data is there in ST03n for them to carry out reasonable analysis. If e’thing is set a download is scheduled on your system using SDCC for a day prior to the actual session , and on the day of the session you open the connections for them again and provide them with userid and password normally it is earlywatch in 066 client.

Perform a Consistency Check and Clean Temse Directory

I'm having problems with the STMS on the Development Box, from the look of things I need to clean the temse directory. What sought of routine can I perform as clean up routine regarding the same.

----------------------------------------------------
This is the procedure clear and tests the consistency of temse objects in case of 3.1I.
 
So first execute SPAD, where click on the consistency check button.

- this will display a list of objects. check to see the whether objects other than current day is displayed.
 
- then go SP12, here click on temse database button, where there is again consistency check.
 
- after the consistency checks are over, click on temsedatabase button, select reorganisation,
 
- here select the radio button that shows "delete all objects older than".  Here enter the value and click on tick mark.
 
- this will display the number of objects. then delete it.
 
That's all the procedure.

SAP SUPPORT PATCH UPGRADE

SAP SUPPORT PATCH UPGRADE
SUPPORT PATCH
From time to time SAP does modifications to the various objects of its R/3 software and makes the modifications available to the customers in form of support packs and CRTs. Customers are required to check for the latest updates on the changes being made by SAP to its software and accordingly apply them at their installations. The support packs and CRTs are made available by SAP on their mySAP.com Marketplace site (earlier known as SAP Net).
The following is procedure to show you step-by-step process of applying different support packages into your system.
  • It is always advisable to first verify the SPAM/SAINT version in the system.
  • If you do not have, download the latest SPAM/SAINT package.
  • There are certain support packages, which require certain level of SPAM/SAINT. For such packages, you first have to update the SPAM/SAINT
  • SPAM/SAINT update and support packs are applied through Transaction code SPAM.
  • The SPAM/SAINT updates and support packs files are .CAR (compressed archive) files, which need to be unpacked. Each CAR files is an archive of two files.
  • Supports packs for Applications area (i.e. changes made to the objects of various functional modules of SAP) are also known as HOTPACKS
Purpose
  • A Support Package is a quantity of corrected SAP objects. Support Packages Are required to correct errors in various components. This is done by replacing erroneous objects with corrected versions of these objects.
  • Each software component has a separate sequence of Support Packages. The following list contains the technical names of a number of components and the notation for their Support Packages:
  • COP (Component Package)

SAP_APPL (SAP R/3 Support Package)
Naming conversion of SAP_APPL is SAPKH

SAP_APPL Stands sap application platform
SAP_BASIS (Basis Support Package)

Naming conversion of SAP_BASIS is SAPKB
SAP_BASIS Stands sap basis component

SAP_ABA (Application Interface SP)
Naming conversion of SAP_ABA is SAPKA

SAP_ABA Stands sap cross application component
SAP_HR (SAP R/3 HR Support Package)

Naming conversion of SAP_HR is SAPKE
SAP_HR stands human resources

SAP_APO (APO Support Package): SAPKY
SAP_BW (BW Support Package): SAPKW

SAP_CRM (CRM Support Package): SAPKU
SAP_SRM (SRM Support Package): SAPKU
SAP_SEM (SEM-BW Support Package): SAPGKS
Requirement of Support packages
  1. A support packages is a quantity of corrected SAP objects.
  2. Support packages are required to correct errors in various components. This is done by replacing erroneous objects with corrected versions of these objects.
  3. Each software component has a separate sequence of Support Packages.
Prerequisites of Support Packages:
  1. Login to 000 client with user like DDIC.
  2. Support packages and patches are applied in T-code SPAM (support package manager)
  3. No aborted packages should be available in the system.
  4. Download the support packages from marketplace.
  5. Always use the updated SPAM & SAINT versions to Apply Support Packages.
  6. There should be enough space in EPS directory to hold support directory.
  7. There should be at least two background processes reserved for this process.
  8. Functional and technical consultants should be around for applying changes to data dictionary elements and repository objects.
  9. Take the database backup before going to apply support packages.
  10. In order to avoid network congestion the files which are more than 10MB has to be applied through “application server”. Patches which are less than 10MB can be applied through front end
  11. There should be enough space in table space in the table spaces (DB02),it should not be above 90%.
  12. Apply patches in the sequence defined in the composite note. Patches can be applied individually or bundled together.
  13. Patches can’t be reverted by consultants, only SAP can revert patches by developing a negative patches if required.
  14. Schedule the downtime before going to apply support packages.
  15. Go through the composite note and document the sequence and CRT.
  16. Observe the system behavior.
  17. Check STMS configuration before going to apply support package.
  18. Before going to apply support package we need to check either any side effects if we apply the patch.
Procedure
The support packages are needed to be applied to the system depending on the requirement from functional and technical consultants’ support package can make changes to objects are data dictionary level or at repository level. It requires to be applied during non-peak hours. It provides enhanced functionality. Sap recommended applying patches for the known problems.

SAP AddOn Components

SAP AddOn components are extra functionalities that do not come with main SAP product. Different organizations have different requirements, so SAP has recognized some main functionalities that are in demand and builds that functionality as a components, which can be integrated with the core SAP. so add on components sit above the core and access the same  dictionary objects or repository objects and perform the required funcionality.

The following steps are to be followed while applying service packs.

  • Go T-code SPAM
  • Apply support pack through front end if the size of the pack is less than 10MB.
  • Apply support pack through Application server if the support pack is greater than 10MB, after decompressing the file using uncar (SAPCAR –XVF xxxx.CAR).
  • In order to apply the support patches define the Queue and import the queue.
  • During the runtime of import we may ask to run SPDD to modify the data dictionary objects.
  • During the runtime we may be asked to run SPAU to modify repository objects.
  • Confirm the queue.

Download the required .CAR files from SAP Net or SAPServX server as shown in the screenshots below


Login to service.sap.com. You will get an initial screen as shown above.

If you want to navigate into the market place you require an SAP user id. For example click on support pack you will get a popup box. Here you need to enter the S user ID and password.

Enter by component

Save the target and save them in a temporary directory

Follow the below procedure to install

  1. Copy them to a temporary directory either in /usr/sap/trans/tmp or any other folder which you can create (say, patch)
  2. Change to the directory /usr/sap/trans (UNIX) or \usr\sap\trans (NT)
  3. Use the command SAPCAR -xvf The command SAPCAR is case sensitive
  4. The command SAPCAR will decompress the CAR file and put two files (with extensions .ATT and .PAT in the /usr/sap/trans/EPS/in directory.
  5. Logon to the SAP system in client 000 as user DDIC
  6. Once in the system execute the transaction code SPAM
  7. Depending on what version are you in do the following
    • Goto Support Packages
    • Load Packages from Application Server
  8. You will get a pop up box with the list of the patches in the queue. Both the applied patches and the new ones will be listed. Hit the Back button to come to the main screen.
  9. Click on the Display/Define button on the screen
  • You will get a pop up screen with the unapplied patches.
  • Select the patch or group of patched that you want to apply and hit the enter key/icon.
  • The patch number will be defined in the queue box.
  • Goto Support Packages >> Import Queue or click the apply patch / import queue icon on the application toolbar
  • After the patch is successfully applied, you will have to CONFIRM the patch application.
  • Goto Support Packages >> Confirm Or click the confirm icon on the application toolbar.
  • The traffic light in the status box should turn green.
  • While the patches are being applied, it’ll prompt us for conformation of the changes, whether to keep the objects which have come from SAP patch or to keep existing customized objects.
  • You can compare the changes and decide to keep the changes made to the system via OSS notes or return the objects to original.
For applying SPAM upgrage patch (XXXXX.CAR) use import SPAM/SAINT Update menu option.

Import from Frontend
for small files you can do this. It will upload from frontend to server and ask you to decompress. Once decompressed, click on New Support Packages/ Display button.
Once decompressed, click on New Support Packages/ Display button.
Check for logs
 

  • At times depending on the situation, you may have to reapply the OSS notes after returning back the object to original