Search

Coding Blues

Tag

ABAP

Events Linkage With Function Modules

Programming for events triggered by system is a little tricky but they are a great help when using exits are not a solution. Consider a situation where a delivery details needs to be saved in a Z-Table and used to... Continue Reading →

Abstract And Final – Inheritance

Abstract Class – One-line definition of the abstract class is that it is a class which cannot be instantiated. What does that mean? Remember the example of Vehicle. The superclass Vehicle and subclasses two wheelers, light four wheelers and heavy... Continue Reading →

Method Definition – Inheritance

A subclass can either use a method of its own or can redefine a method that is being originally defined in super class or can use a method of the superclass without redefining it. First one is a typical use... Continue Reading →

Inheritance As Concept

As the name suggests, Inheritance means inheriting properties of a parent class by a child. The child class inherits – attributes and methods – of its parent class while reserving the ability to enhance itself with additional attributes and methods.... Continue Reading →

Using Infinite Loop For Testing

Scenario – A program has to be run in background or a routine is called when an inbound idoc is getting processed through proxy. A normal debugger doesn’t work in such scenarios. An easy solution to directly hit the code... Continue Reading →

Quick Code To Send Email – Using Function Module

The best way to send email in SAP is using CL_BCS but it’s a little cumbersome code and unless an attachment – any file or XL – is required, using a function module SO_NEW_DOCUMENT_SEND_API1 is a quick smart way to... Continue Reading →

Class And Methods For Modularization

Subroutines are obsolete. It might come to you as a surprise but it’s true. Every old school programmer loves them and understandably so. But their days are numbered and rightly so. The world writes in Object Oriented Programming and the... Continue Reading →

Constructor

Constructor is probably one of the most intricate concept in OOP which befuddles the novices. Confession; I had a difficult time understanding it. Constructor is a special type of method used to define properties of an object. For example, Jack... Continue Reading →

Class, Objects And Methods

Class basically define how an object would look like and what it can do – structure and functionality. Let’s talk about a product – Toys. We have a class called ‘Toys’ and it intends to define any toy created by... Continue Reading →

Website Powered by WordPress.com.

Up ↑