SAP ABAP Development Skill
Related Skills
- sap-abap-cds: Use when developing CDS views for ABAP-backed Fiori applications or defining data models with annotations
- sap-btp-cloud-platform: Use when working with ABAP Environment on BTP or deploying ABAP applications to the cloud
- sap-cap-capire: Use when connecting ABAP systems with CAP applications or integrating with OData services
- sap-fiori-tools: Use when building Fiori applications with ABAP backends or consuming OData services from ABAP systems
- sap-api-style: Use when documenting ABAP APIs or following SAP API documentation standards
When to Use This Skill
Use this skill when writing or reviewing ABAP code, modernizing classic ABAP to ABAP Cloud-compatible patterns, working with RAP or EML, implementing ABAP SQL, designing unit tests, or troubleshooting language/runtime behavior across supported ABAP releases.
Version Compatibility
This skill covers ABAP syntax from 7.40 SP08 through ABAP Cloud. Features requiring
a higher release are annotated with inline comments in code examples using the format
" [7.xx+] or noted in reference files. The table below summarizes the key version boundaries.
On a 7.40 system: Replace any FINAL(...) with DATA(...), and avoid 7.50+ features
marked in bold above. Most modern ABAP syntax (VALUE, NEW, CONV, inline declarations,
table expressions, REDUCE, FILTER, GROUP BY) is available since 7.40 SP08.
Table of Contents
- Version Compatibility
- Quick Reference
- Bundled Resources
- Common Patterns
- Error Catalog
- Performance Tips
- Source Documentation
Quick Reference
Data Types and Declarations
Internal Tables - Essential Operations
ABAP SQL Essentials
Constructor Expressions
Object-Oriented ABAP
Exception Handling
String Processing
Dynamic Programming
Bundled Resources
This skill includes 28 comprehensive reference files covering all aspects of ABAP development:
Related Skills
- sap-abap-cds: For CDS view development and ABAP Cloud data modeling
- sap-btp-cloud-platform: For ABAP Environment setup and BTP deployment
- sap-cap-capire: For CAP service integration and ABAP system connections
- sap-fiori-tools: For Fiori application development with ABAP backends
- sap-api-style: For API documentation standards and best practices
Quick Access
- Reference Guide:
references/skill-reference-guide.md- Complete guide to all reference files - Internal Tables:
references/internal-tables.md- Complete table operations - ABAP SQL:
references/abap-sql.md- Comprehensive SQL reference - Object Orientation:
references/object-orientation.md- Classes and interfaces
Development Topics
references/constructor-expressions.md- VALUE, NEW, COND, REDUCEreferences/rap-eml.md- RAP and EML operationsreferences/cds-views.md- CDS view developmentreferences/string-processing.md- String functions and regexreferences/unit-testing.md- ABAP Unit frameworkreferences/performance.md- Optimization techniques- ... and 18 more specialized references
Common Patterns
Safe Table Access (Avoid Exceptions)
Functional Method Chaining
FOR Iteration Expressions
ABAP Cloud Compatibility
ABAP 7.40 Compatibility
When targeting ABAP 7.40 systems, replace 7.50+ syntax with these patterns:
Error Catalog
CX_SY_ITAB_LINE_NOT_FOUND
Cause: Table expression access to non-existent line
Solution: Use OPTIONAL, DEFAULT, or check with line_exists( )
CX_SY_ZERODIVIDE
Cause: Division by zero Solution: Check divisor before operation
CX_SY_RANGE_OUT_OF_BOUNDS
Cause: Invalid substring access or array bounds Solution: Validate offset and length before access
CX_SY_CONVERSION_NO_NUMBER
Cause: String cannot be converted to number Solution: Validate input format before conversion
CX_SY_REF_IS_INITIAL
Cause: Dereferencing unbound reference
Solution: Check IS BOUND before dereferencing
Performance Tips
- Use SORTED/HASHED tables for frequent key access
- Prefer field symbols over work areas in loops for modification
- Use PACKAGE SIZE for large SELECT results
- Avoid SELECT in loops - use FOR ALL ENTRIES or JOINs
- Use secondary keys for different access patterns
- Minimize CORRESPONDING calls - explicit assignments are faster
Source Documentation
All content based on SAP official ABAP Cheat Sheets:
- Repository: https://github.com/SAP-samples/abap-cheat-sheets
- SAP Help (latest): https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm
- SAP Help (7.40): https://help.sap.com/doc/abapdocu_740_index_htm/7.40/en-US/index.htm
- ABAP Release News: https://github.com/SAP-samples/abap-cheat-sheets/blob/main/33_ABAP_Release_News.md


