Instance vs Class Constructors: ABAP Explained

What is a constructor? Constructor is a special type of method for initializing the attributes of the class.It gets triggered automatically when an object is created.It never returns any value.It can be declared in the Public Section only. Instance Constructor An instance constructor in ABAP is specific to each object, meaning it is automatically executed … Continue reading Instance vs Class Constructors: ABAP Explained

Understanding ‘me’ Variable in OO ABAP

Often times you might have come across me variable in OO ABAP today with an small example we will see how it is being used in the programs *&---------------------------------------------------------------------**& Report y_class_basics*&---------------------------------------------------------------------**&*&---------------------------------------------------------------------*report y_class_basics.class abap_basics definition.public section. data : num type i value '10'. methods display.endclass.class abap_basics implementation. method display. data : num type i value '200'. … Continue reading Understanding ‘me’ Variable in OO ABAP

ABAP Git Integration: Download and Activation Steps

There are 2 versions of Git that we can use with ABAP standalone version and developer Downloading the standalone program   we are going to see the implement the standalone version version. First we need to download the standalone program You can download the latest report by clicking on the link –> ABAP CODE Instructions for creating the program … Continue reading ABAP Git Integration: Download and Activation Steps

Understanding CDS Views in ABAP and Interview Questions

What is CDS ? CDS view is a service directly by HANA core CDS artifacts are present and execute on database(HANA or other) layer. This is called code push down where Application layer logic can be easily moved to Database layer for execution. This has many performance advantages if used carefully. Can be assigned to … Continue reading Understanding CDS Views in ABAP and Interview Questions

Git Commands Every ABAP Developer Should Know

What is GIT ? Git is a version control system Basically there are 3 stages in Git Committed , Modified and Staged as shown below How to use Git in your system ? Install Git - Search and download it or install it via command prompt Choose a folder where you are going to do … Continue reading Git Commands Every ABAP Developer Should Know

ABAP Casting: Narrow vs Widening Explained

When we assign the instance of the Subclass back to the instance of the Superclass, than it is called the “Narrow Casting”, because we are switching from a “More Specific view of an object” to “less specific view”. When we assign the instance of the Superclass to the Subclass, than it is called the Widening … Continue reading ABAP Casting: Narrow vs Widening Explained

Understanding Stateful vs Stateless Applications

Stateful and stateless are adjectives that describe whether a computer or computer program is designed to note and remember one or more preceding events in a given sequence of interactions with a user, another computer or program, a device, or other outside element. tateful means that the computer or the program keeps track of interactions, … Continue reading Understanding Stateful vs Stateless Applications

Key OOP Concepts Explained: ABAP Terminologies

OBJECT ORIENTED PROGRAMMING TERMINOLOGIES in ABAP Below are some of the important concepts of OOP:- Global ClassGlobal Class is an ABAP object which can be accessible via SAP Class Builder, T-code for SAP Class Builder is SE24. Local ClassLocal classes are classes which are available in ABAP programs, we can access them via ABAP editor … Continue reading Key OOP Concepts Explained: ABAP Terminologies

Understanding BDCDATA in SAP BDC Programs

What is use of BDCDATA ? While writing a BDC program, standard structure ‘BDCDATA’ is used to collect this information. The BDCDATA structure includes the following fields: PROGRAM DYNPRO DYNBEGIN FNAM FVAL BDCDATA structure is used to create an internal table in the BDC program which collect the above information for an entire transaction. Syntax … Continue reading Understanding BDCDATA in SAP BDC Programs