Hello experts,
I am new to SAP ABAP. Could you please help me with the below issue.
I have an internal table with non-unique values as shown below.

I need to calculate the minimum price and percentage change for each material and populate the next 2 columns, which should look as below.

I tried implementing this with a select query, but it did not work. Is there any other way to modify an internal table to accommodate the changes.
Thanks in advance.
Thank you,
Abhishek