Monday 31 December 2018

Use SAP Cloud Connector + SAP Cloud Platform + Java to consume function in ABAP On-Premise system

Recently I was assigned to a prototype development which needs to consume some function modules in ABAP On-Premise system.

SAP Cloud for Customer is a cloud solution whose OData service / Web Service could directly be consumed by other application in the Internet. And the prototype I am working on recently needs to consume function modules in ABAP On-Premise system hosted in Corporate Network, which is not directly available for Internet application.

Saturday 29 December 2018

How to add an user-defined segment to an IDoc

This post will show you how to create a new Segment and append it to a IDoc type as an extension.

Introduction:


When you create a new extension for an IDoc, transfer the data, then insert again into IDoc, it sometime might lead to Status Error 26 “Get details from previous status records with status 26”.

Wednesday 26 December 2018

Automatic checking of your ABAP code in Github/Gitlab with CI and abaplint

The post is about automatic running of it using CI tools.

Since the availability of abapGit more and more CI scenarios becomes possible for ABAP. Keeping ABAP code in git repositories slowly becomes the mainstream. As well as different CI (continuous integration) scenarios around it. One of scenarios is automatic code check which abaplint makes possible.

Tuesday 25 December 2018

Safeguard Performance of ABAP CDS Views – Part 3 Rules for Good Performance of CDS Views

In this blog post on the performance aspects of CDS views, I want to discuss how good performance can be ensured when building and accessing CDS views. Basically, it’s all about simple SQL performance rules that sometimes sink into oblivion when working with CDS views and HANA, but that are still valid – or only need a gentle new interpretation.

Thursday 20 December 2018

Use BDC and BAPI CCAP_ECN_MAINTAIN at the same time to update Engineer Change Number (Change Master)

Introduction:


When you create an ECN by BAPI  CCAP_ECN_MAINTAIN, you can see there are some different comparing with when you create an ECN by Tcode SC01. The object types list looks not the same.

So you can combine BDC technique and BAPI to correct this error.

First you create ECN by BDC, then use BAPI to update Long Text and other fields.

Tuesday 18 December 2018

Safeguard Performance of ABAP CDS Views – Part 2 HANA SQL Optimizer and Plan Cache

In this blog post I describe how the HANA optimizer creates an execution plan from your SQL statement, how this plan wanders into the plan cache and what you should consider when analyzing the SQL statement from HANA studio. Since my main interest is the performance of CDS views, I will concentrate on the resource and runtime aspects.

Friday 14 December 2018

Sending Email from FINT

Introduction


FINT is a handy transaction for calculating of interest on customer items ( for vendor items FINTAP should be used). It is the successor of the old transactions F.2A/ F.2B/ F.2C and F.24 which were using program RFDUZI00 for calculation.

Wednesday 12 December 2018

CRM – Identifying user changes on a decision table in BRF+

At CRM system, when you need to maintain the content of a decision table at Business Rule Framework plus, could be a requirement, during the activation action, to identify the changes done by the user.

For this, we need to compare the changes that the user has done on the table content at the decision table settings screen with the content stored on the database.

Tuesday 11 December 2018

Safeguard Performance of ABAP CDS Views – Part 1 CDS View Complexity

I want to discuss some performance aspects of ABAP CDS views. As a performance expert daily working on CDS view performance topics I hope to be able to give some insights from my experience.

I roughly plan to cover the following points, but you are invited to ask for more if it has something to do with CDS view performance. If necessary, I will then consult the true experts …

Saturday 8 December 2018

How to find a predefined Virtual Data Model in S/4HANA

Purpose 


This blog illustrates how to find a predefined Virtual Data Model (VDM), template of the CDS View for business entities in S/4HANA in many ways.

The target audience are developers  looking to create reports or other applications, and functional experts writing specifications for  development. Each are expected to have already understood the basic concept of CDS views and S/4HANA application architecture (Fiori-OData-CDS Views) and want to save the effort for development by using Predefined VDMs, and want to know what kind of VDMs are available in S/4HANA.

Thursday 6 December 2018

Understanding basic HR modules for ABAPERS

Overview of HR-ABAP Programming

  • The aim of the HR module is to be able to process employee related data according to business requirements in an effective structure.
  • The human resource module maintains the data in a standard structure that is nothing but an info type.
  • HCM consist of many modules, some of the main modules are:

Monday 3 December 2018

SAT runtime analysis from UI

A codeline’s efficiency highly depends on its runtime performance. And when it comes to improving the performance, we always have to execute and analyse the time consumption.

But the challenging part here is when we want to analyse the performance in both frontend and backend perspective. Most of us puzzle over the problem of how to schedule a performance trace beginning from UI and including the backend program execution.