on 03-16-2022 1:33 PM
Hi All,
I tried to create procedure in Hana Studio. I could create string variable for where condition syntax. But I couldn't use it in select syntax.
Its giving the error ; "Could not execute 'ALTER PROCEDURE ZPROC_SEARCH_WERKS (in II_SALESID INTEGER, out OS_OUTPUTSTRG VARCHAR(200) ) ...'SAP DBTech JDBC: [257]: sql syntax error: incorrect syntax near ";": line 44 col 19 (at pos 1192)"
I like to have your valuable suggestion and advice for this issue.
Thanks in Advance,
Emine Baydar
Hi
Can you change the sql portion as below
lv_where = 'MATNR IN (' || VS_OUTPUTSTRG1 || ')'
SQLMARD = SELECT * FROM MARD WHERE (:LV_WHERE)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.