Advantages of ABAP in the BW Environment

Share the knowledge:Share on FacebookTweet about this on TwitterShare on LinkedInShare on Google+Share on RedditShare on VKShare on StumbleUponEmail this to someone


The advantages of having ABAP knowledge and working within the BW environment are significant. I have been involved now with BW for 2 years – prior to this I programmed ABAP for 5 years.

The area of BW that I am writing about is the efficiency of the ETL (Extraction, Transformation & Loading) processes.

I have noticed that very little attention is paid to writing efficient and decent ABAP code in Start Routines, ABAP routines, and END routines resulting in data load processes that are not optimized to the maximum.

Perhaps SAP should include in their academy a few hours of training on the basics of ABAP coding that are relevant to the BW Environment. Areas that should be covered are:

  • ABAP naming conventions
  • The use of internal tables
  • How to properly select RELEVANT data from transparent tables (avoiding, for example, select * from... when not all fields are required)
  • How to use a function module / Class
  • String manipulation
  • The use of control structures

An example of poor inefficient ABAP is having a select statement in an ABAP routine (between a start routine and end-routine). This is like having a select statement in a loop. Rather do the select in the start routine into an internal table, and read that internal table in the ABAP routine, thus many selects are now replaced with just 1 select statement, we are now accessing the database just once instead of many times.

From my experience, such advantages are only realized and appreciated during troubleshooting or after go-live. And that is what distinguishes experienced BW ABAP developer from a beginner.


This article by Hoosen Mia Haffejee took part in the joint contest, which SAP Expert ran together with PACKT Publishing. Hoosen won SAP ABAP Advanced Cookbook.

Share the knowledge:Share on FacebookTweet about this on TwitterShare on LinkedInShare on Google+Share on RedditShare on VKShare on StumbleUponEmail this to someone

Related Posts

Three methods to import bank statement in SAP

Dmitry Kaglik

September 4, 2017

SAP

No Comment

Share the knowledge:Bank account statement is the document that tells the bank account holder the information related to the bank account. If your company runs SAP, once the bank statement received for the company bank accounts, it should be entered into SAP. Like with entering invoices and entering payments, SAP supports several methods for entering bank […]

Read More

The Responses I Like From The Recruiters The Most

Dmitry Kaglik

August 7, 2017

SAP

No Comment

Share the knowledge:I am not a newbie on the SAP job market. I was looking for job myself, and I was helping my friends to have a job. I sent my CV to many recruiters, both agencies and in-house. The feedback I received from them is just priceless. Let me list some of the favourites […]

Read More

1 Comment

  • Pete on May 8, 2013

    I fully agree with you Hoosen. ABAP is a fantastic tool but does need to be used correctly. Too many people BW consultants have limited knowledge of ABAP which in turn results in sloppy, slow code.

    BW consultants need to learn ABAP properly… not just copy & paste code that they have found elsewhere.

Leave a Reply

Your email address will not be published. Required fields are marked *

Search this site

Subscribe!

Enter your email address:

Polls

Will you be happy to pay for the 3rd edition of the book FREQUENTLY ASKED QUESTIONS ON SAP FINANCE?

View Results

Loading ... Loading ...