ABAP on Cloud Exception Handling

Exceptions are way to communicate that something went wrong. An exception is a problem that arises during the execution of a program. When an exception occurs the normal flow of the program is disrupted and the program application terminates abnormally, which is not recommended, therefore these exceptions are to be handled. ABAP exception handling is built upon … Continue reading ABAP on Cloud Exception Handling

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 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

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

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

Using BDC for Multi-Line Item Recording

Table controls in BDCwhen we want to insert multiple line itemsSince the BDC programs can be used on different systems with different look and feel so the layout may vary from one system to another.So while doing the recording there we have an option to select the default option as it will keep the recording … Continue reading Using BDC for Multi-Line Item Recording

Understanding Session Method in BDC: SAP ABAP

BDC basically checks and validates eac field screen by screen and that’s why it takes timeBDC basically checks and validates eac field screen by screen and that’s why it takes timeEven though 60% of the BAPI’s use BDC in their backend CALL METHODSynchronous processing – until the data is successfully processed it won’t process the … Continue reading Understanding Session Method in BDC: SAP ABAP

BDC : Batch Data Communication in SAP

Let's talk about BDC and how it can be created in the system. Before you start with a BDC program you need to create a recording in transaction SHDB, as you can see from the below screen you need to provide a recording name and a transaction code for which you want to create the … Continue reading BDC : Batch Data Communication in SAP

ABAP ALV: Customizing User Commands with Callback Functions

It will be same as ALV EVENTS mentioned above only the call back program parameter will change while calling the FM REUSE_ALV_GRID_DISPLAY. we will pass the user command and perform the action accordingly. Please see the highlighted part which is different from the program mentioned for ALV EVENTS Example **&---------------------------------------------------------------------* **& Report ZALV_TEST_1 **& **&---------------------------------------------------------------------* … Continue reading ABAP ALV: Customizing User Commands with Callback Functions