HI Jörg,
Letting you being carried away by possibility alone.
You hit the nail right on the head.
Since this is sample code you do not see much comments. But whenever i try to do something fancy i back it up with good in-line documentation too Image may be NSFW.
Clik here to view. But i agree that sometimes it is not so obvious to the developer who'll be maintaining your code.
I thought it was quite cool, when I managed to squeeze whole programs into just a few lines,
I too get the same "high" when i can display an ALV using just 5 lines of coding (thanks to ABAP 740 & in-line data declarations) Image may be NSFW.
Clik here to view.
May be i should be more pragmatic in my approach & restrict to such "figments of fantasy" only to test programs and not in productive code Image may be NSFW.
Clik here to view.
BR,
Suhas