Yes HANA procedures must be non-recursive. Recursion breaks the way HANA processes parallelism.
You need to write your procedure as a set function. Without knowing the details it's hard to provide more advice. Do avoid loops if at all possible. They kill performance.