Sunday, December 15, 2013

How to correct the Memory overflow in buffer synchronization in SM21 Logs..

1. Get the number of the process and go to SM50

2. Select the PID (Process ID)

3. From the menu bar select Process>>Trace>>Display File

4. In the developer trace, there should be a list of tables showing up that the buffers are complaining about.

5. Look at the buffered tables and decide about which ones need to be changed from buffered to non-buffered. SE13 is the transaction to do that. The buffered tables need to be tables that have a large amount of reads, as compared to writes.

How to Apply Java Support packs JSPM...


1. Introduction

In current document I will demonstrate how to apply patches for JAVA Stack. JSPM connects to the SDM server to deploy support packages and software components. The SDM server performs additional validation of the support packages and software components for deployment.

JSPM is integrated with the SAP NetWeaver Development Infrastructure (NWDI). JSPM detects SAP software components that have been modified and allows you to apply support packages to them.

1A. Download Java PatchesYou can download Java Patches from SAP Service Market Place. Go to http://service.sap.com/swdc and expand SAP Support Package Stacks and click on SP Stack Download and Side effects report.


On right hand select your SAP Version. In my case I will choose SP Stack SAP NetWeaver 7.0 In next popup window select your current version of SP Stack and Select Target SP Stack.



In next screen select the component for which you want to download stack. In my case I will select Application Server Java. In next selection screen you select operating system and proceed to next.





Once you select the components click on Add To Download Basket. These objects are with .SCA extension. You can download components from download basket by using SAP download manager. For some of the components you will have to confirm from Solution Manager.



1B. Approve Patches in Solution Manager

The Maintenance Optimizer leads you through the planning, download and implementation of support package stacks, which contain a set of support packages for your systems. You can also install enhancement packages or put them into an upgrade to SAP ERP 6.0 (previously SAP ERP 2005), using the Maintenance Optimizer.

Patches added to download basket in service market place needs to be approved from solution manager. To approve patches your maintenance optimizer in solution manager needs to be configured. I presume solution manager is configured and will proceed further.
To approve patches login into solution manager and enter transaction DSWP. Select the solution and create new maintenance transaction.



A pop will be opened in browser. Select the system to which you want to approve patches and click on continue.






Check file would like to confirm and you can download approved patches from SAP Download Manager.


1C. Upload Java Patches
Patches downloaded .SCA needs to be uploaded to /usr/sap/trans/EPS/in. From this inbox JSPM will collect all patches and will update the system.


2. Apply Java Support Stack
You can update all software components of SAP products that are deployed on the system by applying a support package stack. Support package stacks are defined by SAP collections of support packages for software components that work best together. In addition, you can apply a support package stack, which contains newer versions of SAP software components that have been modified in the NWDI. Using Java Support Pack Manager (JSPM) you can apply java patches.



2A. Starting JSPM

JSPM is located at /usr/sap/SAP-SID/Instance No/J2ee/JSPM. This folder consists of following files and scripts needed to start JSPM. Executing script go will launch JSPM tool. Enter login credentials for SDM and login into tool.



Following figure shows outlook of JSPM

2B. Updating JSPM & Apply SPS

When JSPM is started it automatically starts its GUI on the local machine, that is the machine JSPM is running on. If SAP system is on UNIX and a Windows PC is used as a client this requires some kind of X server software to run on the Windows PC to display JSPM GUI.


The update of JSPM does not require a restart of the J2EE Engine and does not affect the system operation. To update JSPM select JSPM and proceed further. In Same way for applying other components select New Software Components and proceed to further.




JSPM will check if any dependencies