Skip to Content
3
Jul 07 at 01:40 PM

How to Create Composite Functions related to Functional Programming in ABAP?

95 Views

Hello SAP Devs,

Lately, I had serveral use cases, where I had to compose the same functions/methods in different order. In Functional Programming this kind of programming use case is solved with a higher order compose function (sometimes also called pipe or flow).

The JavaScript ecosystems has the lodash library and its functional programming package. See an example

https://hackernoon.com/function-composition-with-lodash-d30eb50153d1

Does within the ABAP ecosystem exist a functional programming library like lodash?

Thank you very much in advance, all the best

Florian

P.S. Method Chaining could be an approach to improve the API ergonomics, but that is not exactly I am looking for