SAP Cloud Platform, ABAP Environment is the SAP Platform-as-a-Service (PaaS) offering for ABAP development that enables developers to leverage their traditional on-premise ABAP know-how to develop and run ABAP applications in the SAP Cloud Platform, either as extension to SAP software or as standalone applications. Also Read: What is SAP ABAP 7.4 Certification? This blog […]
SAP ABAP
CDS Table Function using ‘WITH’ Clause – Improved response time
Introduction – In this blog, you are going to see how performance can be improved using ‘WITH’ Clause in CDS Table function when you have multiple selects. I will use below Problem Statement as an example and try same solution in 3 ways. Also Read: SAP ABAP 7.4 Certification Preparation Guide Problem Statement – Need […]
Implement ADF: ABAP Daemon Framework
The example below depicts one of the possible use case of abap daemon, with the integration between interface technologies: AIF(Application Interface Framework), IDOC’s, Asynchronous RFC, Business events(workflow) & class events, Report program, email and ABAP Daemon. Disclaimer: In example, no actual document is created but used some dummy number (assuming SAP Document number) to update […]
Authorization in SAPUI5 apps using BOPF and CDS
In this post, I am going to show how to provide authorization to a SAPUI5 / FIORI application using CDS views and BOPF framework. Basically, we can provide authorizations for CRUD methods in SAPUI5 using BOPF. Every BOPF object has a authorization class associated to it. The methods of this class are automatically triggered whenever […]
Best way to generate Microsoft word docx from ABAP
There are several ways to generate Microsoft Word docx documents using ABAP. All of them have a number of disadvantages: some require a lot of manual actions and saving structures in the ABAP dictionary some require the Microsoft Office package installed on the user’s computer for their work The advantage of my development: requires a […]
How to use the OData Client Proxy in SAP S/4 HANA
If you want to consume an OData service in your ABAP coding there is a nice feature available in SAP Cloud Platform, ABAP Environment that lets you generate an OData Client Proxy by importing the EDMX file of an OData V2 service. The import is offered by creating a so called Service Consumption Model. Though […]
Invalidate Metadata Cache For OData Services
In this post, I am going to write about how can we clear the metadata cache for OData services. This feature can be useful for developers when we generate OData services using CDS and BOPF. When we add / delete / modify any property in the entity set or an annotation in the CDS or […]
Implementing DCL with CDS Views and Roles
I am going to write here about how to use the concept of DCL with CDS views and using roles to provide row based authorizations in UI. So, DCL stands for Data Control Language. It provides an access control mechanism to restrict the results returned by the CDS view from the database according to conditions. […]
View PIPO Monitoring logs from a SAP ABAP program
PO (Process Orchestration) message monitoring could be time consuming, annoying and difficult-to-do for most SAP users, especially as PO runs on JAVA stack and there is no ABAP stack to view message logs anymore. Therefore, most users may find it difficult to access the message monitor available on the JAVA stack and also it may […]
Understanding ABAP Unit Testing Fundamentals – Overview for Beginners
In this blog post, I will give an introduction about unit testing fundamentals and the basic concepts of Unit Testing. I will also give an example of a very simple unit test in ABAP, covering positive and negative scenario. This blog is particularly for absolute beginners who would like to start off in a systematic […]