Article

Today we will try to explore the design patterns in the ABAP Objects. We will start with the Singleton design pattern, which is the simplest of its family of design patterns. UPDATE:This blog post has been updated with clear example demo on 12/17/2009. So, there could be some comments which would be obsolete. What is…

Read more

Article

SAPConnect: Email with Formatting

on September 15, 2008

1, 12,393

Sometimes, it is necessary to send emails with the Formatting when we are sending the email using SAPConnect. Formatting is necessary to display proper information. For example, Information is formatted repesentation of the Data. If no formatting, no information. Same way, if we send the unformatted contents, than it will make wrong impression. In ABAP…

Read more

Article

ABAP Objects: Widening Cast

on September 14, 2008

8, 76,970

When we assign the instance of the Superclass to the Subclass, than it is called the Widening Cast, because we are moving to the “More Specific View” from the “Less specific view”. Everytime it is not possible to move the Superclass reference to the Subclass, because subclass will(or might) have always more functionality compare to…

Read more

Article

ABAP Objects: Narrowing Cast

on September 13, 2008

15, 85,580

Important principal of the Inheritence is that an instance of the Subclass can be used in all the contexts where the Superclass can be used. This is possible because the Subclass contains all the attributes of the Superclass, because Subclass has been inhertied from the Super. When we assign the instance of the Subclass back…

Read more

Article

Lets check out how we can implement Overriding in ABAP Objects. This is also known as the Redefinition of the method. When do we need to use the Overriding: Overriding is useful, when we want to extend the functionality of the inherited method. For example: we have a generic class of CAR and it has…

Read more

Article

The requirement is to capture the changed contents – updated, deleted or inserted – after the table maintenance call using the FM VIEW_MAINTENANCE_CALL. The simple solution to handle this requirement is:1. Get all the data from the database table for which we will call the FM VIEW_MAINTENANCE_CALL.2. Call FM VIEW_MAINTENANCE_CALL3. Get all the data from…

Read more

More Post →
You seem to be new here. Subscribe to stay connected.