Friday, 30 November 2018

Delete duplicate entries in ABAP CDS views using Table Function and SQL Window Function

With the Code Push-Down strategy introduced by SAP HANA some of the functionalities used by ABAP developers haven’t been easily translated to the newest technologies, for example, CDS views.

In this blog post we are going to explore one of this scenarios trying to delete duplicate entries using ABAP CDS Views.

Wednesday, 28 November 2018

AMDP class and methods and how to use in an extractor

Introduction


An AMDP class is a global class in the class library that contains one or more of the following tag interfaces:

◈ IF_AMDP_MARKER_HDB for the SAP HANA database

The names of the interfaces all start with IF_AMDP_MARKER and a suffix indicates the database system for which the ABAP Managed Database Procedures can be implemented in AMDP methods of the class.

Monday, 26 November 2018

Activate HTTP/2 on AS ABAP 752 SP01 Dev Edition

The quickest way to maintain an Instance Profile is through transaction RZ10 however, I was not able to locate one when I ran this transaction on the server. Weird, isn’t it?

ODATA services from Queries BEX

1. Introduction


The following document discusses the method to create ODATA services from BEX queries in the SAP BW environment.

ODATA services allow a BEx query to be consumed by any system external to SAP that has this service.

Wednesday, 21 November 2018

SAP ABAP Unit test class with Test double

Introduction


ABAP Unit is the new unit test tool for ABAP which solves the problems with developer tests. Unit tests are a methodology for software development and are a mature framework in the developer toolbox. Tests can be conveniently grouped into test tasks. Test results are condensed and become evident at once. Test tasks can be performed by automation. In this document we will discuss how to automate Test Double Framework which is used to remove dependency from main CUT (Class under test) class.

Tuesday, 20 November 2018

Hosting a Netweaver ABAP Developer System on Google Cloud Plattform

This blog aims to provide a reference to students and teachers at universities on how to easily host an SAP Netweaver ABAP Developer system on the Google cloud platform. Also some of the information is specific to people teaching at universities the general approach might also be interesting for ABAP developers looking for an alternative approach to installing the SAP Netweaver ABAP Developer in a virtual machine or via docker.

Friday, 16 November 2018

General Usage Of Search Help Exits (Icons Display)

To bring some colour into SAP transactions I like to use Icons. I also think that Icons help to recognize faster what kind of data is displayed. Using different icons for different status help to get a better overview.

There is no witchcraft about the dynamic usage of Icons. But dynamic Icons in a search help exit comes quite close.

Thursday, 15 November 2018

Options for editing table in ECC

This blog collates some of the techniques which helps me to edit tables directly in ECC without having to use Table Maintenace generator.

CAUTION: Modifying table entries in SAP directly is not recommended as it can corrupt the specific record or your DB. It is important to do this change with caution and only in Dev or Quality systems.