If you still don't use ABAP Objects you're chicken
SAP has a book called Official ABAP Programming Guidelines which describes rules and best practices on how to program in ABAP. In there you can read:
Page 42: Rule 3.1: Use ABAP Objects whenever possible for new and further developments. Classic processing blocks may be newly created in exceptional cases only.
Page 45: Within such a [classic] processing block, however, you should immediately delegate the execution to a suitable method (see Rule 6.37, No Implementation in Function Modules and Subroutines, and Rule 6.44, No Implementation in Dialog Modules and Event Blocks).
Hey dad, look...no hands
In today’s article I will show you (and explain!) how you can make a selection screen refresh itself on a regular basis without user intervention.
Are you ready?
Keyboard shortcut to transaction field
And there you are madly typing with SAP when suddenly you need to go to the transaction field and write /OS37 or whatever. But you are writing with so much passion that the thought of leaving the keyboard for a moment to use your mouse seems catastrophic. Instead, you just press 3 keyboard keys: CTRL-SHIFT-7.
Thank you Renato Sousa for the tip.
Greetings from Abapinho.
Create sessions with the keyboard
You need to start a new session but your mouse was stolen. No problem. Press CTRL and then the + key and you will see a new session coming in.
Thank you Renato Sousa for the tip.
And thank you freeimageslive / gratuit for the photo.
Greetings from Abapinho.
Digital narcissism
Reflection is the ability of a program to see itself. ABAP has a series of reflective capabilities, such as RTTS or the ability to dynamically generate code. There are also a few other so-and-so functions that do this and that. Today I present one of them to you:
GET_GLOBAL_SYMBOLS
Good program to find user-exits
Every now and then we’ll be looking for user-exits and BADIs, BTEs and the like. SAP doesn’t help. But programs appear here and there, almost always called Z_USEREXIT, which help with this unappreciated search. Recently I learned of another one. I share it here because it is the best I have ever seen:
https://wiki.sdn.sap.com/wiki/display/Snippets/Find+User-exits,+BADIs,+BTEs,+Etc+by+TCode+or+Program
Thanks to Bruno Esperança for the tip. And thank you rverscha for the photo.
Greetings from Abapinho.
Class for converting STRINGs
You know how you sometimes have a STRING-type variable and you need to send it to a function that needs it in SOLIX-type? It often happens to me. Well, I have found this great class that converts strings into a wide range of formats:
CL_BCS_CONVERT
Jump The Wall
Turn down the music. Close the door. Look around. Is anyone looking at you? Are you being watched? Are there any security cameras? If not, we can go on.
