Home > SAP software/management Tips > SAP tips and best practices
SAP Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

SAP TIPS AND BEST PRACTICES

Eliminate database read/write times with ABAP shared memory


Alexander Schuchman
10.03.2007
Rating: -3.50- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


The average SAP developer has never even heard of ABAP shared memory much less worked with it or even utilized it to their advantage. This was the subject of Alex's first tip. He boasted that using this development will buffer data to help alleviate database read/write times on any custom program that it is associated with. He mentioned that there is virtually no learning curve when dealing with shared memory as the buffered data is easily viewable and debugged.

[IMAGE]View the shared memory data easily in Tcode SHMM. Double click on an item to view the details.
[IMAGE]On the left side of the image we can see the product structure "ET_PRODUCTS", click on "17 Entries" to dive deeper into the details. Here we can see the 169 products that are associated with this particular product structure, and it is here that we manage the shared memory.
[IMAGE]First, to create the shared memory area we go to Tcode SHMA. A root class name must be provided as well as other parameters that can be left to the defaul...


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
SAP ABAP/Java developer tips
How to do additional dialog processing after SAP COMMIT WORK statement
How to find a piece of SAP ABAP code without debugging
How to read an SAP transaction in an ABAP code
How to provide an SAP R/3 4.5B application server with a Web service interface
How to find owners and transports of deleted ABAP programs
Fixing a common OPEN_FORM and START_FORM error in SAPscript
Select Text fields: Case-insensitive
Is this the quickest way to find a BADI?
Easily debug error messages in SAP processes
Accessing private attributes in ABAP Objects

SAP NetWeaver tips
Using SAP NetWeaver MDM with CRM, SCM and NetWeaver BI
The importance of master data management following mergers and acquisitions
Designing your SAP NetWeaver master data management strategy
Enterprise MDM: SAP MDM for reducing data silos and duplicate records
How to move SAP NetWeaver Enterprise Portal between servers
Getting started with SAP NetWeaver PI (formerly XI)
Top 10 SAP tips of 2007
Retrieve BI data with Web Services
XI: Search through the payload of a message... without TREX!
Using Folders in PI 7.1

SAP tips and best practices
Minimizing business disruptions during an SAP upgrade or implementation
Retrieving content from an SAP workflow attachment
Updating URLs in SAP SRM
How to change default settings in SAP SRM
What are the benefits of implementing SAP SRM?
Increase column width in a transaction screen
Updating an RT table entry in SAP HR Payroll -- without the ADDWTE option
Is this the quickest way to find a BADI?
Adding custom fields for retail product comparisons in SAP BW
Improving performance with ABAP Objects in SAP Workflow

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


t settings until it becomes clear how these changes would affect the program.
[IMAGE]The difference between a regular class and a generated shared memory root class can be found in the properties tab where we find the check box that will make the class "shared memory enabled".
[IMAGE]The data that is put into the shared memory area could be standard SAP types or custom types that allow structured data to be available.
[IMAGE]To build the shared memory area use the "BUILD" method name and throw the root name as well as the area handle in there and cap it with the select statements.
[IMAGE]Now we move on to the append statements, acquiring the necessary information from the shared memory area.
[IMAGE]Now that we have all this data an application is needed for our efforts to be applied to. Here we reference the same data, plugging in the necessary information, and looping it.

Rate this Tip
To rate tips, you must be a member of SearchSAP.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



NetWeaver SAP White Papers
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts