Trailing Blanks in Character String Processing
To be honest, I feel a little bit uncomfortable writing this blog, because I think that all about this subject is said since long. But a recent discussion shows, that even experienced ABAPers can...
View ArticleOn programming style: the use of constructor expressions - VALUE
With ABAP 740, a new feature was introduced called "Constructor expressions". First I was sceptical about their usefulness, and it seemed to me that they make the coding more complicated and more...
View ArticleMVC (model view controller) framework for ABAP part 2
Reports with class In MVC (model view controller) framework for ABAP part 1 you can find the "starter kit" for a framework you can use to create applications that are using dynpros and CFW controls...
View ArticleFrom Open SQL Joins to CDS Associations
In this short blog I will use the most primitive example to show you the way from joins in ABAP Open SQL to associations in ABAP CDS. The aim of the blog is not to show you something you should do but...
View ArticleUsing exception classes with application log - an approach
I would like to share my approach of using exception classes and transport t100 messages inside of them. For one single message, there is nothing to talk about, you simply include the t100 interface...
View ArticleThe Art of the Possible
Art of the Possible – Sydney, Australia, August 10th One day event: Practical Examples of HANA Use in Australia Introduction I have not written a blog on SCN for over six months, as I have been busy...
View ArticleThe case of multiple ALV horizontal scrolling
Not every day.... but from time to time there is a question about synchronize scrolling in ALV . This article will demonstrate my attempt for horizontal scrolling . Program Y_R_EITAN_TEST_08_02 use...
View ArticlePerformance Trap in String Concatenations
It is a common programming pattern to fill a character string in iterative steps, either using the concatenation operator && or character string templates |...|: DO|WHILE|LOOP|SELECT ... str...
View ArticleHow To Use VBA Recorded Code in ABAP
Hello community, with a tiny trick is it easy possible to use recoreded Microsoft Office VBA (Visual Basic for Applications) code in ABAP. To do that I use only the Microsoft Script Control, with a...
View ArticleMVC (model view controller) framework for ABAP: Part 3
See also: MVC (model view controller) framework for ABAP part 1MVC (model view controller) framework for ABAP part 2 Controlling multiple screens Welcome back to my MVC series. To follow this blog, it...
View ArticleCustom program to Call Standard IDOC without MASTER_IDOC_DISTRIBUTE
Dear All, There might be a requirement where you need to call standard IDoc's via custom program .This can be achieved by MASTER_IDOC_DISTRIBUTE function module but this function module has some...
View ArticleI Don't Like REDUCE, I Love It
Recently I stumbled over the examples in the documentation of built-in functions ROUND and RESCALE. There are tables with results of these functions for different values of the arguments, but there was...
View ArticleCustom program to Call Standard IDOC without MASTER_IDOC_DISTRIBUTE
Dear All, There might be a requirement where you need to call standard IDoc's via custom program .This can be achieved by MASTER_IDOC_DISTRIBUTE function module but this function module has some...
View ArticleAbap data parser - open source TAB-delimited text parser
Hi Community ! I'd like to share a piece of code which might be useful for someone. It is called abap data parser. Its purpose is parsing of TAB-delimited text into an arbitrary flat structure or...
View ArticleAbout Time Stamps
A timestamp is a sequence of characters or encoded information identifying when a certain event occurred, usually giving date and time of day, sometimes accurate to a small fraction of a second....
View ArticleA small tip to find message id and number by repository information system
Normally if we see a message in SAPGUI and we can just double click the message icon to get its technical detail like message id and number displayed.However in some case the icon is not available for...
View ArticleDo not Test with WRITE
In a recent discussion I've seen someone was testing whether a loop was executed by placing a WRITE statement inside. Maybe it was a beginner's error but maybe others tend to do that too. Since the...
View ArticleHow to fetch *nicely* 2 values from ITAB-Row?
I started this already via Twitterhow to fetch or map two values from an internal table if you are not interested in the whole line Input: lt_vbpa (just an internal table with some more columns )...
View ArticleHow to identify Non-unicode characters in a Text file
Hello Folks,Usually we encounter a scenario where a program goes for a dump due to conversion errors while using Open/Read Dataset to read .txt files lying on the Application server.For ex below is the...
View ArticleA tale of two SAP incidents
Summer is a strange time for SAP teams: lots of people go on holiday, projects are left to tick over, burning issues are put on hold. A time for those who remain to take it easy a while, take a look at...
View Article