Dear community, jelena.perfiljeva2 recently reminded me by one of her comments how useful examples are. At least I feel that I can learn well from examples, too. In the beginning, very simple and basic examples are ideal to understand the possibilities or the underlying idea.
Since I am currently exploring ABAP Core Data Services (ABAP CDS) and the possibilities of Open SQL, I built a small example.
It's about the addition of value pairs that come from a database table. The example is intended to show the different ways in which this addition can be done. I didn't worry about the performance and I don't think one of the solutions is better or worse. For me, that would depend on the overall context. However, due to the simplicity of the example, this context doesn't exist here.
What do you think? Please comment.
This is my database table ZCALC in transaction SE12.
Special thought provoking note for ged.hurst: "What if you were developing with ABAP for the first time and someone told you that there are three different solutions for the same requirement in three different technologies?" 🙂
Best regards, thanks for reading and have a great time