on 09-12-2014 6:07 PM
Hi friends!
I'm trying a simple SQLscript calculation view on HANA but it doesn't work. I'm put in target marc_MATNR, marc_WERKS, marc_STEUC with same type of DECLARE. How can I use VAR_OUT?
BEGIN
DECLARE marc_MATNR VARCHAR(18);
DECLARE marc_WERKS VARCHAR(4);
DECLARE marc_STEUC VARCHAR(16);
DECLARE CURSOR cMARC FOR
SELECT matnr werks steuc
FROM "SAPECD"."MARC"
ORDER BY MATNR WERKS;
OPEN cMARC();
FETCH cMARC INTO marc_MATNR, marc_WERKS, marc_STEUC;
CLOSE cMARC;
VAR_OUT = marc_MATNR, marc_WERKS, marc_STEUC;
END /********* End Procedure Script ************/
Thanks for any help!
I tried something more simple like:
VAR_OUT = SELECT matnr FROM "SAPECD"."MARC";
But I'm getting this error...
No visible attribute or measure found in the calculation view
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.