SampleSampletypeA worked example you read or clone. Evidence: it demonstrates, it never provides.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →Starting point

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

Last pushLicenceApache-2.0

Where it sits

Lives in
Demonstrates
DebuggingABAPDebuggingcapabilitySeeing what running code did between an input arriving and a result coming out: which code ran, what the values were at each point, and why a value ended up as it did.
Flavors

Who is behind it

SAP SamplesSAP SamplesOrganisationMaintains this
In the atlas: maintains 222
@SAP-samples
maintainerAjay SorengPersonContributes to this
In the atlas: contributes to 36
@ajaysoreng
Andre FischerPersonContributes to this
In the atlas: contributes to 19, wrote 5
@anfisc
Carine Tchoutouo DjomoPersonContributes to this
In the atlas: contributes to 17, wrote 1
@CarineTD
Ingo BräuningerPersonContributes to this
In the atlas: contributes to 5
@ibraeuninger
reidl-juergenPersonContributes to this
In the atlas: contributes to 1
@reidl-juergen
Steffen-MattesPersonContributes to this
In the atlas: contributes to 1
@Steffen-Mattes
6 contributors

What it declares

Every artifact

Type
Sample
Origin
By SAP

As a sample

Form
Workshop or CodeJam material

Connections1

SAP-samples/teched2025-DT266 connectionsSAP-samples/teched2025-DT266PROVIDES→ demonstrates1demonstrates authoredDebugging

README

quoted from SAP-samples/teched2025-DT266 under Apache-2.0, read
SAP-samples/teched2025-DT266/README.mdOn GitHub

Session DT266 - Troubleshoot and Optimize ABAP Cloud Extensions in Cloud ERP

REUSE status

Description

This repository contains the material for the Session DT266 | Troubleshoot and optimize extensions for ABAP Cloud in cloud ERP.

Overview

^Top of page

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

^Top of page

Requirements for attending this workshop

^Top of page

Participants should have an interest in exploring topics through guided exercises and should have the following knowledge:

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

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

^Top of page

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

^Top of page

Please read the CONTRIBUTING.md to understand the contribution guidelines.

Code of Conduct

^Top of page

Please read the SAP Open Source Code of Conduct.

How to obtain support

^Top of page

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

^Top of page

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.

Apache-2.0, read

Details

Sources3
Added by handdiscovered herechecked
github.com/SAP-samples/teched2025-DT266tree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

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
discovered viaAdded by hand
first seen in the atlas
ecosystem and domainabap, developer-experience
Flavors1
ABAP Cloud
“Troubleshoot and optimize extensions for ABAP Cloud in cloud ERP” — SAP-samples/teched2025-DT266 — READMEchecked
Contributors6
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:sap-samples-teched2025-dt266
JSON
/artifacts/sap-samples-teched2025-dt266.json
MCP
Connecting an agent