Skip to Content
0
Jun 30, 2020 at 02:53 PM

Min Coin Change

264 Views

Hi Experts,

I am trying to solve the min coin change problem in SAP ABAP https://www.geeksforgeeks.org/find-minimum-number-of-coins-that-make-a-change/ . I would have to create a matrix table dynamically. I have searched the SCN and found few posts, But everything is about creating a field catalog. Creating a matrix using "For" constructor creates a deep structure.

https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-us/abencond_iteration_matrix_abexa.htm

https://blogs.sap.com/2013/06/11/dynamic-internal-table-iilustrated-with-an-example-of-creating-the-transpose-of-internal-table/

Is there a simple way to create a dynamic matrix table in ABAP?