ABAP in the 21st Century (Part 2)

  • by Karsten Bohlmann, Development Architect ABAP Language Team, SAP AG
  • May 12, 2015
Karsten Bohlmann's follow-up to part 1 of his series on ABAP focuses on those 7.40 additions to the ABAP programming language that deal with internal tables, covering table access as well as table construction, aggregation, grouping, and transformation. Most of the extensions aim at a mitigation of the strict imperative paradigm.
Learning Objectives

Reading this article, readers will learn:

  • How to access lines of internal tables with the power of the READ statement, but without its imperative traits (cumbersome syntax and state-changing semantics)
  • Where to apply table comprehensions in order to build internal tables as values, and how to combine some or all lines of a table into a single value
  • How the new GROUP BY feature can be used to solve complex aggregation problems
  • What kind of mappings can be accomplished with the extended CORRESPONDING feature
Key Concept

ABAP is a typical procedural language with object orientation as an optional refinement. More modern languages recognize the fact that many programming tasks can be conceived as pure value computations which have concise, lucid implementations as expressions.

Karsten Bohlmann

Karsten Bohlmann is currently a development architect in the ABAP language team. He has been an SAP employee since 1998 and joined kernel development in 2000, where he developed the kernel-integrated XSLT processor and the Simple Transformations language for ABAP-XML mappings. Since 2005, he has been active in the ABAP compiler and virtual machine, spending most of his time on expanding ABAP towards a more modern language.

See more by this author


No comments have been submitted on this article. 

Please log in to post a comment.

To learn more about subscription access to premium content, click here.