Scalar type not allowed : SQLSCRIPT

Sangamesh Hs picture Sangamesh Hs · Jan 8, 2014 · Viewed 7.3k times · Source

With limited knowledge of SQL, I write a procedure on HANA database and here is small part of my code.
enter image description here

WHen I run the following I get an error Error creating procedure;scalar type is not allowed: line 25 col 39 (at pos 1037) at ptime/query/checker/check_proc.cc:383. What is the scalar variable is specifying about? I am stuck please help.

Answer

Twinkles picture Twinkles · Jan 8, 2014

Just a guess, in line 32 you have

SELECT :ORGID_ARTIKEL into ...

Perhaps you mean

SELECT "ORGID_ARTIKEL" into ...