Understanding ABAP Cloud SELECT Syntax Changes

This is a short post to see how select works on ABAP Cloud Environment, although it mostly remains the same but there few small changes which every ABAPER should be aware about The main difference is introduction of the keyword called FIELDS , so either you specify your fields in the with the SELECT keyword … Continue reading Understanding ABAP Cloud SELECT Syntax Changes

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

Understanding Database Transactions: ACID Properties Explained

What is a Transaction? A transaction is an event which occurs on the database. Generally a transaction reads a value from the database or writes a value to the database. If you have any concept of Operating Systems, then we can say that a transaction is analogous to processes. Although a transaction can both read … Continue reading Understanding Database Transactions: ACID Properties Explained

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

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

ABAP Internal Tables Explained: Types and Usage

Internal tables are structures which are used to store temporary data during processing of an ABAP program. Following are the different kind of internal tables STANDARD SORTED HASHED CategoryInternally managed byAccessPrimary table keyWhen to useHintsSTANDARDPrimary table index (that's why these tables are called index tables)Table indexTable keyAlways non-unique, i.e. duplicate entries are always allowedDefinition of an … Continue reading ABAP Internal Tables Explained: Types and Usage

Understanding ABAP Data Types: A Comprehensive Guide

The following built-in elementary data types of fixed length are available: Numeric types: Integers (b, s, i, int8), decimal floating point numbers (decfloat16, decfloat34), binary floating point numbers (f), and packed numbers (p) Character-like types: text fields (c) and numeric text fields (n) Byte-like type: byte fields (x) Character-like date and time types: date fields (d) and time fields (t) Time stamp type for time stamp fields (utclong). Variable … Continue reading Understanding ABAP Data Types: A Comprehensive Guide

Unlocking Regex Power in ABAP Programming

There are lot of blogs out there which tells about regex but the main aim of this blog is to tell others the powers of regex specially in ABAP where we are obsessed with keywords like loop endloop and operations like CS EQ etc. Example : Lets say you have string where you find a … Continue reading Unlocking Regex Power in ABAP Programming

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