It's normal to not get it right the first time

images/thumbnail.png - Thumbnail

In the ABAP world, the rule is to do it once and never touch it again. Once done, forever frozen. What nonsense.

Where? Who? What? How?

images/thumbnail.jpg - Thumbnail

You’ve been asked to create a new feature. You’re ready to build it. But hold your horses. Before you start, I suggest you find answers to a few questions. Finding a good answer to each of them is fundamental to ensuring that what you build is solid and elegant.

Reconstants

images/thumbnail.jpg - Thumbnail

In my current project constants are all over the place, with confusing or wrong names. It’s a mess. I’ve found a way to reorganize and rearrange the constants so that the new code can use pretty constants without messing up the old code, which can continue to use the confusing ones.

We finally have FINAL

images/thumbnail.jpg - Thumbnail

There’s nothing worse than seeing people abusing variables. They’re so delicate and yet so badly treated, poor things. Here’s a way to show them some love.

How do you like your blank lines?

images/thumbnail.png - Thumbnail

Everyone uses blank lines to better organize their code. But where to use them and how many? Let’s talk about that.

Eclipse converts database data into VALUEs

images/thumbnail.jpg - Thumbnail

Sometimes you need to take data from the database and replicate it declaratively in ABAP using the VALUE command. For example, to build ABAP Unit tests.

In Eclipse ADT you can open an object in another client

images/thumbnail.jpg - Thumbnail

Historically, it has always been impossible to jump from one SAP system to another without losing context. Now it’s possible.

Eclipse ADT Data browser is much better than SE16N

images/thumbnail.jpg - Thumbnail

The tools that SAP provides for viewing the contents of database tables have always been very sketchy.

eclipse-adt-extract-method

images/thumbnail.jpg - Thumbnail

When you have a very large method, you should subdivide it into several smaller ones.

In Eclipse ADT you can always undo

images/thumbnail.jpg - Thumbnail

They say: Don’t go back to where you were once happy. But the truth is that in many cases, if you could go back, you would.

Eclipse ADT has lots and lots of keyboard shortcuts

images/thumbnail.jpg - Thumbnail

I like keyboard shortcuts. If I could do my job without taking my hands off my keyboard I’d be an even happier programmer.

In Eclipse ADT you can share links to your code

images/thumbnail.jpg - Thumbnail

Until recently, ABAP has never been one for big collaborations.

Rename a lot of things automatically in Eclipse ADT

images/thumbnail.png - Thumbnail

Those who still programme monolithically probably don’t feel the need for this. But anyone who uses multiple classes with multiple methods knows that it’s normal (and even desirable) to change your mind about the name of these things. Ideas aren’t born ready-made in our heads. Ideally, code is mouldable and can be shaped until we find the desired form.

Eclipse ADT puts ABAP Doc to good use

images/thumbnail.jpg - Thumbnail

ABAP Doc is an excellent way of integrating documentation into the code.

The magical F2 in Eclipse ADT

images/thumbnail.jpg - Thumbnail

Eclipse ADT calls it Code element information.