Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

2General Standards
3ABAP Program Elements
3.1.5Authorization Group
3.1.6Development Class
3.1.7Logical Database
3.1.9Editor Lock
3.1.10Fixed Point Arithmetic
3.1.11Start via Variant
3.2.1General Programming Requirements
3.2.2Executable Programs: (Template Y_EXECUTABLE_PROGRAM)
3.2.3INCLUDE Programs:
3.2.4Module Pool Programs:
3.2.5Function Pool (Group) Programs:
3.2.6Function Module Programs:
3.2.7Subroutine Pool Programs:
3.2.8Class Pool Programs:
3.2.9Interface Pool Programs:
3.3.1Program Documentation:
3.3.2Changes and Enhancements:
3.3.3User Documentation:
3.4.1Titles and Headings
3.4.2Selection Texts
3.5 Variants
4Style Guidelines
4.1ABAP Style Guidelines
4.1.1R/3 Design Elements
4.1.2Work Area Design Elements
4.2NASA Style Guidelines
4.2.2Selection Screens
4.2.3Transaction Screens
4.2.4Online Help
4.2.6Report Headings and List Format
4.2.7Report Footings
5ABAP Programming Advanced Techniques
5.3Internal Tables:
5.4Possible Uses Of Internal Tables
5.4.1A Large Number Of Database Accesses Are Foreseen
5.4.2Replacing Nested Selects
5.5Performance Concerns: Internal looping vs. Nested selects
5.5.2Methods Of Internal Table Population
5.6Free System Resources
5.7.1INSERT f1 f2 ... INTO fg
5.7.3Field Group Processing
5.7.4Sample of Field Group usage in a program:
5.8General Use Function Modules
5.8.1Date Oriented Function Modules:
5.9Logical Database:
5.10Use of Indices:
6Customer Enhancements – Enhancement Projects
7Changing SAP Code
8APPENDIX A: Programming Guidelines
8.1Writing Maintainable Code
8.1.1Program Structure
8.1.3Statement Format
8.1.4Pre-defined Coding Blocks
8.1.5Performance Considerations
8.1.6Version Management
8.1.9Example Program
8.2Using Tables and Fields
8.2.1Check Return Codes
8.2.2Initializing Fields and Structures
8.3Working with Logical Operators and Control Structures
8.4Performance and Tuning Guidelines
8.4.1Use SORT to organize reports and data
8.4.2Defining Custom Tables
8.4.3Use of SELECT with Transparent and Pool tables
8.4.4Use of the SELECT statement with Cluster tables
8.4.5Matching field attributes in the SELECT WHERE clause
8.4.7Processing large tables
8.5.1Always ensure your index is being used:
8.5.3When to Create an Index
8.5.4When Not to Create an Index:
8.6Controlling the Development Environment
8.6.1Quality Assurance
8.7Developer’s Issues for the Transport System
8.8Transport Checklist for Developer
9Appendix B: Metrics-Driven Code Comparisons
9.1.1Select … Where vs. Select + Check
9.1.2Select single vs. Select-Endselect
9.1.3Select aggregates
9.1.4Select with view
9.1.5Select with buffer support
Select without buffer support Select with buffer support
9.1.7Select with index support
9.1.8Select … Into Table t
9.1.9Select-Endselect vs. Array-Select
9.1.10Select with select list
9.1.11Array Insert vs. Single-row Insert
9.2String Manipulation
9.2.1Special operators in IF (CA, …)
9.2.2String concatenation II
9.2.3Deleting leading spaces
9.2.4String concatenation
9.3.1Building sorted tables
9.3.2Building tables without duplicates
9.3.3Different forms of key access
9.3.4Key access to multiple lines
9.3.5Copying internal tables
9.3.6Sorting internal tables
9.3.8Deleting a sequence of lines
9.3.9Building condensed tables
9.3.10Linear vs. Binary search
9.3.11Secondary indices
9.3.12Using explicit work areas
9.3.13Comparing internal tables
9.3.14Joining internal tables
9.3.15Deleting duplicates
9.3.16Deleting a set of lines
9.4.1Typed vs. Untyped parameters
9.4.2Typed vs. Untyped field-symbols
9.5.1If vs. Case
9.5.2Case vs. Perform I of …
9.6Field Conversion
9.6.1Field Types I and P
9.6.2Constants Type F
9.6.3Mixed types
9.6.4Literals Type C and Type I
10Appendix C: Tips and Tricks
10.1Helpful Hints on Commands:
10.3Programming Tips
11Appendix D: Quality ABAP Programming
11.2Technical Principle for Program Optimization
11.3Database access:
11.3.1Optimization of individual SQL statements
11.3.2No unnecessary access
11.3.3Use SAP buffers
11.3.4No unnecessary sort operations on the database
11.3.5Optimize matchcodes
11.3.6Minimize DB lock times
11.3.7Avoid deadlock situations
11.4ABAP Programming
11.4.1Processing internal tables
11.4.3Costly language elements
11.5.1SQL trace (ST05)
11.5.2Transaction: SDBE
11.5.3ABAP trace analysis: SE30
11.5.4Get RUN TIME FIELD f
11.5.5ABAP cross reference analysis: RSINCL00
11.6Note I: Optimization of individual SQL statement
11.7Note II: Performance & Load Balancing for Batch Input
11.7.1Background of SAP BDC programs
11.7.2Where are the bottlenecks ?
11.7.3What can we do to get around the bottlenecks ?
11.8Note III: ABAP Programming Tips
11.8.1TIP: When one uses the MOVE statement,
11.8.2TIP: Use the FREE <table> command
11.8.3TIP: When defining DATA statements
11.8.4TIP:When using the SORT statement,
11.8.5TIP:When processing an internal table use the LOOP
11.8.6TIP:When the LOOP...AT...WHERE
11.8.7TIP:Use the BINARY SEARCH,
11.8.8TIP:Use a BINARY SEARCH read and MODIFY
11.8.9TIP:If one performs many INSERTs or DELETEs
11.8.10TIP:Use the CASE statement instead of a nested IF
11.8.11TIP:Always place the mot likely condition first,
11.8.12Comparison different modularization techniques
0 of .
Results for:
No results containing your search query
P. 1
1295218 Abap Prog Standards

1295218 Abap Prog Standards

Ratings: (0)|Views: 2|Likes:
Published by vinayistha
fvh njj mmk mk
fvh njj mmk mk

More info:

Published by: vinayistha on Mar 21, 2013
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 4 to 40 are not shown in this preview.
You're Reading a Free Preview
Pages 44 to 77 are not shown in this preview.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->