← All articles

Category

ABAP

27 articles

ABAP

ABAP Cloud with AI: Analysis and Comparisons

When we ask an AI agent, “What is MARA’s successor in ABAP Cloud?” or when we develop in ABAP Cloud using AI development agents, we’ve realized that, without guidance, the AI can make mistakes and generate incorrect suggestions for objects. In response to this need to ensure the reliability of the r

ABAP

Authorizations for Draft-enabled Business Objects in RAP

Creation of the Business Object and authorizations Here we create a CDS that allows us to list possible anomalies for a handling unit. Then we create the associated BDEF: We add an Access Control CDS that filters the entries displayed to the user.This means that we only display anomalies configured

ABAP

Vibe Coding in ABAP, what’s new?

In this last article, we saw how to use Github Copilot to assist us in development, whether in terms of autocompletion, code suggestions for unit testing, or object creation. However, one problem remained: it was not possible to develop in “agent mode” with tools such as Github Copilot or Claude Cod

ABAP

How to handle long field names in your OData: solutions and alternatives

Who has never had to adapt a CDS field because it exceeded 30 characters? And, as a side effect, it is therefore impossible to have the desired field in the OData service. Here is a quick and effective solution to avoid this problem. An example is available on our Gitlab. I. CDS in error Let’s

ABAP

Table Entities – transactional scenarios

In our last article, we saw how entity tables would allow us to simplify the creation of our CDS by combining the functionalities of classic DDIC tables and CDS into a single object. However, we noted that it was still impossible to create modification operations on these Business Objects via RAP. C

ABAP

Confirmation pop-up – RAP – Fiori Elements

When creating/modifying a business object, we want to check whether any fields are missing/appear inconsistent or could block the rest of the process. But sometimes, we just want to notify the user and ask for confirmation without reporting an error. To do this, we use a confirmation pop-up, and we

ABAP

Side Effects, what is this spell?

Let’s delve into the heart of ABAP’s RAP model, where these mysterious side effects play an essential role. Designed to optimize the user experience in Fiori applications in Draft mode, they enable intelligent synchronization of the graphical interface without overloading the backend. 1. By the way,

ABAP

Cross Business Object in RAP

When we develop a new RAP business object or an extension to an existing RAP object (Actions/Validations/Determinations among others), we sometimes need and want to interact with other existing RAP business objects. These interactions are : To perform these actions within our Business Object (the on

ABAP

ABAP with Github Copilot – version 2

In that article, we saw how to use Github Copilot. However, we were using an unofficial extension, since no official one existed. Github now offers us its official extension. This article is a quick update on how to configure Github Copilot with ADT using the official extension. Installing and confi

ABAP

DDIC Tables are dead, long live Table Entities

Whereas before we had to define the creation of our tables via ADT (or worse, via SE11), and then create their associated CDS entities afterwards, it is now possible (and recommended) to create a database table directly as a CDS object. And when you say CDS, you mean all the associated functionaliti

ABAP

Discover CPI Logs Analyzer (Beta)

The aim of this article is to introduce you to a tool developed by Abapeur.fr: CPI Logs Analyser (Beta). This tool, to be integrated into your SAP On-Premise or Private Cloud Edition system (BTP, ABAP Environment and S/4 Hana Cloud are not currently compatible), enables you to define iflow managers

ABAP

EML – PART II

In this article, we’ll continue to look at how to interact with Business Objects created via ABAP RAP. To do this, we’ll be using EML (Entity Manipulation Language), part of the ABAP language, to access RAP BOs. We will discuss : The code is available on Abapeur’s GitLab. For our example, we’ll use

ABAP

EML – PART I

In this article, we’ll look at how to interact with Business Objects created via ABAP RAP. To do this, we’ll use EML (Entity Manipulation Language), part of the ABAP language, to access RAP BOs. The code is available on Abapeur’s GitLab. In the first part we’ll look at : In part 2, we’ll look at

ABAP

SM30, It’s Ciao!

For all those who use configuration tables via SM30 (remember, this is not Cloud Compliant, since you access the SAP backend directly via the GUI, which is no longer available in the Cloud), and who are wondering what the solution is on Fiori, here it is: Custom Business Configurations. Here’s how t

ABAP

Extending an API via BTP, ABAP environment – PART II

This article is the last in a series about the Northwind API. Prerequisites: Mastery of the ABAP Framework RESTful Application Programming Model. As a reminder, the objective was as follows: In our last article, we added a field to the PRODUCT entity. Here, we’re going to create a new entity, which

ABAP

Extending an API via BTP, ABAP environment – PART I

Prerequisite: proficiency in the ABAP Framework RESTful Application Programming Model. In our previous article, we created a RAP object using an external API. As a reminder, we’re using the PRODUCT entity provided by Northwind. In our case, we can retrieve the products present in the Northwind API b

ABAP

Create a RAP Business Object with an external API

In our last article, we saw how to create a proxy to consume an external API.Building on this, we’re now going to integrate it into a RAP business object. This practice can enable a number of different things, for example: By creating a RAP object that consumes this external API, we no longer have t

ABAP

Easily call APIs in ABAP

In order to easily call and process APIs in ABAP, there is a very useful and easy-to-use object repository provided by SAP: the Service Consumption Model 2. This Service Consumption Model automatically creates a proxy that can then be called via a class. This proxy makes it easy to manage API return

ABAP

ABAP with AI

In this article, we’ll take a look at 2 artificial intelligence tools for generating ABAP code. SAP Joule For this example, I’ve followed the tutorial provided by SAP. We’re going to create a RAP application to manage a library. 1/ Via BTP ABAP Environment, access the Generate ABAP Repository Object

ABAP

SM36, SM37…Thanks but goodbye

Note: A new version for creating application jobs is available and will be covered in a new article. This article uses legacy interfaces. As a reminder, in ABAP Cloud (the only version of ABAP available for S/4 HANA Cloud, Public Edition and the one recommended for other S/4 HANA Private Edition and

ABAP

Background Process Framework (bgPF), what’s it all about?

In this article, we take a closer look at the Background Process Framework, also known as bgPF. What does it do? What’s its use in ABAP Cloud and RAP applications? Then we’ll look at a concrete example I’ve prepared. First of all, I encourage you to read my article RAP application with BAPI – Clean

ABAP

Internal APIs calls via a local proxy in ABAP

If you want to call one of your APIs locally for testing purposes, or to use it in one of your development objects, you can use a local proxy ( On premise or Private Cloud only ). For example, let’s take the following API ( API_OUTBOUND_DELIVERY_SRV ) on S/4 Hana Private Cloud: https://api.sap.com/a

ABAP

RAP application with BAPI – Clean Core objective

Technical prerequisites: S/4 Hana On premise or S/4 Hana private cloud edition environment. In this blog, the aim is to create a Fiori application using the RAP framework, based on an existing BAPI, while complying with SAP guidelines to achieve the clean core objective. Use case: For this presentat