SAP-samples/teched2025-DT266
A TechEd 2025 hands-on workshop troubleshooting and optimising ABAP Cloud extensions in cloud ERP with the ABAP Debugger, Feed Reader, ABAP Cross Trace, ABAP Trace, SQL Trace and the Table Comparison Tool.
Five exercises trace a runtime error with the Feed Reader and the ABAP Debugger, diagnose an out-of-memory error with the Memory Inspector, follow a request across runtime components with the ABAP Cross Trace, then improve performance with the ABAP Trace, table buffering and secondary indexes, closing with a code push-down to HANA checked in the SQL Analyzer. It stops at the exercises themselves: completing them needs the ABAP Development Tools for Eclipse already installed and configured, and Visual Studio Code with the SQL analyzer tool for SAP HANA.
Facts
Where it sits
Who is behind it
In the atlas: maintains 222@SAP-samplesmaintainerAjay SorengContributes to this
In the atlas: contributes to 36@ajaysorengAndre FischerContributes to this
In the atlas: contributes to 19, wrote 5@anfiscCarine Tchoutouo DjomoContributes to this
In the atlas: contributes to 17, wrote 1@CarineTDIngo BräuningerContributes to this
In the atlas: contributes to 5@ibraeuningerreidl-juergenContributes to this
In the atlas: contributes to 1@reidl-juergenSteffen-MattesContributes to this
In the atlas: contributes to 1@Steffen-Mattes6 contributors
What it declares
Every artifact
- Type
- Sample
- Origin
- By SAP
As a sample
- Form
- Workshop or CodeJam material
Connections
Seeing what running code did between input and result
Download
README
quoted from SAP-samples/teched2025-DT266 under Apache-2.0, readSession DT266 - Troubleshoot and Optimize ABAP Cloud Extensions in Cloud ERP
Description
This repository contains the material for the Session DT266 | Troubleshoot and optimize extensions for ABAP Cloud in cloud ERP.
Overview
Ensuring optimal performance and stability of your ABAP Cloud-based extensions is crucial to long-term success. Learn techniques and best practices for troubleshooting and optimizing custom code in the Cloud ERP. Use powerful tools like the ABAP Cross Trace to get deep insights into execution flows and resource consumption. This session introduces attendees how to analyze custom extensions in SAP Fiori Apps within ABAP Cloud using tools like ABAP Debugger, Feed Reader, ABAP Cross Trace, ABAP Trace, SQL Trace, Memory Analyzer, Table Comparison Tool.
Note
DISCLAIMER:
Please note that information about SAP‘s strategy and possible future developments is subject to change and may be changed by SAP at any time for any reason without prior notice. Check out the SAP Road Map Explorer↗ and the ABAP Cloud Roadmap↗ for more details.
Presentation
- Access the presentation: 📄DSAG_DT266.pdf (extended version)↗
Requirements for attending this workshop
Participants should have an interest in exploring topics through guided exercises and should have the following knowledge:
- Basic of ABAP knowledge↗
- Basic knowledge of ABAP Development Tools for Eclipse (ADT)↗
- Basic knowledge of ABAP Core Data Services (CDS)↗
- Basic understanding of ABAP RESTful Application Programming Model (RAP)↗
To complete the practical exercises in this workshop, you need the latest version of the ABAP Development Tools for Eclipse (ADT) on your laptop or PC
- The latest Eclipse platform and the latest ABAP Development Tools (ADT) plugin↗ must be installed
- The web browser settings in your ADT installation↗ must be adjusted.
And in addition you need the latest version of the MS Visual Studio Code on your laptop or PC with the SQL analyzer tool for SAP HANA
🛠 Exercises
| Exercise Blocks | -- |
|---|---|
| Getting Started | -- |
| Getting Started | -- |
| Exercise Block for Functional Analysis | -- |
| Exercise 1: Analyze Errors with the Feed Reader | -- |
| Exercise 2: Usage of the Memory Inspector | -- |
| Exercise 3: Usage of the ABAP Cross Trace | -- |
| Exercise Block for Performance Analysis | -- |
| Exercise 4: Performance Analysis and Improvement using ABAP Trace and Table Comparison Tool | -- |
| Optional Exercises for Performance Analysis | -- |
| Exercise 4: Performance Analysis and Improvement using ABAP Trace and Table Comparison Tool | -- |
| Exercise 5: SQL Trace Analysis in SAP HANA SQL Analyzer | -- |
In the Getting Started section we outline how to logon to the system and to access your package for these exercises. We shortly introduce the Fiori App to use in the exercises.
In Exercise 1 a runtime error occurs for specific input data. With the tool Feed Reader and the ABAP Debugger we examine the root cause. Here a specific case is not handled correctly in a single line of ABAP code.
In Exercise 2 after a change in the ABAP code an Out-Of-Memory error is thrown. This runtime error is usually not related to the call of a single line of code. We analyze with the Memory Inspector the memory consumption and increase.
In Exercise 3 you will then use the ABAP Cross trace for tracing and analysing ABAP Cloud applications across different runtime components. The tool is useful to track down errors or unexpected behavior even without runtime errors.
The focus of Exercise 4 is on performance analysis using the ABAP Trace. There we learn different techniques to improve the runtime in ABAP code. In addition with help of the Table Comparison Tool we analye a functional error introduced with one of our optimizations.
In Exercise 5 we perform a code push down to the HANA Database using CDS views. Here we learn to create an SQL trace and analyze the execution plan in the HANA SQL Analyzer in Visual Studio Code.
So let us start and have a look at the Getting Started section: Getting Started - Mandatory, please check.
Contributing
Please read the CONTRIBUTING.md to understand the contribution guidelines.
Code of Conduct
Please read the SAP Open Source Code of Conduct.
How to obtain support
Support for the content in this repository is available during the actual time of the online session for which this content has been designed. Otherwise, you may request support via the Issues tab.
License
Copyright (c) 2025-2026 SAP SE or an SAP affiliate company and teched2025-DT266 contributors. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file; you may not use any file of this project except in compliance with the License.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the LICENSE for the specific language governing permissions and limitations under the License.
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
Flavors
“Troubleshoot and optimize extensions for ABAP Cloud in cloud ERP” — SAP-samples/teched2025-DT266 — README
Contributors
History in the atlas
- First seen.
For your agent
- Ref
artifact:sap-samples-teched2025-dt266- JSON
- /artifacts/sap-samples-teched2025-dt266.json
- MCP
- Connecting an agent