on 02-28-2014 11:08 AM
Hi Guys,
Is their any way we can apply filter for more than one field. Lets take below example i want to apply filter both on PERNR & DOJ. I am able to apply filter on PERNR but when i try to create filter on more than one field (PERNR & DOJ ) it throws me some error.
Please let me know how we can achieve this.
OUT_EMP_SAL = SELECT A.PERNR, A.DOJ, A.FNAME, B.SALARY FROM "SAPH74".EMP_INFO A
INNER JOIN "SAPH74".EMP_SAL B
ON A.PERNR = B.PERNR;
OUT_EMP_SAP = APPLY_FILTER(:OUT_EMP_SAL, :IN_PERNR )
Hi Lakshmi,
I'm struggling with same problem what you had...
Did you solve your problem..? If then could you please let me know how you could revole it..?
BR,
Hyukjoo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lakshmi,
You may need to use the end while calling, i took the same example from the "Help" in hana.
CREATE PROCEDURE GET_PROCEDURE_NAME (IN filter NVARCHAR(100), OUT procedures outtype)
AS
BEGIN
temp_procedures = SELECT SCHEMA_NAME, PROCEDURE_NAME FROM SYS.PROCEDURES;
procedures = APPLY_FILTER(:temp_procedures,:filter);
END;
CALL GET_PROCEDURE_NAME(' SCHEMA_NAME = ''SYS'' AND PROCEDURE_NAME like ''TREX%''', ?);
Regards,
Krishna Tangudu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.