Skip to Content
0
Sep 04, 2023 at 05:25 AM

Local table In Hana

68 Views

Hi there. I'm very new to Sap so I'm sorry for the dumb question.

I'm working on HANA Studio in Eclipse and I'm writing a class with all it's methods and stuff in order to realize a planning sequence. Here's the thing: in order to get the data I need in the e_view, I have to make use of a virtual/local table composed by just one field (calyear). This table is going to get as first value the one coming as an input (the year I pass in the filter), the others are just input year +1,..., input year +4. My question is: after I declare the table I need, how can I populate it with data? It seems like a simple "insert" statement is not working?

I'm finding difficult to find a simple answer that explains to me what's the easiest why to get data into the table, I read I should use a procedure but I keep getting errors. Thanks in advance!