Hi,
Giving an example:
I have a database table
Table1 with fields Plant, Material, Movement Types, Quantity.
Table2 with fields Plant, Material, Starting Quanity
Now I want to create a calculation view:
Logic : Table2.Starting Stock +- Table1.Movements (This can be Plus or Minus based on Movement types) for each material and Plant combination.
Here I need loop and temporary tables. How can we achieve such iterative solutions in HANA SQL script?..Is there an option to update data in internal tables / table types
Thank you
Happy Tony